.. rubric:: Checking and configuring the connection state
- .. autoattribute:: pgconn
+ .. attribute:: pgconn
+ :type: psycopg.pq.PGconn
The `~pq.PGconn` libpq connection wrapper underlying the `!Connection`.
.. automethod:: fetchall
.. automethod:: nextset
.. automethod:: scroll
+
.. attribute:: pgresult
:type: Optional[psycopg.pq.PGresult]
The result returned by the last query and currently exposed by the
cursor, if available, else `!None`.
+ It can be used to obtain low level info about the last query result
+ and to access to features not currently wrapped by Psycopg.
+
.. rubric:: Information about the data
.. autoattribute:: rowcount
.. autoattribute:: rownumber
- .. attribute:: pgresult
-
- The `~pq.PGresult` object obtained by the last query.
-
- It can be used to obtain low level info about the last query result
- and to access to features not currently wrapped by Psycopg.
-
.. attribute:: _query
An helper object used to convert queries and parameters before sending