Commits

Author Commit Message Labels Comments Date
Mike Bayer
TODO for oracle
Mike Bayer
added limit/offset to union queries
Mike Bayer
- cleanup on connection methods + documentation. custom DBAPI arguments specified in query string, 'connect_args' argument to 'create_engine', or custom creation function via 'creator' function to 'create_engine'. - added "recycle" argument to Pool, is "pool_recycle" on create_engine, defaults to 3600 seconds; connections after this age will be closed and replaced with a new one, to handle db's that automatically close stale connections [ticket:274]
Mike Bayer
[ticket:282]
Mike Bayer
the "check for orphans" step will cascade the delete operation to child objects.
Mike Bayer
- urls support escaped characters in passwords [ticket:281]
Mike Bayer
sqlite dialects can be created without pysqlite installed
Mike Bayer
- unit tests updated to run without any pysqlite installed; pool test uses a mock DBAPI
Mike Bayer
working on sequence quoting support....
Mike Bayer
postgres reflection uses dialect-wide preparer
Mike Bayer
refactoring of ANSIIdentifierPreparer to be one instance per-dialect, simplified caching
Mike Bayer
- postgres reflection moved to use pg_schema tables, can be overridden with use_information_schema=True argument to create_engine [ticket:60], [ticket:71] - added natural_case argument to Table, Column, semi-experimental flag for use with table reflection to help with quoting rules [ticket:155]
Mike Bayer
added a compile check to instances()
Mike Bayer
[ticket:280] statement execution supports using the same BindParam object more than once in an expression; simplified handling of positional parameters. nice job by Bill Noon figuring out the basic idea.
Mike Bayer
- unit-of-work does a better check for "orphaned" objects that are part of a "delete-orphan" cascade, for certain conditions where the parent isnt available to cascade from. - it is now invalid to declare a self-referential relationship with "delete-orphan" (as the abovementioned check would make them impossible to save) - improved the check for objects being part of a session when the unit of work seeks to flush() them as part of a relationship..
Mike Bayer
more fixes for [ticket:269], added MSMediumBlob type
Mike Bayer
commit should be outside of the try/except; else when commit fails, rollback gets called which is technically invalid (although SA transaction probably lets it slide...this should also possibly be made more strict)
Mike Bayer
if a contextual session is established via MapperExtension.get_session (as it is using the sessioncontext plugin, etc), a lazy load operation will use that session by default if the parent object is not persistent with a session already.
Mike Bayer
[ticket:277] check if pg/oracle sequence exists. checks in all cases before CREATE SEQUENCE/ DROP SEQUENCE
Mike Bayer
added "requires_quotes" step, subclasses of ANSIIdentifierPreparer can override
Jonathan Ellis
fixes for threadless python compiles
Mike Bayer
- eesh ! the tutorial doctest was broken for quite some time. - add_property() method on mapper does a "compile all mappers" step in case the given property references a non-compiled mapper (as it did in the case of the tutorial !)
Mike Bayer
the latest...
Mike Bayer
modifcation to unitofwork to not maintain ordering within the "new" list or within the UOWTask "objects" list; instead, new objects are tagged with an ordering identifier as they are registered as new with the session, and the INSERT statements are then sorted within the mapper save_obj. the INSERT ordering has basically been pushed allthe way to the end of the flush cycle. that way the various sorts and organizations occuring within UOWTask (particularly t…
Tags
rel_0_2_7
Mike Bayer
fix to __eq__ method in a test object
Mike Bayer
improved error message when a backref conflicts with a column-based property
Mike Bayer
added MSTinyInteger to MS-SQL [ticket:263]
Mike Bayer
fixed construction of order_by with distinct query
Mike Bayer
0.2.7 prep
Mike Bayer
some fixes to sqlite datetime organization, was improperly reflecting the "date" type as a "datetime"
  1. Prev
  2. Next