Check if a Row Exists
Check if a row exists in a database table.
db.exists()
db.exists()Usage
db.exists(...)Parameters:
Example
...
my_row = MyModel.db.get_by(email='[email protected]').first()
if db.exists(my_row)
respond(my_row.s())
status('Not found.', 404)Last updated