Reputation: 3526
I am writing a flask application for the first time from scratch. I have written several applications using django.
I am following tutorial where few options are specified on model fields. e.g.
email = db.Column(db.String(128), nullable=False,
unique=True)
date_created = db.Column(db.DateTime, default=db.func.current_timestamp())
date_modified = db.Column(db.DateTime, default=db.func.current_timestamp(),
onupdate=db.func.current_timestamp())
I want to find a list of all available options and their default behavior, like django does
Upvotes: 1
Views: 625