Chapter Quiz: Database Integration (SQLAlchemy)

Mastery Assessment: Database & SQLAlchemy

Complete this assessment with 100% score to master this chapter.

01In Flask-SQLAlchemy, what happens if you call `db.session.add(user)` but forget to call `db.session.commit()`?

02Which relationship loading strategy is generally best for preventing the N+1 problem when loading a list of parent objects and their children?

03What is the role of the 'Identity Map' in an SQLAlchemy Session?