-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minimal implementation of joinable subselects (work in progress) * Generate subselects in Set.nested_select() instead of BaseAdapter._select() * Add support for subselects to BaseAdapter._count() * Prevent table name collisions when applying record versioning filters * Fix common filters in select with subselects * Add support for subselect fields to Rows.render() and fix bugs * Refactor Google datastore adapter and BaseAdapter.get_table() * Check for table name collisions when building a SELECT query * When building subselect string, ignore cache if outer_scoped is not empty * Minor optimization in SQLAdapter._select_wcols() * Add parameter "correlated" to Select constructor defaults to True. When set to False, the subquery will be self-contained, meaning it will never reference any tables from the parent scope. * Implement proper expansion of correlated subqueries * Check that subquery in belongs() expression has exactly 1 column * Implement expansion of correlated subqueries in count(), update(), delete() * Update Mongo unit tests to new adapter API * Move part of Set.nested_select() to adapter code * Unit tests for the Select class * Additional unit tests for fixed bugs * Expand aliased table names using dialect methods * Fix expansion of correlated subqueries used in UPDATE/DELETE statements
- Loading branch information
Showing
22 changed files
with
1,216 additions
and
591 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.