Update README.rst

This commit is contained in:
2016-02-13 02:04:56 -05:00
parent 2fdd0c6027
commit 8ea5d77d1d
+4
View File
@@ -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()
[<Record {"username": ...}>, <Record {"username": ...}>, <Record {"username": ...}>, ...]
If you'd prefer to have a copy of your record collection, use ``rows.as_dict()`` or ``rows.as_dict(ordered=True)``.
☤ Features
----------