Commits

Author Commit Message Labels Comments Date
Mike Bayer
typos
Mike Bayer
- Session.connection(), Session.execute() accept 'bind', to allow execute/connection operations to participate in the open transaction of an engine explicitly. [ticket:1996] - fix up the docs for connection, execute, which were awful. - correct usage strings in hybrid
Mike Bayer
- Session.merge() will check the version id of the incoming state against that of the database, assuming the mapping uses version ids and incoming state has a version_id assigned, and raise StaleDataError if they don't match. [ticket:2027]
Mike Bayer
- move maxdb notes from wiki to the maxdb module - move exception docs down to the lower portion of core/orm
Mike Bayer
- tests for hybrid - documentation for hybrid - rewrite descriptor, synonym, comparable_property documentation
Mike Bayer
- remove old perf/ tests from pre-2007
Mike Bayer
- the zblog example is obsolete, the tests don't really test it and a key feature of its mapping (the deferred col outside of the select) doesn't work anyway. - add a token "deferred on selectable" test to test_mapper.
Mike Bayer
- execution_options() on Connection accepts "isolation_level" argument, sets transaction isolation level for that connection only until returned to the connection pool, for thsoe backends which support it (SQLite, Postgresql) [ticket:2001] - disallow the option on Engine (use isolation_level to create_engine()), Executable (we don't want to check/set per statement) - docs
Mike Bayer
- default_isolation_level is equal to isolation_level since it's detected after the initial setting
Mike Bayer
- add dialect.reset_isolation_level(), reverts - base not implemented methods on Dialect
Mike Bayer
- factor consistent set_isolation_level(), get_isolation_level() per-connection methods for sqlite, postgresql, psycopg2 dialects - move isolation test suite to test engines/test_transaction - preparing for [ticket:2001]
Mike Bayer
- oracle fixes
Mike Bayer
Regarding reflection for this case, reflection of an int PK col with a server_default sets the "autoincrement" flag to False, except in the case of a PG SERIAL col where we detected a sequence default. [ticket:2020] [ticket:2021]
Mike Bayer
- getting slightly more consistent behavior for the edge case of pk columns with server default - autoincrement is now false with any server_default, so these all return None, applies consistency to [ticket:2020], [ticket:2021]. if prefetch is desired a "default" should be used instead of server_default.
Mike Bayer
stupid workaround for pg8000
Mike Bayer
- allow aliased() to call .alias() on a selectable, [ticket:2018]
Mike Bayer
- composite now relates to its parent class in terms of MapperProperty, not Column. This allows it to compose any mapped attributes, including relationship(). [ticket:2024]
Mike Bayer
- the _pk_processors/_prefetch_processors approach relied upon calling RPs without a cursor.description result, also generates procs that are not used in most cases. simplify the approach by passing type to _exec_default() to be used if needed by _execute_scalar(), looking for the proc on just t._autoincrement_column in post_insert().
Mike Bayer
QueryableAttribute can stringify itself without triggering a mapper compile. prevents confusion when stringing the attr during an exception for something else like a bad event listen
Mike Bayer
- fix reflection of unknown types with arguments, NullType() accepts no arguments.
Mike Bayer
- dont count server_default absense as part of autoincrement, PG will have a value here upon reflection. - mysql, others will have to check "server_default" when rendering special keywords like AUTOINCREMENT
Mike Bayer
- rename hybrid.property_, hybrid.method to hybrid_property, hybrid_method. more typing on the import but this is just clearer. - adapt dictlike-polymorphic.py to use hybrid.
Mike Bayer
- add a note about query.order_by(None) with union etc. clarifies [ticket:2022]
Mike Bayer
- A TypeDecorator of Integer can be used with a primary key 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 r…
Mike Bayer
crappy docs, lets try that again
Mike Bayer
- merge r43460573c27a:2bf8f0f5aaa0 of 0.6 branch
Mike Bayer
more copyright
Mike Bayer
2011
Mike Bayer
- Fixed bug regarding "subqueryload" strategy whereby the join would fail if using a multi-level load of the form from A->joined-subclass->C [ticket:2014]
Mike Bayer
- The Index() construct can be created inline with a Table definition, using strings as column names, as an alternative to the creation of the index outside of the Table.
  1. Prev
  2. Next