We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1de1f7b + 78eadbe commit d08114dCopy full SHA for d08114d
1 file changed
README.rst
@@ -65,7 +65,7 @@ A Simple Example
65
app = Quart(__name__)
66
67
db = QuartSQLAlchemy(
68
- config=SQLAlchemyConfig
+ config=SQLAlchemyConfig(
69
binds=dict(
70
default=dict(
71
engine=dict(
@@ -79,14 +79,14 @@ A Simple Example
79
)
80
81
),
82
- app,
+ app=app,
83
84
85
class User(db.Model)
86
__tablename__ = "user"
87
88
id: Mapped[int] = mapped_column(sa.Identity(), primary_key=True, autoincrement=True)
89
- name: Mapped[str] = mapped_column(default="default")
+ username: Mapped[str] = mapped_column(default="default")
90
91
db.create_all()
92
0 commit comments