Commits

Show all
Author Commit Message Labels Comments Date
Lele Gaifax
Use an external UDF to implement the mod operator under Firebird
Chris McDonough
bug fixes - the call to self.get() in get_committed_state was missing a required parameter, rendered sqlalchemy unusable in certain situations - fixed a large bug in dynamic_loader() where the query criterion wasn't generated correctly if other relations existed to dynamic_loader's argument
jason kirtland
Some code-level docs for r3916
Mike Bayer
implemented many-to-one comparisons to None generate <column> IS NULL, with column on the left side in all cases
Lele Gaifax
New simple test for Dialect.has_sequence()
jason kirtland
- on mysql, emit inner joins as 'INNER JOIN ... ON' (for version 3.23)
Lele Gaifax
Reflect Firebird PassiveDefaults - column's default values are properly reflected (also those coming from DOMAINs) - implemented .has_sequence() - fix type on FK reflection
Lele Gaifax
Cosmetic changes to the Firebird reflection queries. This brings them more consistent with the syntax of the statements generated by SA, using lowercase field names.
Mike Bayer
- eagerload(), lazyload(), eagerload_all() take an optional second class-or-mapper argument, which will select the mapper to apply the option towards. This can select among other mappers which were added using add_entity(). - eagerloading will work with mappers added via add_entity().
Mike Bayer
- fix to cascades on polymorphic relations, such that cascades from an object to a polymorphic collection continue cascading along the set of attributes specific to each element in the collection.
Mike Bayer
comment
Mike Bayer
refresh_instance becomes an InstanceState so boolean tests are OK
Mike Bayer
- more query tests - trying to refine some of the adaptation stuff - query.from_statement() wont allow further generative criterion - added a warning to columncollection when selectable is formed with conflicting columns (only in the col export phase) - some method rearrangement on schema/columncollection.... - property conflicting relation warning doesnt raise for concrete
Mike Bayer
- Query.select_from() now replaces all existing FROM criterion with the given argument; the previous behavior of constructing a list of FROM clauses was generally not useful as is required filter() calls to create join criterion, and new tables introduced within filter() already add themselves to the FROM clause. The new behavior allows not just joins from the main table, but select statements as well. Filter criterion, order bys, eager load clauses will be "ali…
Lele Gaifax
Better reflection of Firebird data types. Instead of relying on internal numeric code, lookup the associated real name. This has the extra benefit of properly handling of DOMAINs.
Mike Bayer
fix...
Mike Bayer
add pydoc for from_statement().
Mike Bayer
- added a warning when a relation() is added to an inheriting mapper that is present on a super-mapper; multiple DependencyProcessors are not expected during the flush process - found an uncovered line in uow, was "covered" by one particular breaking test
Mike Bayer
add some updates too
Mike Bayer
- added a test for boolean saves/retrieves
Mike Bayer
- fix up the fixtures comparator - strengthened memory profiling test
Mike Bayer
only report true for source change if added + deleted, dont pick up inserts
Mike Bayer
mapper uses attributes to get non-cached history
Mike Bayer
remove redundant identity map set
Mike Bayer
- mutable primary key support is added. primary key columns can be changed freely, and the identity of the instance will change upon flush. In addition, update cascades of foreign key referents (primary key or not) along relations are supported, either in tandem with the database's ON UPDATE CASCADE (required for DB's like Postgres) or issued directly by the ORM in the form of UPDATE statements, by setting the flag "passive_cascades=False".
Mike Bayer
- added new methods to TypeDecorator, process_bind_param() and process_result_value(), which automatically take advantage of the processing of the underlying type. Ideal for using with Unicode or Pickletype. TypeDecorator should now be the primary way to augment the behavior of any existing type including other TypeDecorator subclasses such as PickleType.
Mike Bayer
some updates, remove an old test (really crufty old stuff here)
Mike Bayer
[ticket:888] continued, synonym add_prop
Mike Bayer
ok found it
Mike Bayer
fixed test which didnt pass along 'allitems' collection to the sort...
  1. Prev
  2. Next