Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Store now expects a Sequel::Database object * SquishSelect and SquishAssert refactored * SquishQuery now keeps raw unescaped literals in @Strings, SquishAssert passes these as is to Sequel::Dataset, SquishSelect still escapes them back into the SQL query locally * validate_expression now returns the validated string for chainability * substitute_parameters dropped: Sequel understands named parameters * SquishSelect#to_sql (and by extention Store#select) now returns only SQL query (same params hash can now be passed to Sequel verbatim) * SquishSelect#to_sql now names columns with corresponding blank node names where applicable * unit test now runs select and assert on an in-memory Sqlite database
- Loading branch information
Showing
9 changed files
with
580 additions
and
392 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.