| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The aliases property of a table is never used other than for equality. However,
the aliases that have been created for a table aren't really something that
should affect whether a table is considered to be the same table or not. This
removal does not appear to have any affect within Active Record or within Arel.
|
|\
| |
| | |
Fix invalid BindParam output in Dot visitor
|
| |
| |
| |
| |
| |
| | |
Since BindParam contains no information, treating it like a string
adds no useful information to the graph, and results in an invalid
label format.
|
|/
|
|
|
|
|
|
|
| |
Since BindParam has no value, treating it like a string
causes it to fallback to Object#to_s, leading to output like
`#<Arel::Nodes::BindParam:0x007fa43c866108>`.
Since angle brackets are significant in Dot labels, this causes
`Error: bad label format` when passing the graph into dot.
|
| |
|
|
|
|
| |
There is no @class variable.
|
| |
|
|\
| |
| | |
Fix issue #415 - Should Arel::Nodes::True.new() be 1 in sqlite3?
|
| | |
|
|\ \
| | |
| | | |
DRY up visit_Arel_Nodes_SelectCore
|
| | |
| | |
| | |
| | | |
collect_nodes_for, for collecting wheres, projections, groups, windows
|
|\ \ \
| | | |
| | | | |
- Disable jruby-head since bundle fetching is failing on travis
|
| |/ / |
|
| | |
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| | | |
| | | |
| | | | |
Support for unified Integer class in Ruby 2.4+
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005
Ruby ~2.3 `1234.class` is `Fixnum` and `123456789012345678901234567890.class`
is `Bignum`.
Ruby 2.4+ `1234.class` is `Integer` and `123456789012345678901234567890.class`
is `Integer`.
So what we should do is defining `visit_Integer` method to visitors.
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Support Oracle bind parameter value for Oracle12 visitor
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
PG: Add Support for GroupBy's Cube, Rollup and Grouping Set
|
| | | |
| | | |
| | | |
| | | | |
Visitor
|
|\ \ \ \
| |/ / /
|/| | | |
Raise ArgumentError if limit and lock are used for Oracle12 visitor
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
it would generates `SELECT ... FETCH FIRST n ROWS ONLY FOR UPDATE`
which causes Oracle 12c database returns this error :
ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
|
|\ \ \
| | | |
| | | | |
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
|
|/ |
|
| |
|