mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-13 12:25:48 +03:00
Info about versions history moved from code to docs
This commit is contained in:
parent
fa9393b587
commit
26cfdc1234
|
@ -229,6 +229,12 @@ requires no adapter registration.
|
||||||
|
|
||||||
.. autofunction:: register_composite
|
.. autofunction:: register_composite
|
||||||
|
|
||||||
|
.. versionchanged:: 2.4.3
|
||||||
|
added support for array of composite types
|
||||||
|
.. versionchanged:: 2.4.6
|
||||||
|
added the *factory* parameter
|
||||||
|
|
||||||
|
|
||||||
.. autoclass:: CompositeCaster
|
.. autoclass:: CompositeCaster
|
||||||
|
|
||||||
.. automethod:: make
|
.. automethod:: make
|
||||||
|
|
|
@ -942,12 +942,6 @@ def register_composite(name, conn_or_curs, globally=False, factory=None):
|
||||||
it to :ref:`customize how to cast composite types <custom-composite>`
|
it to :ref:`customize how to cast composite types <custom-composite>`
|
||||||
:return: the registered `CompositeCaster` or *factory* instance
|
:return: the registered `CompositeCaster` or *factory* instance
|
||||||
responsible for the conversion
|
responsible for the conversion
|
||||||
|
|
||||||
.. versionchanged:: 2.4.3
|
|
||||||
added support for array of composite types
|
|
||||||
.. versionchanged:: 2.4.6
|
|
||||||
added the *factory* parameter
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if factory is None:
|
if factory is None:
|
||||||
factory = CompositeCaster
|
factory = CompositeCaster
|
||||||
|
|
Loading…
Reference in New Issue
Block a user