diff options
| author | Michael Trier <mtrier@gmail.com> | 2008-12-12 21:59:33 +0000 |
|---|---|---|
| committer | Michael Trier <mtrier@gmail.com> | 2008-12-12 21:59:33 +0000 |
| commit | c712af4d4ccea6f5dc7976d33637fe3e1a7df99f (patch) | |
| tree | 501035562527a127cefdff5a514c7e8ec068b347 /doc | |
| parent | f9b8641269b17a5f29ed58df46286f881d82035f (diff) | |
| download | sqlalchemy-c712af4d4ccea6f5dc7976d33637fe3e1a7df99f.tar.gz | |
Corrected output on docs and a missing {stop} that prevented python results from displaying in the docs.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/sqlexpression.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/sqlexpression.rst b/doc/build/sqlexpression.rst index fea1cce00..70aaf6dce 100644 --- a/doc/build/sqlexpression.rst +++ b/doc/build/sqlexpression.rst @@ -250,7 +250,7 @@ Above, we see that printing each row produces a simple tuple-like result. We ha FROM users [] - >>> row = result.fetchone() + {stop}>>> row = result.fetchone() >>> print "name:", row['name'], "; fullname:", row['fullname'] name: jack ; fullname: Jack Jones @@ -260,7 +260,7 @@ Integer indexes work as well: >>> row = result.fetchone() >>> print "name:", row[1], "; fullname:", row[2] - name: wendy ; fullname: Wendy Williams + name: jack ; fullname: Jack Jones But another way, whose usefulness will become apparent later on, is to use the ``Column`` objects directly as keys: |
