Sha256: 75d5ad44d34bc5c1ffd873e0221c9a21800114f87a2e9c08cf6bc6f3f02f70e2

Contents?: true

Size: 388 Bytes

Versions: 15

Compression:

Stored size: 388 Bytes

Contents

module Torque
  module PostgreSQL
    module Arel
      module Operations

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

      end

      ::Arel::Attributes::Attribute.include(Operations)
      ::Arel::Nodes::SqlLiteral.include(Operations)
      ::Arel::Nodes::Node.include(Operations)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
torque-postgresql-1.1.8 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.7 lib/torque/postgresql/arel/operations.rb
torque-postgresql-2.0.3 lib/torque/postgresql/arel/operations.rb
torque-postgresql-2.0.2 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.6 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.5 lib/torque/postgresql/arel/operations.rb
torque-postgresql-2.0.1 lib/torque/postgresql/arel/operations.rb
torque-postgresql-2.0.0 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.4 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.3 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.2 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.1 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.1.0 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.0.1 lib/torque/postgresql/arel/operations.rb
torque-postgresql-1.0.0 lib/torque/postgresql/arel/operations.rb