Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
0.3.7...
Tags
rel_0_3_7
Mike Bayer
- adapted gaetan's eager load adaption code for non-mapped column properties
Mike Bayer
- restored old "column_property()" ORM function (used to be called "column()") to force any column expression to be added as a property on a mapper, particularly those that aren't present in the mapped selectable. this allows "scalar expressions" of any kind to be added as relations (though they have issues with eager loads).
Mike Bayer
- the label() method on ColumnElement will properly propigate the TypeEngine of the base element out to the label, including a label() created from a scalar=True select() statement.
Mike Bayer
added orig_set colleciton to Select when its declared as a scalar, to allow corresponding_column() to return a result
Mike Bayer
- fix to using distinct() or distinct=True in combination with join() and similar
Mike Bayer
- mysql uses "DESCRIBE [<schemaname>].<tablename>", catching exceptions if table doesnt exist, in order to determine if a table exists. this supports unicode table names as well as schema names. tested with MySQL5 but should work with 4.1 series as well. (#557)
ram
- mssql: replace "select @@identity" with "select @@scope_identity". Should help avoid returning wrong ID when insert triggers are used. Also add unit test (thanks paj) - mssql: if no db-api module specified, probe in the order [pyodbc, pymssql, adodbapi]
Mike Bayer
document the 'echo' property
Mike Bayer
- added 'url' attribute to Engine - added docstring to 'echo' attribute
Mike Bayer
docstring tweaks
Mike Bayer
- CSS change to regular font for docstrings now that we use docutils for formatting - dynamicmetadata clarification
Mike Bayer
- fixed textual select elements that got broke the other day - docstring work
Mike Bayer
sentence clarify
Mike Bayer
- support for inline hyperlinks between HTML-generated docstrings - docstrings for all sql package functions including cross linking.
Mike Bayer
extra tests that unneeded UPDATEs dont occur
Mike Bayer
removed unneeded closure function
Mike Bayer
removed 'unjoined_table', synonymous with local_table
Mike Bayer
- the usual adjustments to relationships between inheriting mappers, in this case establishing relation()s to subclass mappers where the join conditions come from the superclass' table - specifically, places where PropertyLoader limits its search to mapper.local_table had to be expanded to search separately within mapper.mapped_table as well. in the case of determining primary/secondaryjoin, it starts more specifically first with local table then out to mapped tab…
ged
correct typo-equivalent mistakes in some comments/docstrings
jason kirtland
- Fully specify ordering for ordered union test comparison
Mike Bayer
restored functionality to not issue DELETE for instances that have no _identity_key
Mike Bayer
decruftify UOW some more....uowdumper always prints out based on polymorphic collections
Mike Bayer
- generative test doesnt apply to mysql, others - refactoring to unitofwork.py. low-hanging cruft removed, UOWTask structure simplified particuularly with the per-instance sort phase, most methods docstring'ed extensively. this is a merge from the 'uowsimplify' branch. (only slightly simpler, tho) - mapper delete_obj works across multiple mappers to be consistent with the operation of save_obj
Mike Bayer
some extra tests for synonyms to relation()s
Mike Bayer
- _with_parent_criterion generalized into _with_lazy_criterion - _create_lazy_clause now includes a 'reverse_direction' flag to generate lazy criterion in from parent->child or vice versa - changed join_by() in query to use the "reverse" _create_lazy_clause for instance comparisons so conditions like AND can work [ticket:554]
Mike Bayer
fixed casing of SET clause
jason kirtland
- Always propagate constructor exceptions in mapped clases (applied patch in #528)
Mike Bayer
- added generative versions of aggregates, i.e. sum(), avg(), etc. to query. used via query.apply_max(), apply_sum(), etc. #552
Mike Bayer
revert CSS tweak
  1. Prev
  2. Next