Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
more edits
Tags
rel_0_4_4
Mike Bayer
fix a typo....
jason kirtland
(Whoops,)
jason kirtland
- Take broken mysql 4.1 column defaulting into account.
jason kirtland
- Don't create implicit DDL column defaults
jason kirtland
- increased assert_tabels_equal failure verbosity
Mike Bayer
filled in some of the types documentation
Mike Bayer
updated SQL output, fixed String/Text type
Mike Bayer
reflection tests require foreign key reflection support
Ants Aasma
- fix expunging of orphans with more than one parent - move flush error for orphans from Mapper to UnitOfWork
Mike Bayer
remove redundant test_rekey() test method
jason kirtland
- Test autoload with a FK override
jason kirtland
- Added a primaryjoin= test
jason kirtland
eh, that __autoload_with__ idea was half baked.
jason kirtland
- Added __autoload__ = True for declarative - declarative Base.__init__ is pickier about its kwargs
Mike Bayer
removed the "__main__" code from below
Mike Bayer
- a new super-small "declarative" extension has been added, which allows Table and mapper() configuration to take place inline underneath a class declaration. This extension differs from ActiveMapper and Elixir in that it does not redefine any SQLAlchemy semantics at all; literal Column, Table and relation() constructs are used to define the class behavior and table definition.
Mike Bayer
- relation() can accept a callable for its first argument, which returns the class to be related. This is in place to assist declarative packages to define relations without classes yet being in place.
Mike Bayer
- dynamic_loader() / lazy="dynamic" now accepts and uses the order_by parameter in the same way in which it works with relation().
Mike Bayer
added sanity test for order_by
jason kirtland
Added support for vendor-extended INSERT syntax like INSERT DELAYED INTO
Mike Bayer
weed whacking is not Nones
Mike Bayer
- moved property._is_self_referential() to be more generalized; returns True for any mapper.isa() relationship between parent and child, and indicates that aliasing should be used for any join/correlation across the relation. allows joins/any()/has() to work with inherited mappers referencing the parent etc. - the original _is_self_referential() is now _refers_to_parent_table() and is only used during "direction" calculation to indicate the relation is from a single table to itself
Mike Bayer
corrected assert_raises to be consistent with existing assertRaises() unittest method
Mike Bayer
- added assert_raises() to TestBase class - session.refresh() and session.expire() raise an error when called on instances which are not persistent within the session - session._validate_persistent() properly raises an error for false check
Mike Bayer
check the isinsert/isupdate flags before calling __process_defaults
Mike Bayer
- adjusted generative.py test for revised error message - mapper with non_primary asserts primary mapper already created - added any()/instance compare test to query
jason kirtland
Import fixup & trailing whitespace
jason kirtland
- Synonyms riding on top of existing descriptors are now full proxies to those descriptors.
jason kirtland
- constraint constructor docstring fiesta
  1. Prev
  2. Next