Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- official name - remove the switch readme
Tags
rel_0_6beta1
Mike Bayer
the order of rollback()s wasn't correct. slightly disturbing as the test usually passed, began failing on PG as of somewhat unrelated commit r6705, and only when the full test/engine series of tests were run. very heisenbuggy. may want to add tests to assert that TLEngine is enforcing nesting even with subtransactions.
Mike Bayer
- Primary key values can now be changed on a joined-table inheritance object, and ON UPDATE CASCADE will be taken into account when the flush happens. Set the new "passive_updates" flag to False on mapper() when using SQLite or MySQL/MyISAM. [ticket:1362] - flush() now detects when a primary key column was updated by an ON UPDATE CASCADE operation from another primary key, and can then locate the row for a subsequent UPDATE on the new PK value. This occurs when a relation() is there to establish the relationship as well as passive_updates=True. [ticket:1671]
Mike Bayer
formatting tweak
Mike Bayer
add 0.5.9 note for [ticket:1661]
Mike Bayer
- added a failing-so-far test for #1671
Mike Bayer
yikes entirely wrong option name here
Mike Bayer
- use_ansi=False won't leak into the FROM/WHERE clause of a statement that's selecting from a subquery that also uses JOIN/OUTERJOIN.
Mike Bayer
- the "save-update" cascade will now cascade the pending *removed* values from a scalar or collection attribute into the new session during an add() operation. This so that the flush() operation will also delete or modify rows of those disconnected items.
Mike Bayer
- the "connection" argument from engine.transaction() and engine.run_callable() is removed - Connection itself now has those methods. All four methods accept *args and **kwargs which are passed to the given callable, as well as the operating connection.
Mike Bayer
oursql doesn't need the warnings propagate flag
Mike Bayer
for string deferred evals, don't return the underlying Column, rely upon the original propcomparator to do what it wants. reduces duplication of the "columns[0]" rule and removes potentially surprise behavior from the eval
Mike Bayer
fix the kwargs scoping. mysteriously was affecting pool gcing
Mike Bayer
- inline some code and turn some instance-level defaults into class level
Mike Bayer
- the "autocommit" flag on select() and text() as well as select().autocommit() are deprecated - now call .execution_options(autocommit=True) on either of those constructs, also available directly on Connection and orm.Query.
Mike Bayer
- make frozendict serializable - serialize tests use HIGHEST_PROTOCOL
Mike Bayer
against is optional
Mike Bayer
- allow exists(s.as_scalar()) to work
Mike Bayer
add an informative error msg for non-collection passed to select()
lele
Fix #1663: the whitespace after DEFAULT may start with a newline
Philip Jenvey
missing import, forcefully compile the expression to str
Philip Jenvey
oracle compat
Philip Jenvey
Binary -> LargeBinary
Mike Bayer
- Added a tuple_() construct, allows sets of expressions 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.
Mike Bayer
added a test to ensure the concrete example in the docs works
Philip Jenvey
handle the new CursorFairy __setattr__
Mike Bayer
fricking typo
Mike Bayer
remove my comment. still wish this could be done in a cleaner way tho
Mike Bayer
- union(), intersect(), except() and other "compound" types of statements have more consistent behavior w.r.t. parenthesizing. Each compound element embedded within another will now be grouped with parenthesis - previously, the first compound element in the list would not be grouped, as SQLite doesn't like a statement to start with parenthesis. However, Postgresql in particular has precedence rules regarding INTERSECT, and it is more consistent for par…
Philip Jenvey
revert r6686 and adjust the stacklevel of test_notsane_warning's SAWarning so it can force it to be emitted
  1. Prev
  2. Next