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/nodes
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
..
and.rb Make And and Case into expression nodes 2019-01-24 14:35:52 -05:00
ascending.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
binary.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
bind_param.rb Use unboundable? rather than boundable? 2019-01-18 14:56:43 +09:00
case.rb Make And and Case into expression nodes 2019-01-24 14:35:52 -05:00
casted.rb Consolidate the duplicated code that building range predicate 2019-01-08 16:45:17 +09:00
comment.rb Add Relation#annotate for SQL commenting 2019-03-21 20:30:56 -07:00
count.rb Remove math module from count 2018-04-25 17:14:07 +01:00
delete_statement.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
descending.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
equality.rb Arel: Implemented DB-aware NULL-safe comparison (#34451) 2018-11-15 14:49:55 -05:00
extract.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
false.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
full_outer_join.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
function.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
grouping.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
in.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
infix_operation.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
inner_join.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
insert_statement.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
join_source.rb Fix docs to replace http with https in activerecord [ci skip] 2019-08-26 22:34:33 +09:00
matches.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
named_function.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
node.rb Remove unused DepthFirst visitor 2019-06-15 23:20:16 +09:00
node_expression.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
ordering.rb Allow #nulls_first and #nulls_last in PostgreSQL 2019-12-31 15:59:59 -05:00
outer_join.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
over.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
regexp.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
right_outer_join.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
select_core.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
select_statement.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
sql_literal.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
string_join.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
table_alias.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
terminal.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
true.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
unary.rb Allow #nulls_first and #nulls_last in PostgreSQL 2019-12-31 15:59:59 -05:00
unary_operation.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
unqualified_column.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
update_statement.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
values_list.rb Get rid of Arel::Nodes::Values 2019-03-18 03:57:16 +09:00
window.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
with.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30