Use Flask operation of the database.