Commits

Author Commit Message Labels Comments Date
Mike Bayer
assignmapper was setting is_primary=True, causing all sorts of mayhem by not raising an error when redundant mappers were set up, fixed
Mike Bayer
fixed [ticket:245]
Tags
rel_0_2_6
Mike Bayer
patch to inheritance section
Mike Bayer
implemented latest patch on [ticket:105], modified to support new ForeignKeyConstraint upon reflection
Mike Bayer
patch for [ticket:105], adding "owner" support to oracle...not tested yet
Mike Bayer
added table.exists()
Mike Bayer
added 'checkfirst' argument to table.create()/table.drop() some 0.2.6 prep
Mike Bayer
reduced bind param size in query._get to appease the picky oracle [ticket:244]
Mike Bayer
mapper compilation work ongoing, someday it'll work....moved around the initialization of MapperProperty objects to be after all mappers are created to better handle circular compilations. do_init() method is called on all properties now which are more aware of their "inherited" status if so. eager loads explicitly disallowed on self-referential relationships, or relationships to an inheriting mapper (which is also self-referential)
Mike Bayer
fix to typing in clause construction which specifically helps type issues with polymorphic_union (CAST/ColumnClause propigates its type to proxy columns)
Mike Bayer
failing test case re: compilation
Mike Bayer
added "synonym()" function, applied to properties to have a propname the same as another, for the purposes of overriding props and allowing the original propname to be accessible in select_by().
Mike Bayer
remove print statement
Mike Bayer
overhaul to MapperExtension so they arent chained via "next"; this breaks all over the place since extensions get copied between mappers etc. now theyre assembled into a list, of which a single extension can belong to many different lists.
Mike Bayer
echo=True
Mike Bayer
added __setitem__ to Constraint
Mike Bayer
fixed table name in REFERENCES clause to include schema if applicable
Mike Bayer
some cleanup on session/uow interaction, check for None when calling refresh or expire in case object was deleted
Mike Bayer
some cascade tweaks
Mike Bayer
deferred column load could screw up the connection status in a flush() under some circumstances, this was fixed
Mike Bayer
overhaul to schema, addition of ForeignKeyConstraint/ PrimaryKeyConstraint objects (also UniqueConstraint not completed yet). table creation and reflection modified to be more oriented towards these new table-level objects. reflection for sqlite/postgres/mysql supports composite foreign keys; oracle/mssql/firebird not converted yet.
cleverdevil
ActiveMapper now supports autoloading of column definitions if you supply a __autoload__ = True attribute in your inner mapping class. It does not currently support autoloading relationships.
Mike Bayer
$-># for install prompt
Mike Bayer
DB connection errors wrapped in DBAPIErrors
Mike Bayer
added count/count_by to assignmapper, plus a test in activemapper to try it out
Mike Bayer
fixed up boolean datatype for sqlite, mysql, ms-sql
Mike Bayer
still having mappers not getting compiled...sigh...
Mike Bayer
primary key identifier is a list now, not param list, [ticket:236]
Mike Bayer
clarified passivedefault only for INSERT, added brief 'override reflected columns' example
Mike Bayer
slightly less lame version function
  1. Prev
  2. Next