mirror of
https://github.com/kennethreitz/records.git
synced 2026-06-05 06:46:17 +00:00
Update README.rst
This commit is contained in:
+1
-1
@@ -10,8 +10,8 @@ with your results.
|
||||
.. code:: python
|
||||
|
||||
import relational
|
||||
|
||||
db = relational.Database('postgres://...')
|
||||
|
||||
rows = db.query('select * from active_users') # or db.query_file('sqls/active-users.sql')
|
||||
|
||||
You can grab rows one at a time:
|
||||
|
||||
Reference in New Issue
Block a user