~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to doc/build/core/tutorial.rst

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2014-06-27 20:17:13 UTC
  • mfrom: (1.4.28)
  • Revision ID: package-import@ubuntu.com-20140627201713-g6p1kq8q1qenztrv
Tags: 0.9.6-1
* New upstream release
* Remove Python 3.X build tag files, thanks to Matthias Urlichs for the
  patch (closes: #747852)
* python-fdb isn't in the Debian archive yet so default dialect for firebird://
  URLs is changed to obsolete kinterbasdb, thanks to Russell Stuart for the
  patch (closes: #752145)

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
:class:`~sqlalchemy.schema.Table` construct, which resembles regular SQL
120
120
CREATE TABLE statements. We'll make two tables, one of which represents
121
121
"users" in an application, and another which represents zero or more "email
122
 
addreses" for each row in the "users" table:
 
122
addresses" for each row in the "users" table:
123
123
 
124
124
.. sourcecode:: pycon+sql
125
125
 
1510
1510
    (4,)
1511
1511
    {stop}[(u'wendy', 2)]
1512
1512
 
1513
 
A common system of dealing with duplicates in composed SELECT statments
 
1513
A common system of dealing with duplicates in composed SELECT statements
1514
1514
is the DISTINCT modifier.  A simple DISTINCT clause can be added using the
1515
1515
:meth:`.Select.distinct` method:
1516
1516