1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove roflscaling constants

This commit is contained in:
Jeremy Evans 2019-03-19 08:48:13 -07:00
parent 22d82b667f
commit 6fe624f50d
2 changed files with 0 additions and 15 deletions

View file

@ -3,11 +3,6 @@
module Arel # :nodoc: all
module Visitors
class PostgreSQL < Arel::Visitors::ToSql
CUBE = "CUBE"
ROLLUP = "ROLLUP"
GROUPING_SETS = "GROUPING SETS"
LATERAL = "LATERAL"
private
def visit_Arel_Nodes_Matches(o, collector)

View file

@ -9,16 +9,6 @@ module Arel # :nodoc: all
end
class ToSql < Arel::Visitors::Visitor
WHERE = " WHERE " # :nodoc:
SPACE = " " # :nodoc:
COMMA = ", " # :nodoc:
GROUP_BY = " GROUP BY " # :nodoc:
ORDER_BY = " ORDER BY " # :nodoc:
WINDOW = " WINDOW " # :nodoc:
AND = " AND " # :nodoc:
DISTINCT = "DISTINCT" # :nodoc:
def initialize(connection)
super()
@connection = connection