]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
use double quotes for table name
authorDoctor <thirvondukr@gmail.com>
Thu, 28 Apr 2022 05:07:21 +0000 (08:07 +0300)
committerDoctor <thirvondukr@gmail.com>
Thu, 28 Apr 2022 05:07:21 +0000 (08:07 +0300)
doc/build/orm/cascades.rst

index 576c856d533e6acc4d43b8aa3d578517de466970..8d8e1f7763052aa565c4b9f0926bd44ff683796e 100644 (file)
@@ -22,7 +22,7 @@ Cascade behavior is configured using the
 :func:`~sqlalchemy.orm.relationship`::
 
     class Order(Base):
-        __tablename__ = 'order'
+        __tablename__ = "order"
 
         items = relationship("Item", cascade="all, delete-orphan")
         customer = relationship("User", cascade="save-update")