Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sqlalchemy validation at db level

class Article(Base):
    ...
    name = Column(Text, CheckConstraint('name!=""')
    ...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sqlalchemy #validation #db #level
ADD COMMENT
Topic
Name
2+6 =