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



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

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

#visit_Mobility_Plugins_Arel_Nodes_HstoreQuestion(o, a) ⇒ Object



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

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

#visit_Mobility_Plugins_Arel_Nodes_JsonbDashArrow(o, a) ⇒ Object



93
94
95
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 93

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

#visit_Mobility_Plugins_Arel_Nodes_JsonbDashDoubleArrow(o, a) ⇒ Object



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

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

#visit_Mobility_Plugins_Arel_Nodes_JsonbQuestion(o, a) ⇒ Object



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

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

#visit_Mobility_Plugins_Arel_Nodes_JsonDashArrow(o, a) ⇒ Object



85
86
87
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 85

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

#visit_Mobility_Plugins_Arel_Nodes_JsonDashDoubleArrow(o, a) ⇒ Object



89
90
91
# File 'lib/mobility/plugins/arel/nodes/pg_ops.rb', line 89

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