dblite
1.3.0
Simple query interface for SQL databases
|
Go to the source code of this file.
Classes | |
class | dblite.engines.sqlite.Database |
Convenience wrapper around sqlite3.Connection. More... | |
class | dblite.engines.sqlite.Queryable |
class | dblite.engines.sqlite.Transaction |
Transaction context manager, breakable by raising Rollback. More... | |
Namespaces | |
dblite.engines.sqlite | |
Functions | |
def | dblite.engines.sqlite.autodetect (opts) |
Returns true if input is recognizable as SQLite connection options. More... | |
def | dblite.engines.sqlite.quote (value, force=False) |
Returns identifier in quotes and proper-escaped for queries, if value needs quoting (has non-alphanumerics, starts with number, or is reserved). More... | |
def | dblite.engines.sqlite.register_adapter (transformer, typeclasses) |
Registers function to auto-adapt given Python types to SQLite types in query parameters. More... | |
def | dblite.engines.sqlite.register_converter (transformer, typenames) |
Registers function to auto-convert given SQLite types to Python types in query results. More... | |
def | dblite.engines.sqlite.register_row_factory (row_factory) |
Registers custom row factory, as or `None` to reset to default. More... | |
Variables | |
list | dblite.engines.sqlite.RESERVED_KEYWORDS |
SQLite reserved keywords, needing quotes in SQL queries. More... | |