Module: Torque::PostgreSQL::Arel::Operations

Defined in:
lib/torque/postgresql/arel/operations.rb

Instance Method Summary collapse

Instance Method Details

#cast(type, array = false) ⇒ Object

Create a cast operation



7
8
9
# File 'lib/torque/postgresql/arel/operations.rb', line 7

def cast(type, array = false)
  Nodes::Cast.new(self, type, array)
end