Quiz: Database
Evaluate your understanding of database configuration setups, declarative model properties, and relational constraints inside modern Flask applications.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which configuration string component explicitly instructs the underlying SQLAlchemy framework to execute transactions inside a local SQLite file named paws.db located relative to our script?
A.
app.config["DATABASE_PATH"] = "paws.db"
B.
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///paws.db"
C.
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite://paws.db"
D.
app.config["SQL_DRIVER_URI"] = "sqlite/paws.db"
1 / 10
...