summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Try to reflect also the Sequence on the PK under FirebirdLele Gaifax2008-01-111-3/+30
|
* - Warnings are now issued as SAWarning instead of RuntimeWarning; ↵Jason Kirtland2008-01-1117-442/+495
| | | | | | util.warn() wraps this up. - SADeprecationWarning has moved to exceptions. An alias remains in logging until 0.5.
* Include column name in length-less String warning (more [ticket:912])Jason Kirtland2008-01-1012-266/+281
|
* - unit test for r4048Mike Bayer2008-01-101-1/+0
|
* - added a mapper() flag "eager_defaults"; when set toMike Bayer2008-01-101-8/+23
| | | | | | | True, defaults that are generated during an INSERT or UPDATE operation are post-fetched immediately, instead of being deferred until later. This mimics the old 0.3 behavior.
* - added extra fk override testMike Bayer2008-01-101-1/+9
| | | | | | - proper error message is raised when trying to access expired instance attributes with no session present
* Recognize another Firebird exception in dialect.is_disconnect()Lele Gaifax2008-01-101-0/+2
|
* - finally added PGMacAddr type to postgresMike Bayer2008-01-101-0/+5
| | | | [ticket:580]
* Reworked r4042- undeclared deprecation warnings are now *fatal* to tests. ↵Jason Kirtland2008-01-101-5/+2
| | | | No surprises.
* test suite deprecation rampageJason Kirtland2008-01-094-22/+49
|
* Added UnicodeText aliasJason Kirtland2008-01-092-22/+28
|
* - fixed bug with session.dirty when using "mutable scalars"Mike Bayer2008-01-094-10/+31
| | | | | | | | (such as PickleTypes) - added a more descriptive error message when flushing on a relation() that has non-locally-mapped columns in its primary or secondary join condition
* redid the _for_ddl String/Text deprecation warning correctly [ticket:912]Mike Bayer2008-01-0913-14/+14
|
* - fixed bug in union() so that select() statements which don't deriveMike Bayer2008-01-081-1/+2
| | | | from FromClause objects can be unioned
* - Text type is properly exported now and does not raise a warningMike Bayer2008-01-082-2/+5
| | | | on DDL create
* Fixed reflection of mysql empty string column defaults.Jason Kirtland2008-01-081-1/+1
|
* Fix for ticket [923]Rick Morrison2008-01-071-17/+13
|
* - fixed an attribute history bug whereby assigning a new collectionMike Bayer2008-01-072-6/+6
| | | | | | | | | | | to a collection-based attribute which already had pending changes would generate incorrect history [ticket:922] - fixed delete-orphan cascade bug whereby setting the same object twice to a scalar attribute could log it as an orphan [ticket:925] - generative select.order_by(None) / group_by(None) was not managing to reset order by/group by criterion, fixed [ticket:924]
* - suppressing *all* errors in InstanceState.__cleanup() now.Mike Bayer2008-01-061-9/+3
|
* - fixed bug which could occur with polymorphic "union" mapperMike Bayer2008-01-061-5/+6
| | | | | | | | | which falls back to "deferred" loading of inheriting tables - the "columns" collection on a mapper/mapped class (i.e. 'c') is against the mapped table, not the select_table in the case of polymorphic "union" loading (this shouldn't be noticeable)
* - synonyms can now be created against props that don't exist yet,Mike Bayer2008-01-052-4/+11
| | | | | | which are later added via add_property(). This commonly includes backrefs. (i.e. you can make synonyms for backrefs without worrying about the order of operations) [ticket:919]
* - changed name of TEXT to Text since its a "generic" type; TEXT name isMike Bayer2008-01-0513-44/+65
| | | | | | | deprecated until 0.5. The "upgrading" behavior of String to Text when no length is present is also deprecated until 0.5; will issue a warning when used for CREATE TABLE statements (String with no length for SQL expression purposes is still fine) [ticket:912]
* More overloads: fix cascades for += on a list relation, added operator ↵Jason Kirtland2008-01-052-0/+46
| | | | support to association proxied lists.
* - fixed fairly critical bug whereby the same instance could be listedMike Bayer2008-01-051-1/+2
| | | | | | | more than once in the unitofwork.new collection; most typically reproduced when using a combination of inheriting mappers and ScopedSession.mapper, as the multiple __init__ calls per instance could save() the object with distinct _state objects
* Experimental: modestly more informative repr() for some expressions (using ↵Jason Kirtland2008-01-051-0/+8
| | | | .description)
* Migrated a few in-function 'from x import y' to the 'global x; if x is None' ↵Jason Kirtland2008-01-051-160/+168
| | | | style.
* Refined bulk-assignment aspects of the r3999 in-place collection operator ↵Jason Kirtland2008-01-041-1/+7
| | | | fix. Also? r4000!
* Fixed in-place set mutation operator support [ticket:920]Jason Kirtland2008-01-042-10/+90
|
* Added REPLACE statements to mysql autocommit list.Jason Kirtland2008-01-041-1/+1
|
* add anonymous labels to function callsMike Bayer2008-01-041-1/+1
|
* fix not calling the result processor of PGArray subtypes. (a rather ↵Ants Aasma2008-01-031-1/+1
| | | | embarrasing copypaste error) [ticket:913]
* - added very rudimentary yielding iterator behavior to Query. CallMike Bayer2008-01-021-22/+51
| | | | | | | | | | | | query.yield_per(<number of rows>) and evaluate the Query in an iterative context; every collection of N rows will be packaged up and yielded. Use this method with extreme caution since it does not attempt to reconcile eagerly loaded collections across result batch boundaries, nor will it behave nicely if the same instance occurs in more than one batch. This means that an eagerly loaded collection will get cleared out if it's referenced in more than one batch, and in all cases attributes will be overwritten on instances that occur in more than one batch.
* fix weakref issue seen on one buildbot testrel_0_4_2Mike Bayer2008-01-021-1/+1
|
* - further fix to new TypeDecorator, so that subclasses of TypeDecorators ↵Mike Bayer2008-01-024-15/+23
| | | | | | work properly - _handle_dbapi_exception() usage changed so that unwrapped exceptions can be rethrown with the original stack trace
* happy new yearMike Bayer2008-01-0133-33/+33
|
* fix to new TypeDecoratorMike Bayer2008-01-011-2/+6
|
* fix up oracle handling of LOB/string [ticket:902], slight fixes to ↵Mike Bayer2008-01-011-7/+6
| | | | | | defaults.py but we will need to fix up result-type handling some more
* filter() criterion takes mapper equivalent_columns into account when it ↵Mike Bayer2007-12-311-1/+3
| | | | adapts to select_table. more to come in [ticket:917] .
* remove "is None" from boolean testsMike Bayer2007-12-291-2/+2
|
* limit scope of try/exceptMike Bayer2007-12-291-4/+4
|
* use long for query runid counterMike Bayer2007-12-291-1/+1
|
* - added is_disconnect() support for oracleMike Bayer2007-12-293-21/+40
| | | | | - fixed _handle_dbapi_error to detect endless loops, doesn't call rollback/cursor.close etc. in case of disconnect
* - mapped classes which extend "object" and do not provide anMike Bayer2007-12-292-9/+18
| | | | | | | __init__() method will now raise TypeError if non-empty *args or **kwargs are present at instance construction time (and are not consumed by any extensions such as the scoped_session mapper), consistent with the behavior of normal Python classes [ticket:908]
* - fixed Query bug when filter_by() compares a relation against NoneMike Bayer2007-12-291-1/+4
| | | | [ticket:899]
* - MapperExtension.before_update() and after_update() are now calledMike Bayer2007-12-291-8/+7
| | | | | | symmetrically; previously, an instance that had no modified column attributes (but had a relation() modification) could be called with before_update() but not after_update() [ticket:907]
* - fixed session.refresh() with instance that has custom entity_nameMike Bayer2007-12-291-1/+1
| | | | [ticket:914]
* some rudimentary fixes to get instance-level deferreds/lazy loads to ↵Mike Bayer2007-12-211-2/+9
| | | | transfer over on merge()
* cruft ! who knewMike Bayer2007-12-211-14/+3
|
* - disabled the "populate expired/deferred attributes as we come across them" ↵Mike Bayer2007-12-211-8/+6
| | | | functionality in mapper._instance(), as its not completed, doesn't properly handle mutable scalar attributes, and has poor test coverage
* mass load wont overwrite modified expired attributesMike Bayer2007-12-212-3/+6
|