-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix several issues with UNION query support and do some test cleanup (#…
…144) * Fix spelling of "Codable" in filename * Clean up SQLDialect.swift, adding lots of documentation comments and consolidating the default values. * Simplify and normalize the SQLBenchmarker interface and adapt the existing benchmarks accordingly. * Replace use of yet another OptionalType protocol with an explicit Optional-like enum in TestRow and update tests accordingly. Also heavy cleanup of GenericDialect. * Fix a number of issues and missing features in UNION: Parenthesized subquery expressions are not supported by SQLite, SQLUnionBuilder did not conform to SQLQueryFetcher, no support existed for the INTERSECT and EXCEPT union types supported by Postgres and SQLite, the explicit DISTINCT keyword is not supported by SQLite. A new SQLDialect feature flag set was added to address the various syntax variations. * Add benchmark (integration) and unit tests for the fixed UNION support
- Loading branch information
Showing
12 changed files
with
835 additions
and
284 deletions.
There are no files selected for viewing
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.