sprockets-postgres/docs/query_result.rst

10 lines
392 B
ReStructuredText
Raw Permalink Normal View History

2020-04-08 22:22:24 +00:00
Query Result
============
2020-04-08 22:15:50 +00:00
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: