I’m new to sqlalchemy, and I’m trying to achieve simple validation of model’s fields, as provided by Django ORM (min & max for Integer, email, …).
Can SQLAlchemy do this sort of field validations out of the box ?
By the way, I’m using SQLAlchemy with Flask.
I’m new to sqlalchemy, and I’m trying to achieve simple validation of model’s fields,
Share
See Simple Validators in the documentation. Sample code extract below: