From ef9938623b4e36197e58f3717a83cdbb9b47cf86 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Sat, 13 Feb 2016 04:57:02 -0500 Subject: [PATCH] Note .one in the README --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 3087192..f6a6a43 100644 --- a/README.rst +++ b/README.rst @@ -49,6 +49,13 @@ Or store a copy of your record collection for later reference: >>> rows.all() [, , , ...] +If you're only expecting one result: + +.. code:: python + + >>> rows.one() + + Other options include ``rows.as_dict()`` and ``rows.as_dict(ordered=True)``. ☤ Features