1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/visitors
Kevin Deisz 66b19b5dec
Allow #nulls_first and #nulls_last in PostgreSQL
When using PostgreSQL, it's useful to be able to specify NULLS FIRST and NULLS LAST on ordered columns. With this commit you can do that now, as in:

```ruby
User.arel_table[:first_name].desc.nulls_last
```
2019-12-31 15:59:59 -05:00
..
dot.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
ibm_db.rb Extract sanitize_as_sql_comment from SQL visitor into connection 2019-03-19 04:15:52 +09:00
informix.rb Extract sanitize_as_sql_comment from SQL visitor into connection 2019-03-19 04:15:52 +09:00
mssql.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
mysql.rb Merge pull request #37358 from louim/doc/update-mysql-doc-to-current 2019-10-05 00:43:55 +09:00
oracle.rb Address no implicit conversion of Arel::Attributes::Attribute into String 2019-11-06 07:49:26 +00:00
oracle12.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
postgresql.rb Allow #nulls_first and #nulls_last in PostgreSQL 2019-12-31 15:59:59 -05:00
sqlite.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
to_sql.rb Remove unused Arel::Attributes.for 2019-06-15 23:59:41 +09:00
visitor.rb Share the Arel dispatch cache between connections 2019-07-10 11:54:32 +02:00
where_sql.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00