summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
Commit message (Collapse)AuthorAgeFilesLines
* happy new yearMike Bayer2012-01-041-1/+1
|
* - Cls.column.collate("some collation") nowMike Bayer2011-10-231-6/+6
| | | | works. [ticket:1776] Also in 0.6.9
* - Fixed subtle bug that caused SQL to blowMike Bayer2011-06-271-0/+4
| | | | | | | up if: column_property() against subquery + joinedload + LIMIT + order by the column property() occurred. [ticket:2188]. Also in 0.6.9
* - move Operators and ColumnOperators into sqlalchemy.sql.operators - since thisMike Bayer2011-05-281-0/+424
| | | | | is strictly a system of routing Python operators into functions. Keep the references available in expression.py for the near future.
* - whitespace removal bonanzaMike Bayer2011-01-021-2/+2
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-0/+6
| | | | | a consistent tag - AUTHORS file
* Added NULLS FIRST and NULLS LAST support.Michael Trier2010-12-191-0/+6
| | | | | It's implemented as an extension to the asc() and desc() operators, called nullsfirst() and nullslast(). [ticket:723]
* - merge default tipMike Bayer2010-12-051-2/+9
|\
| * - Fixed operator precedence rules for multipleMike Bayer2010-11-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | chains of a single non-associative operator. I.e. "x - (y - z)" will compile as "x - (y - z)" and not "x - y - z". Also works with labels, i.e. "x - (y - z).label('foo')" [ticket:1984] - Single element tuple expressions inside an IN clause parenthesize correctly, also from [ticket:1984], added tests for PG - re-fix again importlater, [ticket:1983]
* | - adapt initial patch from [ticket:1917] to current tipMike Bayer2010-11-161-1/+1
|/ | | | - raise TypeError for immutability
* - Added math negation operator support, -x.Mike Bayer2010-02-051-1/+2
|
* merge 0.6 series to trunk.Mike Bayer2009-08-061-1/+9
|
* - _CalculatedClause is goneMike Bayer2009-01-281-1/+1
| | | | | | | | - Function rolls the various standalone execution functionality of CC into itself, accesses its internal state more directly - collate just uses _BinaryExpression, don't know why it didn't do this already - added new _Case construct, compiles directly - the world is a happier place
* - Moved to 2.4+ import syntax (w/ some experimental merge-friendly formatting)Jason Kirtland2008-07-151-33/+36
|
* - Removed 2.3 set emulations/enhancements.Jason Kirtland2008-07-151-2/+2
| | | | (sets.Set-based collections & DB-API returns still work.)
* Added new basic match() operator that performs a full-text search. Supported ↵Michael Trier2008-07-131-0/+4
| | | | on PostgreSQL, SQLite, MySQL, MS-SQL, and Oracle backends.
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-1/+1
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - Support for COLLATE: collate(expr, col) and expr.collate(col)Jason Kirtland2008-04-161-0/+4
|
* added escape kw arg to contains(), startswith(), endswith(), [ticket:791]Mike Bayer2008-03-191-6/+6
|
* - like() and ilike() take an optional keyword argumentMike Bayer2008-03-191-6/+6
| | | | | | "escape=<somestring>", which is set as the escape character using the syntax "x LIKE y ESCAPE '<somestring>'" [ticket:993]
* - Converted MAGICCOOKIE=object() to a little symbol implementation to ease ↵Jason Kirtland2008-02-221-5/+4
| | | | object inspection and debugging
* a little pre-lunch decrufting and cleanupMike Bayer2007-12-181-0/+46
|
* - added op() operator to instrumented attributes; i.e.Mike Bayer2007-11-181-0/+3
| | | | User.name.op('ilike')('%somename%') [ticket:767]
* - Added contains operator (which generate a "LIKE %<other>%" clause).Gaëtan de Menten2007-10-191-0/+3
| | | | - Added test coverage for endswith operator
* Assorted unused imports from pyflakes, docstring tweaks, formatting.Jason Kirtland2007-10-131-3/+6
|
* Fixed signature for orm's BETWEEN operator.Jason Kirtland2007-08-271-2/+2
|
* 1. Module layout. sql.py and related move into a package called "sql".Mike Bayer2007-08-181-0/+61
2. compiler names changed to be less verbose, unused classes removed. 3. Methods on Dialect which return compilers, schema generators, identifier preparers have changed to direct class references, typically on the Dialect class itself or optionally as attributes on an individual Dialect instance if conditional behavior is needed. This takes away the need for Dialect subclasses to know how to instantiate these objects, and also reduces method overhead by one call for each one. 4. as a result of 3., some internal signatures have changed for things like compiler() (now statement_compiler()), preparer(), etc., mostly in that the dialect needs to be passed explicitly as the first argument (since they are just class references now). The compiler() method on Engine and Connection is now also named statement_compiler(), but as before does not take the dialect as an argument. 5. changed _process_row function on RowProxy to be a class reference, cuts out 50K method calls from insertspeed.py