We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e73fec commit 84c99bfCopy full SHA for 84c99bf
docs/faq.rst
@@ -34,6 +34,12 @@ class that implements dot-notation via the ``record_class`` argument to
34
:func:`connect() <asyncpg.connection.connect>` or any of the Record-returning
35
methods.
36
37
+.. code-block:: python
38
+
39
+ class MyRecord(asyncpg.Record):
40
+ def __getattr__(self, name):
41
+ return self[name]
42
43
44
Why can't I use a :ref:`cursor <asyncpg-api-cursor>` outside of a transaction?
45
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments