constant COLUMN_NAME_WITH_ORDER
Ruby on Rails 6.1.7.10
Since v6.0.6 Last seen in v7.1.6Regexp for column names with order (with or without a table name prefix, with or without various order modifiers). Matches the following:
"#{table_name}.#{column_name}" "#{table_name}.#{column_name} #{direction}" "#{table_name}.#{column_name} #{direction} NULLS FIRST" "#{table_name}.#{column_name} NULLS LAST" "#{column_name}" "#{column_name} #{direction}" "#{column_name} #{direction} NULLS FIRST" "#{column_name} NULLS LAST"