summaryrefslogtreecommitdiff
path: root/examples/declarative_reflection/declarative_reflection.py
Commit message (Collapse)AuthorAgeFilesLines
* - [feature] The "deferred declarativeMike Bayer2012-05-171-98/+0
| | | | | | | | | | | | | | | | reflection" system has been moved into the declarative extension itself, using the new DeferredReflection class. This class is now tested with both single and joined table inheritance use cases. [ticket:2485] - [bug] The autoload_replace flag on Table, when False, will cause any reflected foreign key constraints which refer to already-declared columns to be skipped, assuming that the in-Python declared column will take over the task of specifying in-Python ForeignKey or ForeignKeyConstraint declarations.
* declarartive reflection example didn't actually work for single inheritance, ↵Mike Bayer2012-02-091-0/+11
| | | | added a tweak to make that possible
* - [bug] Improved the "declarative reflection"Mike Bayer2012-01-281-15/+26
| | | | | | | | example to support single-table inheritance, multiple calls to prepare(), tables that are present in alternate schemas, establishing only a subset of classes as reflected.
* declarative reflection exampleMike Bayer2012-01-281-0/+4
|
* - [feature] New declarative reflection exampleMike Bayer2012-01-281-0/+72
added, illustrates how best to mix table reflection with declarative as well as uses some new features from [ticket:2356].