Commits

Author Commit Message Labels Comments Date
Aurélien Matouillot
Add info parameter for the RelationshipProperty like for the Column and Table
Mike Bayer
small tweaks to make insert() behavior more consistent, mostly tests, [ticket:2461]
Mike Bayer
- [feature] The before_cursor_execute event fires off for so-called "_cursor_execute" events, which are usually special-case executions of primary-key bound sequences and default-generation SQL phrases that invoke separately when RETURNING is not used with INSERT. [ticket:2459]
Mike Bayer
- [bug] Fixed bug whereby usage of a UNION or similar inside of an embedded subquery would interfere with result-column targeting, in the case that a result-column had the same ultimate name as a name inside the embedded UNION. [ticket:2552]
Branches
rel_0_7
Mike Bayer
- [bug] Fixed bug whereby usage of a UNION or similar inside of an embedded subquery would interfere with result-column targeting, in the case that a result-column had the same ultimate name as a name inside the embedded UNION. [ticket:2552]
Mike Bayer
- [bug] Fixed cextension bug whereby the "ambiguous column error" would fail to function properly if the given index were a Column object and not a string. Note there are still some column-targeting issues here which are fixed in 0.8. [ticket:2553]
Branches
rel_0_7
Mike Bayer
- [bug] Fixed cextension bug whereby the "ambiguous column error" would fail to function properly if the given index were a Column object and not a string. Note there are still some column-targeting issues here which are fixed in 0.8. [ticket:2553] - find more cases where column targeting is being inaccurate, add more information to result_map to better differentiate "ambiguous" results from "present" or "not present". In particular, re…
Mike Bayer
this is already in an automodule...
Mike Bayer
- [feature] Enhanced GenericFunction and func.* to allow for user-defined GenericFunction subclasses to be available via the func.* namespace automatically by classname, optionally using a package name as well.
Mike Bayer
fixes for pg9
Mike Bayer
- MySQL's update does work. add some logic to compiler to convert from ORM column to Table column
Mike Bayer
- [feature] The Query.update() method is now more lenient as to the table being updated. Plain Table objects are better supported now, and additional a joined-inheritance subclass may be used with update(); the subclass table will be the target of the update, and if the parent table is referenced in the WHERE clause, the compiler will call upon UPDATE..FROM syntax as allowed by the dialect to satisfy the WHERE clause. Target columns must s…
Mike Bayer
- [feature] The Core oeprator system now includes the `getitem` operator, i.e. the bracket operator in Python. This is used at first to provide index and slice behavior to the Postgresql ARRAY type, and also provides a hook for end-user definition of custom __getitem__ schemes which can be applied at the type level as well as within ORM-level custom operator schemes. Note that this change has the effect that descriptor-based __getitem__ schemes used by the ORM in conjunction with synonym() or other "descriptor-wrapped" schemes will need to start using a custom comparator in order to maintain this behavior. - [feature] postgresql.ARRAY now supports indexing and slicing. The Python [] operator is available on all SQL expressions that are of type ARRAY; integer…
Mike Bayer
- [bug] Fixes to the interpretation of the Column "default" parameter as a callable to not pass ExecutionContext into a keyword argument parameter. [ticket:2520]
Mike Bayer
- expand out all the methods on insert/update/delete/select for now - remove deprecation test
Mike Bayer
- [feature] The prefix_with() method is now available on each of select(), insert(), update(), delete(), all with the same API, accepting multiple prefix calls, as well as a "dialect name" so that the prefix can be limited to one kind of dialect. [ticket:2431]
Mike Bayer
- [bug] Lazy loads emitted within flush events such as before_flush(), before_update(), etc. will now function as they would within non-event code, regarding consideration of the PK/FK values used in the lazy-emitted query. Previously, special flags would be established that would cause lazy loads to load related items based on the "previous" value of the parent PK/FK values specifically when called upon within a flush; the signal to load in…
Mike Bayer
tighten this up
Mike Bayer
versionadded
Mike Bayer
- aaaaand fix one more glitch I just thought of
Mike Bayer
- fix the labeled column with column_expression() issue, finishes [ticket:1534] - epic documentation sweep for new operator system, making ORM links consistent and complete, full documentation and examples for type/SQL expression feature - type_coerce() explicitly accepts BindParamClause objects - change UserDefinedType to coerce the other side to itself by default as this is much more likely what's desired - make coerce_compared_type() fully public on all types - have profil…
Mike Bayer
add a note
Mike Bayer
- really start making postgis example slick.
Mike Bayer
- [feature] To complement [ticket:2547], types can now provide "bind expressions" and "column expressions" which allow compile-time injection of SQL expressions into statements on a per-column or per-bind level. This is to suit the use case of a type which needs to augment bind- and result- behavior at the SQL level, as opposed to in the Python level. Allows for schemes like transparent encryption/ decryption, usage of Postgis functions, etc…
Mike Bayer
- modernize most of the postgis example. would like to do [ticket:1534] also. - we don't have coverage for type-wide instrumentation events, the listener was broke. could break again too.
Mike Bayer
- update this to work with the latest postgis - fix the userdefinedtype issue.
Branches
rel_0_7
Mike Bayer
update the postgis example to actually work, using the old way (we'll update shortly)
Mike Bayer
_adapt_expression() moves fully to _DefaultColumnComparator which resumes its original role as stateful, forms the basis of TypeEngine.Comparator. lots of code goes back mostly as it was just with cleaner typing behavior, such as simple flow in _binary_operate now.
Mike Bayer
-we move all the invocation of "_adapt_expression" into TypeEngine.Comparator. at this point the split of operator stuff is getting awkward and we might want to move _DefaultComparator.
Mike Bayer
- we're going to attempt to get the type/operator system to eat its own dogfood and use the type-based comparator in all cases. will attempt to remove the _adapt_expression() method entirely as this represents an incomplete and redundant system (though it might be a lot faster)
  1. Prev
  2. Next