Q. Which Django command shows SQL statements for migrations?

  • (A) sqlmigrate
  • (B) showmigrations
  • (C) viewsql
  • (D) printschema
πŸ’¬ Discuss
βœ… Correct Answer: (A) sqlmigrate
Explanation: `sqlmigrate` displays the SQL statements that would be run for a migration.
Explanation by: Mr. Dubey
`sqlmigrate` displays the SQL statements that would be run for a migration.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
93
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate