dblite
1.3.0
Simple query interface for SQL databases
__init__.py
Go to the documentation of this file.
1
"""
2
Engine modules are expected to have:
3
```
4
def autodetect(opts):
5
'''
6
Returns true if input is recognizable as connection options for this engine.
7
@param opts connection options, as string or dict
8
'''
9
10
def register_adapter(transformer, typeclasses):
11
'''Registers function to auto-adapt given Python types for engine in query parameters.'''
12
13
def register_converter(transformer, typenames):
14
'''Registers function to auto-convert given database types to Python in query results.'''
15
16
class Database(dblite.Database)
17
18
class Transaction(dblite.Transaction)
19
```
20
------------------------------------------------------------------------------
21
This file is part of dblite - simple query interface for SQL databases.
22
Released under the MIT License.
23
24
@author Erki Suurjaak
25
@created 18.11.2022
26
@modified 18.11.2022
27
------------------------------------------------------------------------------
28
"""
dblite
engines
__init__.py
Generated on Mon Mar 27 2023 18:25:54 for dblite by
1.8.17