mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-04-28 20:23:42 +03:00
Added note about the adapted attribute in the module-level wrappers
Specifying it otherwise people expects the wrappers to have full datetime semantics: see ticket #136.
This commit is contained in:
parent
e109024d39
commit
10476200fd
|
@ -294,6 +294,12 @@ The module exports the following constructors and singletons:
|
||||||
This function constructs an object capable of holding a binary (long)
|
This function constructs an object capable of holding a binary (long)
|
||||||
string value.
|
string value.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
All the adapters returned by the module level factories (`!Binary`,
|
||||||
|
`!Date`, `!Time`, `!Timestamp` and the `!*FromTicks` variants) expose the
|
||||||
|
wrapped object (a regular Python object such as `!datetime`) in an
|
||||||
|
`!adapted` attribute.
|
||||||
|
|
||||||
.. data:: STRING
|
.. data:: STRING
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user