bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8066)
(cherry picked from commit 831c29721d
)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
This commit is contained in:
parent
53fafafa34
commit
292ce153fc
|
@ -206,8 +206,8 @@ Module functions and constants
|
||||||
Registers a callable to convert a bytestring from the database into a custom
|
Registers a callable to convert a bytestring from the database into a custom
|
||||||
Python type. The callable will be invoked for all database values that are of
|
Python type. The callable will be invoked for all database values that are of
|
||||||
the type *typename*. Confer the parameter *detect_types* of the :func:`connect`
|
the type *typename*. Confer the parameter *detect_types* of the :func:`connect`
|
||||||
function for how the type detection works. Note that the case of *typename* and
|
function for how the type detection works. Note that *typename* and the name of
|
||||||
the name of the type in your query must match!
|
the type in your query are matched in case-insensitive manner.
|
||||||
|
|
||||||
|
|
||||||
.. function:: register_adapter(type, callable)
|
.. function:: register_adapter(type, callable)
|
||||||
|
|
Loading…
Reference in New Issue