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

« back to all changes in this revision

Viewing changes to lib/sqlalchemy/sql/util.py

  • 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:
94
94
 
95
95
    def visit(element):
96
96
        if isinstance(element, ScalarSelect):
97
 
            # we dont want to dig into correlated subqueries,
 
97
            # we don't want to dig into correlated subqueries,
98
98
            # those are just column elements by themselves
99
99
            yield element
100
100
        elif element.__visit_name__ == 'binary' and \
321
321
 
322
322
    This function is primarily used to determine the most minimal "primary key"
323
323
    from a selectable, by reducing the set of primary key columns present
324
 
    in the the selectable to just those that are not repeated.
 
324
    in the selectable to just those that are not repeated.
325
325
 
326
326
    """
327
327
    ignore_nonexistent_tables = kw.pop('ignore_nonexistent_tables', False)