πŸ“Š Django
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

πŸ‘οΈ
62
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate