| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Update to_sql.rb. More slightly performance improvement.
|
|/
|
| |
Update to_sql.rb. Slightly performance improvement.
|
|\
| |
| | |
Fix warnings from test_to_sql test
|
|/ |
|
|\
| |
| | |
Update to_sql.rb. Slightly performance improment.
|
|/
|
| |
Update to_sql.rb. Slightly performance improment.
|
|\
| |
| | |
Clean up README code formatting and grammar
|
| |
| |
| |
| |
| |
| | |
* Fixes grammatical errors
* Fixes capitalization
* Fixes punctuation
|
|/
|
|
|
| |
* Fixes syntax highlighting of the output from `SqlLiteral`
* Adds whitespace to improve readability
|
|\
| |
| | |
added Casted#hash
|
|/ |
|
|\
| |
| | |
Delete not used codes
|
|/
|
|
|
| |
These codes were introduced by 03724fb1789198cc394f6e8b69cf9404e03eddd7,
and to be not used by 79411322ae225289e1c051f4f68ed84c6349e4a0.
|
| |
|
|\
| |
| | |
Support for Bitwise Operations as InfixOperations
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Individual commit messages included below ***
* Preliminary support for bitwise operations as infix operators. Tests to follow.
* Added bitwise xor, shift left and shift right operators
* Fixed the BitwiseOr class so it uses the :| operator instead of :&
* All the methods for the bitwise operators in the Arel::Math module now wrap them up in Arel::Nodes::Grouping so the operation becomes isolated like addition and subtraction
* Preliminary set of tests for the new operators
* Updated README with examples of bitwise operations
* Added a new UnaryOperation class which is a riff on the InfixOperation class
* Added tests for UnaryOperation (inspired by InfixOperation tests)
* Added the bitwise not (~) operator as a UnaryOperation
* Added tests for the bitwise not operator
* Added documentation for the bitwise not operator
* Updated gemspec using `rake arel.gemspec`
|
|\
| |
| | |
Add database specific string concatenation
|
|/ |
|
|\
| |
| | |
Implement CASE Conditional Expression
|
|/ |
|
|\
| |
| | |
Update copyright year
|
|/
|
| |
New year, new license!
|
|\
| |
| | |
Rename README.markdown to README.md
|
|/ |
|
| |
|
|\
| |
| |
| | |
Delegate to Connection Visitor in WhereSQL Visitor
|
| |
| |
| |
| |
| |
| | |
This is ultimately messy no matter what, and increases the coupling to the
database backend, but we can at least contain it somewhat into an object
that's already coupled.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The WhereSQL visitor always uses the generic ToSQL visitor to create
the where clause sql statement. This means that it'll miss database
specific statements, such as 'ILIKE' in PostgreSQL. Since the
`#where_sql` method is mainly used for ActiveRecord error reporting,
this discrepancy could be confusing to users.
This patch changes the WhereSQL visitor to use the its connection
visitor to generate SQL for each statement in the SelectManager's wheres
array. Then lets them be joined together with ' AND '.
|
|\
| |
| | |
Added test for verifying proper sql generated by minimum aggregate method
|
| | |
|
|\ \
| | |
| | | |
Improve error message when passed unsupported type
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
Test with rbx-2 on Travis-CI
|
| | | |
| | | |
| | | | |
This avoids problems with using the wrong version of gems that are also included in the Ruby standard library, like `minitest`
|
| | | |
| | | |
| | | | |
Using `rbx-2` is the recommended way to test with the 2.0 branch of Rubinius.
|
|\ \ \ \
| | | | |
| | | | | |
Add OrderPredications back into Nodes::Function
|
| | |/ /
| |/| |
| | | |
| | | | |
Expression)
|
|\ \ \ \
| | | | |
| | | | | |
No need to quote limit for Oracle12 visitor
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Case insensitivite match/regular expressions
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Explicitly declare if this is case sensitive or not
currently postgres assumes case insensitive regexp
no other databases support regexps
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Explicitly declare if this is case sensitive or not
most implementation assume case sensitive
postgres assumes case insensitive
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Rename MIT-LICENSE to MIT-LICENSE.txt
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
This renames MIT-LICENSE to MIT-LICENSE.txt. Closes #395, prevents builds from breaking.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add CONTRIBUTING.md
|
| |/ / / / |
|