From 8ea5d77d1d34b6a1cddcc9873f07d288e4c19351 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 13 Feb 2016 02:04:56 -0500 Subject: [PATCH] Update README.rst --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index db59ce1..450ab01 100644 --- a/README.rst +++ b/README.rst @@ -34,6 +34,8 @@ Or iterate over them: for r in rows: spam_user(name=r.name, email=r.user_email) +Values can be accessed many ways: ``row.user_email``, ``row['user_email']``, or ``row[3]``. Fields with non-alphanumeric charecters (like spaces) are also fully supported. + Or store them all for later reference: .. code:: python @@ -41,6 +43,8 @@ Or store them all for later reference: >>> rows.all() [, , , ...] +If you'd prefer to have a copy of your record collection, use ``rows.as_dict()`` or ``rows.as_dict(ordered=True)``. + ☤ Features ----------