Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
added an order by
Mike Bayer
- Concrete inheriting mappers now instrument attributes which are inherited from the superclass, but are not defined for the concrete mapper itself, with an InstrumentedAttribute that issues a descriptive error when accessed. [ticket:1237] - Added a new `relation()` keyword `back_populates`. This allows configuation of backreferences using explicit relations. [ticket:781] This is required when creating bidirectional relations between a hierarchy of concrete mappers and another class. [ticket:1237] - Test coverage added for `relation()` objects specified on concrete mappers. [ticket:1237] - A short documentation example added for b…
Michael Trier
Corrected SAVEPOINT support on the adodbapi dialect by changing the handling of savepoint_release, which is unsupported on mssql. The way it was being discarded previously resulted in an empty execute being called on the dialect; adodbapi didn't like that much.
Michael Trier
Modified the do_begin handling in mssql to use the Cursor not the Connection. This corrects a problem where we were trying to call execute on the Connection object instead of against the cursor. This is supported on pyodbc but not in the DBAPI. Overrode the behavior in pymssql to not do special do_begin processing on that dialect.
Mike Bayer
- 0.5.1 bump - modernized mapper()/no table exception - added __tablename__ exception to declarative since ppl keep complaining
Mike Bayer
clarified docs on foreign key cascades, mapper extension methods during delete() and update() methods
Mike Bayer
query.delete(False) is not so bad
Ants Aasma
Added the missing keywords from MySQL 4.1 so they get escaped properly.
Mike Bayer
typo
jason kirtland
Formatting fixups
Mike Bayer
doh its 0.5.0
Mike Bayer
move memusage to the isolation chamber
Tags
rel_0_5_0
Mike Bayer
- removed 2.3 compat stuff - updated MANIFEST for the newer build
Mike Bayer
next release is 0.5.0
Mike Bayer
- query.join() raises an error when the target of the join doesn't match the property-based attribute - while it's unlikely anyone is doing this, the SQLAlchemy author was guilty of this particular loosey-goosey behavior.
Michael Trier
Forgot to sqash a commit. Follow up on mssql dates refactoring.
Michael Trier
mssql date / time refactor. - Added new MSSmallDateTime, MSDateTime2, MSDateTimeOffset, MSTime types - Refactored the Date/Time types. The smalldatetime data type no longer truncates to a date only, and will now be mapped to the MSSmallDateTime type. Closes #1254.
Mike Bayer
made the "you passed a non-aliased selectable" warning scarier. scarier !
Mike Bayer
- property.of_type() is now recognized on a single-table inheriting target, when used in the context of prop.of_type(..).any()/has(), as well as query.join(prop.of_type(...)).
Mike Bayer
if at first you don't succeed, fail, fail again
Mike Bayer
assume table.schema, not None, when constraint reflection has no explicit schema. unit test TBD.
Mike Bayer
- Generalized the IdentityManagedState._instance_dict() callable to the IdentityMap class so that Weak/StrongInstanceDict both have the same behavior wrt the state referencing the map - Fixed bug when using weak_instance_map=False where modified events would not be intercepted for a flush(). [ticket:1272]
Michael Trier
Corrected a few docs and didn't realize we put pyodbc first in the search list.
Mike Bayer
docstrings for the hated fold_equivalents argument/function
Mike Bayer
added teardown_instance() to complement setup_instance(). Based on the instance/class agnostic behavior of ClassManager, this might be the best we can do regarding [ticket:860]
Mike Bayer
- query.order_by() accepts None which will remove any pending order_by state from the query, as well as cancel out any mapper/relation configured ordering. This is primarily useful for overriding the ordering specified on a dynamic_loader(). [ticket:1079]
Mike Bayer
added the significant test for #1247
Michael Trier
Corrected an issue on mssql where Numerics would not accept an int.
Mike Bayer
added order_by test coverage as per [ticket:1218]
Mike Bayer
one more typo
  1. Prev
  2. Next