Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
cleanup continued
Tags
rel_0_3_6
Mike Bayer
various cleanup, docs and things, getting ready for 0.3.6
Mike Bayer
documenting generative methods on query
Mike Bayer
- MetaData can bind to an engine either via "url" or "engine" kwargs to constructor, or by using connect() method. BoundMetaData is identical to MetaData except engine_or_url param is required. DynamicMetaData is the same and provides thread-local connections be default.
Mike Bayer
dan's latest patch for session.identity_key()
Mike Bayer
- CLOB type descends from TEXT so it goes to the dialect correctly - oracle CLOB has result value LOB handling
Mike Bayer
- added explicit MSTimeStamp type which takes effect when using types.TIMESTAMP.
Mike Bayer
- slightly better support for bind params as column clauses, either via bindparam() or via literal(), i.e. select([literal('foo')]) - removed "table" argument from column(). this does not add the column to the table anyway so was misleading. - Select _exportable_columns() only exports Selectable instances - Select uses _exportable_columns() when searching for engines instead of _raw_columns for similar reasons (non selectables have no engine) - _BindParamClause n…
Mike Bayer
contextual_connection() -> contextual_connect() [ticket:515]
Mike Bayer
the "tack on the leftover tasks at the end" step of the "circular dependency sort" makes a copy of those tasks with the circular_parent marked. this way the tasks do not iterate through their child items polymorphically, which is necessary because the "circular sort" stores individual subclass tasks separately (i.e. saving/deleting should not traverse polymorhically for those tasks)
Mike Bayer
- many-to-many table will be properly handled even for operations that occur on the "backref" side of the operation [ticket:249]
ram
mssql: now passes still more unit tests, [ticket:481]
Mike Bayer
- added db modules to genned docstrings - had to tweak out latest MS-SQL module change. cant do ImportErrors right now until module importing is moved to the connection phase across all dialects. - took out "his" from url docstrings - postgres doesnt do an import *
Mike Bayer
- check for tables in the primaryjoin/secondaryjoin that arent parent of parent/child mappers. dont include those clauses when looking for foreign_keys (which also takes care of remote_side). if those cols are present in foreign_keys, lazyloader makes binds out of them and tries to target those columns on the mapper, raising either the "conflicting column" error if they have the same name, or the "cant find column on mapping" if it has a unique name. added tests for both.
ram
mssql: cleanup of module importing code; specifiable DB-API module; more explicit ordering of module preferences. [ticket:480]
ram
mssql: optionally use VARCHAR(max) instead of TEXT. [ticket:509]
Mike Bayer
- flush fixes on self-referential relationships that contain references to other instances outside of the cyclical chain, when the initial self-referential objects are not actually part of the flush
Mike Bayer
css tag
Mike Bayer
integrated docutils formatting into generated documentation; restructuredtext fixes throughout docstrings
Mike Bayer
merged mako doc generation branch
Mike Bayer
- added a catchall **kwargs to MSString, to help reflection of obscure types (like "varchar() binary" in MS 4.0)
Mike Bayer
"alltests" runners call testbase.main(), which takes an optional suite, so that exit code is propigated
Mike Bayer
literals in PassiveDefault require text()
ram
MSSQL now passes still more unit tests [ticket:481] Fix to null FLOAT fields in mssql-trusted.patch MSSQL: LIMIT with OFFSET now raises an error MSSQL: can now specify Windows authorization MSSQL: ignores seconds on DATE columns (DATE fix, part 1)
ram
fix CASE statement when else_ is zero
Mike Bayer
- eager loading will not "aliasize" "order by" clauses that were placed in the select statement by something other than the eager loader itself, to fix possibility of dupe columns as illustrated in [ticket:495]. however, this means you have to be more careful with the columns placed in the "order by" of Query.select(), that you have explicitly named them in your criterion (i.e. you cant rely on the eager loader adding them in for you) - query._join_to (which powers join, join_via, etc) properly takes secondary table into account when constructing joins
Mike Bayer
- added a handy multi-use "identity_key()" method to Session, allowing the generation of identity keys for primary key values, instances, and rows, courtesy Daniel Miller
Mike Bayer
some docs
Mike Bayer
some formatting
Mike Bayer
- for hackers, refactored the "visitor" system of ClauseElement and SchemaItem so that the traversal of items is controlled by the ClauseVisitor itself, using the method visitor.traverse(item). accept_visitor() methods can still be called directly but will not do any traversal of child items. ClauseElement/SchemaItem now have a configurable get_children() method to return the collection of child elements for each parent object. This allows the full traversal of i…
  1. Prev
  2. Next