Module: Mobility::Plugins::Arel::Visitors

Defined in:
lib/mobility/plugins/arel/nodes/pg_ops.rb

Instance Method Summary collapse

Instance Method Details

#visit_Mobility_Plugins_Arel_Nodes_HstoreDashArrow(o, a) ⇒ Object



116
117
118
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 116

def visit_Mobility_Plugins_Arel_Nodes_HstoreDashArrow o, a
  json_infix o, a, '->'
end

#visit_Mobility_Plugins_Arel_Nodes_HstoreQuestion(o, a) ⇒ Object



120
121
122
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 120

def visit_Mobility_Plugins_Arel_Nodes_HstoreQuestion o, a
  json_infix o, a, '?'
end

#visit_Mobility_Plugins_Arel_Nodes_JsonbDashArrow(o, a) ⇒ Object



104
105
106
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 104

def visit_Mobility_Plugins_Arel_Nodes_JsonbDashArrow o, a
  json_infix o, a, '->'
end

#visit_Mobility_Plugins_Arel_Nodes_JsonbDashDoubleArrow(o, a) ⇒ Object



108
109
110
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 108

def visit_Mobility_Plugins_Arel_Nodes_JsonbDashDoubleArrow o, a
  json_infix o, a, '->>'
end

#visit_Mobility_Plugins_Arel_Nodes_JsonbQuestion(o, a) ⇒ Object



112
113
114
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 112

def visit_Mobility_Plugins_Arel_Nodes_JsonbQuestion o, a
  json_infix o, a, '?'
end

#visit_Mobility_Plugins_Arel_Nodes_JsonDashArrow(o, a) ⇒ Object



96
97
98
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 96

def visit_Mobility_Plugins_Arel_Nodes_JsonDashArrow o, a
  json_infix o, a, '->'
end

#visit_Mobility_Plugins_Arel_Nodes_JsonDashDoubleArrow(o, a) ⇒ Object



100
101
102
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 100

def visit_Mobility_Plugins_Arel_Nodes_JsonDashDoubleArrow o, a
  json_infix o, a, '->>'
end