Commits

Author Commit Message Labels Comments Date
Mike Bayer
- got m2m, local_remote_pairs, etc. working - using new traversal that returns the product of both sides of a binary, starting to work with (a+b) == (c+d) types of joins. primaryjoins on functions working - annotations working, including reversing local/remote when doing backref
Mike Bayer
- hooks in the new object to RelationshipProperty, restores the "local" annotation. also added in sync pairs, etc. many-to-many is currently broken.
Mike Bayer
new test that illustrates the breakage of partial remote side when FKs are assumed
Mike Bayer
merge tip
Mike Bayer
simplify remote annotation significantly, and also catch the actual remote columns more accurately.
Mike Bayer
local_remote_pairs/remote_side are comparing against existing 100%
Mike Bayer
this version has easy cases going well. hard cases not so much
Mike Bayer
proof of concept. relationships.JoinCondition is given everything known about the relationship in an ORM-agnostic way. The primaryjoin is determined as before, but is then immediately parsed and annotated with "foreign", "local" and "remote" annotations. These annotations will then drive the additional decisions made, namely "direction" and "sync pairs". The end user will be able to pass a pre-annotated join condition in which case those annotati…
Mike Bayer
initial annotations approach to join conditions. all tests pass, plus additional tests in #1401 pass. would now like to reorganize RelationshipProperty more around the annotations concept.
Mike Bayer
- [bug] Fixed bug in 0.7.6 introduced by [ticket:2409] whereby column_mapped_collection used against columns that were mapped as joins or other indirect selectables would fail to function. Here, the serialize use case has gotten very complex since to really target a column we'd need the root MetaData object, then if we're hitting Alias objects and such there's really nothing to hold onto. Short of building a system where Column objects have some kind of master hash identifier that is consistently generated, the way this works can't really suit every case - much easier would be to c…
Mike Bayer
- [bug] UPDATE..FROM syntax with SQL Server requires that the updated table be present in the FROM clause when an alias of that table is also present in the FROM clause. The updated table is now always present in the FROM, when FROM is present in the first place. Courtesy sayap. [ticket:2468]
Mike Bayer
- mysql [bug] Fixed bug whereby if cast() is used on a SQL expression whose type is not supported by cast() and therefore CAST isn't rendered by the dialect, the order of evaluation could change if the casted expression required that it be grouped; grouping is now applied to those expressions. [ticket:2467]
Mike Bayer
Merged in bentrofatter/sqlalchemy-informix-dialect-fix (pull request #7)
Ben Trofatter
Changed misspelled 'altere' reserved word to 'alter'
Mike Bayer
- [bug] If conn.begin() fails when calling "with engine.begin()", the newly acquired Connection is closed explicitly before propagating the exception onward normally.
Mike Bayer
- test explicitly for 'VIEW', 'SYSTEM VIEW' - move the test to the reflection tests
Mike Bayer
Merged in elazar/sqlalchemy/fix/mysql-system-views (pull request #6)
Matthew Turland
Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support is not available in previous versions
Branches
fix/mysql-system-views
Matthew Turland
Modified MySQLDialect.get_view_names() to also return system views such as those in information_schema
Branches
fix/mysql-system-views
Mike Bayer
- [feature] Added new flag to @validates include_removes. When True, collection remove and attribute del events will also be sent to the validation function, which accepts an additional argument "is_remove" when this flag is used.
Mike Bayer
- [feature] Added new connection event dbapi_error(). Is called for all DBAPI-level errors passing the original DBAPI exception before SQLAlchemy modifies the state of the cursor.
Mike Bayer
- adjust mysql patch a bit so that we use built in quoting for the "idx_" name as well - [bug] Fixed bug whereby column name inside of "KEY" clause for autoincrement composite column with InnoDB would double quote a name that's a reserved word. Courtesy Jeff Dairiki. [ticket:2460]
dairiki
Fix innodb autoinc constraint (double)quoting
Mike Bayer
- [bug] Repaired the use_scope_identity create_engine() flag when using the pyodbc dialect. Previously this flag would be ignored if set to False. When set to False, you'll get "SELECT @@identity" after each INSERT to get at the last inserted ID, for those tables which have "implicit_returning" set to False.
diana
Fixing link to python's logging module (see #2456). Thanks astrochase!
Mike Bayer
Merged in _diana_/sqlalchemy-2385 (pull request #4)
diana
most of the drizzle docs are copy/pasta, let's just point users to the mysql docs and enhance as questions arise - see #2385
Mike Bayer
- reopened #2453, needed to put in the original patch as well to cover the case of column_property() objs building off each other
Mike Bayer
- sql - [bug] Removed warning when Index is created with no columns; while this might not be what the user intended, it is a valid use case as an Index could be a placeholder for just an index of a certain name. - mssql - [feature] Added interim create_engine flag supports_unicode_binds to PyODBC dialect, to force whether or not the dialect passes Python unicode literals to PyODBC or not.
Mike Bayer
- [bug] Fixed bug which would prevent OrderingList from being pickleable [ticket:2454]. Courtesy Jeff Dairiki
  1. Prev
  2. Next