API Documentation This document specifies Peewee’s APIs. Database class Database(database[, thread_safe=True[, field_types=None[, operations=None[, autoconnect=True[, **kwargs]]]]]) Parameters database (str) – Database name or filename for SQLite (or None to defer initialization, in which case you must call Database.init(), specifying the database name). thread_safe (bool) – Whether to store co