mirror of
https://github.com/sprockets/sprockets-postgres.git
synced 2024-11-14 11:19:27 +00:00
9 lines
392 B
ReStructuredText
9 lines
392 B
ReStructuredText
Query Result
|
|
============
|
|
A :class:`~sprockets_postgres.QueryResult` instance is created for every query
|
|
and contains the count of rows effected by the query and either the ``row`` as
|
|
a :class:`dict` or ``rows`` as a list of :class:`dict`. For queries that do
|
|
not return any data, both ``row`` and ``rows`` will be :const:`None`.
|
|
|
|
.. autoclass:: sprockets_postgres.QueryResult
|
|
:members:
|