mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +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)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user