summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* - version 0.9Mike Bayer2013-05-291-1/+1
| | | | - changelog, migration doc
* bumpMike Bayer2013-04-291-1/+1
|
* 0.8.1 bump + test, changelog for hstore fix [ticket:2680]Mike Bayer2013-03-181-1/+1
|
* version bumpMike Bayer2013-02-011-1/+1
|
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* Fixed bug whereby the ".key" of a Column wasn't beingMike Bayer2012-10-311-1/+1
| | | | | | | used when producing a "proxy" of the column against a selectable. This probably didn't occur in 0.7 since 0.7 doesn't respect the ".key" in a wider range of scenarios. [ticket:2597]
* absolute imports in core, sqlMike Bayer2012-06-231-6/+6
|
* - [bug] Added BIGINT, BINARY, VARBINARY toMike Bayer2012-06-131-0/+3
| | | | | | | types.__all__, sqlalchemy namespaces, plus tests to make sure new types remain importable. [ticket:2499]
* - remove sqlsoup [ticket:2262]Mike Bayer2012-04-241-2/+0
| | | | - remove sqlalchemy.exceptions [ticket:2433]
* merge patch for [ticket:2208]. This still needs documentation.Mike Bayer2012-04-231-3/+5
|\
| * begin implementing inspection system for #2208Mike Bayer2012-04-031-3/+5
| |
* | 0.8 initial prepMike Bayer2012-04-221-1/+1
|/
* - 0.7.7Mike Bayer2012-03-201-1/+1
| | | | | | | | - [feature] Added prefix_with() method to Query, calls upon select().prefix_with() to allow placement of MySQL SELECT directives in statements. Courtesy Diana Clarke [ticket:2443]
* this is 0.7.6..Mike Bayer2012-02-291-1/+1
|
* date change; hook testMike Bayer2012-01-041-2/+2
|
* 0.7.5 versMike Bayer2011-12-111-1/+1
|
* - Fixed bug in history_meta.py example whereMike Bayer2011-10-171-1/+1
| | | | | | the "unique" flag was not removed from a single-table-inheritance subclass which generates columns to put up onto the base.
* - Adjusted the "importlater" mechanism, which isMike Bayer2011-09-211-0/+3
| | | | | | | | | used internally to resolve import cycles, such that the usage of __import__ is completed when the import of sqlalchemy or sqlalchemy.orm is done, thereby avoiding any usage of __import__ after the application starts new threads, fixes [ticket:2279]. Also in 0.6.9.
* - Added after_soft_rollback() Session event. ThisMike Bayer2011-08-011-1/+1
| | | | | | | | | | | | event fires unconditionally whenever rollback() is called, regardless of if an actual DBAPI level rollback occurred. This event is specifically designed to allow operations with the Session to proceed after a rollback when the Session.is_active is True. [ticket:2241] - SessionTransaction is mentioned in public docs, many more docstrings for events etc. otherwise
* - Adjusted the pyodbc dialect such that boundMike Bayer2011-06-061-1/+1
| | | | | | | | | values are passed as bytes and not unicode if the "Easysoft" unix drivers are detected. This is the same behavior as occurs with FreeTDS. Easysoft appears to segfault if Python unicodes are passed under certain circumstances.
* - move Operators and ColumnOperators into sqlalchemy.sql.operators - since thisMike Bayer2011-05-281-1/+1
| | | | | is strictly a system of routing Python operators into functions. Keep the references available in expression.py for the near future.
* move version to 0.7.0Mike Bayer2011-05-201-1/+1
|
* - Fixed regression introduced in 0.7b4 (!) wherebyMike Bayer2011-04-171-1/+1
| | | | | | | | | | | | | | | query.options(someoption("nonexistent name")) would fail to raise an error. Also added additional error catching for cases where the option would try to build off a column-based element, further fixed up some of the error messages tailored in [ticket:2069] - added another huge crapload of tests to the existing crapload of tests we already had for options..._get_paths() and dependencies are covered 100% now - one case still doesn't do the "right" thing, using an option specific to relationships will silently pass if the endpoint is a column-based attribute, and vice versa.
* - REAL has been added to the core types. SupportedMike Bayer2011-04-051-0/+1
| | | | | | | by Postgresql, SQL Server, MySQL, SQLite. Note that the SQL Server and MySQL versions, which add extra arguments, are also still available from those dialects. [ticket:2081]
* - Restored the "catchall" constructor on the baseMike Bayer2011-03-211-1/+1
| | | | | | TypeEngine class, with a deprecation warning. This so that code which does something like Integer(11) still succeeds.
* - Added a fully descriptive error message for theMike Bayer2011-02-281-1/+1
| | | | | | | case where Column is subclassed and _make_proxy() fails to make a copy due to TypeError on the constructor. The method _constructor should be implemented in this case.
* 0.7b2rel_0_7b2Mike Bayer2011-02-191-1/+1
|
* - remove some remaining sys.modules shenanigansrel_0_7b1Mike Bayer2011-02-121-1/+0
| | | | | | | | | - The "sqlalchemy.exceptions" alias in sys.modules has been removed. Base SQLA exceptions are available via "from sqlalchemy import exc". The "exceptions" alias for "exc" remains in "sqlalchemy" for now, it's just not patched into sys.modules.
* - Added over() function, method to FunctionElementMike Bayer2011-02-101-0/+1
| | | | | | | | classes, produces the _Over() construct which in turn generates "window functions", i.e. "<window function> OVER (PARTITION BY <partition by>, ORDER BY <order by>)". [ticket:1844]
* - A TypeDecorator of Integer can be used with a primary keyMike Bayer2011-01-111-0/+1
| | | | | | | | | | | | | | | | | | | column, and the "autoincrement" feature of various dialects as well as the "sqlite_autoincrement" flag will honor the underlying database type as being Integer-based. [ticket:2005] - Result-row processors are applied to pre-executed SQL defaults, as well as cursor.lastrowid, when determining the contents of result.inserted_primary_key. [ticket:2006] - Bind parameters present in the "columns clause" of a select are now auto-labeled like other "anonymous" clauses, which among other things allows their "type" to be meaningful when the row is fetched, as in result row processors. - TypeDecorator is present in the "sqlalchemy" import space.
* - whitespace removal bonanzaMike Bayer2011-01-021-1/+1
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-2/+2
| | | | | a consistent tag - AUTHORS file
* - assuming I read pep-386 correctly, the first 0.7 release will be 0.7b1Mike Bayer2010-11-281-1/+1
|
* - Fixed bug whereby a non-"mutable" attribute modified eventMike Bayer2010-10-261-1/+1
| | | | | | | | | which occurred on an object that was clean except for preceding mutable attribute changes would fail to strongly reference itself in the identity map. This would cause the object to be garbage collected, losing track of any changes that weren't previously saved in the "mutable changes" dictionary.
* - Added type_coerce(expr, type_) expression element.Mike Bayer2010-10-231-0/+1
| | | | | | Treats the given expression as the given type when evaluating expressions and processing result rows, but does not affect the generation of SQL, other than an anonymous label.
* - collection docsMike Bayer2010-09-091-1/+1
| | | | | | | | - Added an assertion during flush which ensures that no NULL-holding identity keys were generated on "newly persistent" objects. This can occur when user defined code inadvertently triggers flushes on not-fully-loaded objects.
* - Changed the scheme used to generate truncatedMike Bayer2010-07-211-1/+1
| | | | | | | | | | | | "auto" index names when using the "index=True" flag on Column. The truncation only takes place with the auto-generated name, not one that is user-defined (an error would be raised instead), and the truncation scheme itself is now based on a fragment of an md5 hash of the identifier name, so that multiple indexes on columns with similar names still have unique names. [ticket:1855]
* 0.6.3Mike Bayer2010-07-071-1/+1
|
* - added documentation for Inspector [ticket:1820]Mike Bayer2010-06-131-1/+1
| | | | | - fixed "toplevel" regexp to include tokens of the form foo-bar-toplevel (i.e. multiple dashes) - some CSS adjustment so that all API headings are in gray.
* 0.6.1rel_0_6_1Mike Bayer2010-05-311-1/+1
|
* 0.6.0 prepMike Bayer2010-04-141-1/+1
|
* - starting to groom the branch for its inclusionMike Bayer2010-04-101-1/+1
| | | | | | | | | | | | | | - one-to-many relationships now maintain a list of positive parent-child associations within the flush, preventing previous parents marked as deleted from cascading a delete or NULL foreign key set on those child objects, despite the end-user not removing the child from the old association. [ticket:1764] - re-established Preprocess as unique on their arguments, as they were definitely duped in inheritance scenarios - added a "memo" feature to UOWTransaction which represents the usual pattern of using the .attributes collection - added the test case from [ticket:1081] into perf/
* - 0.6beta3 versionMike Bayer2010-03-271-1/+1
| | | | | - remove redundant orderinglist docs, use just module docs - add warning for primary keys/unique colummns, [ticket:1669]
* this is beta2Mike Bayer2010-02-121-1/+1
|
* - Added a tuple_() construct, allows sets of expressionsMike Bayer2010-01-251-0/+1
| | | | | | | | | to be compared to another set, typically with IN against composite primary keys or similar. Also accepts an IN with multiple columns. The "scalar select can have only one column" error message is removed - will rely upon the database to report problems with col mismatch.
* - types.Binary is renamed to types.LargeBinary, it onlyMike Bayer2010-01-231-0/+1
| | | | | | | produces BLOB, BYTEA, or a similar "long binary" type. New base BINARY and VARBINARY types have been added to access these MySQL/MS-SQL specific types in an agnostic way [ticket:1664].
* happy new yearMike Bayer2010-01-071-1/+1
|
* - Added new ENUM type to the Postgresql dialect, which exists as a schema-levelMike Bayer2009-10-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | construct and extends the generic Enum type. Automatically associates itself with tables and their parent metadata to issue the appropriate CREATE TYPE/DROP TYPE commands as needed, supports unicode labels, supports reflection. [ticket:1511] - MySQL ENUM now subclasses the new generic Enum type, and also handles unicode values implicitly, if the given labelnames are unicode objects. - Added a new Enum generic type, currently supported on Postgresql and MySQL. Enum is a schema-aware object to support databases which require specific DDL in order to use enum or equivalent; in the case of PG it handles the details of `CREATE TYPE`, and on other databases without native enum support can support generation of CHECK constraints. [ticket:1109] [ticket:1511] - types documentation updates - some cleanup on schema/expression docs
* - Added BigInteger to global importsMike Bayer2009-10-151-0/+1
| | | | - Oracle compiles BigInteger into NUMBER(19), finishes [ticket:1125]
* merge 0.6 series to trunk.Mike Bayer2009-08-061-35/+38
|