module ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods - activerecord-4.2.4 Documentation

# module ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods

### Public Instance Methods

bit(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 79
    def bit(name, options = {})
      column(name, :bit, options)
    end

bit_varying(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 83
    def bit_varying(name, options = {})
      column(name, :bit_varying, options)
    end

cidr(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 51
    def cidr(name, options = {})
      column(name, :cidr, options)
    end

citext(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 71
    def citext(name, options = {})
      column(name, :citext, options)
    end

daterange(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 35
    def daterange(name, options = {})
      column(name, :daterange, options)
    end

hstore(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 39
    def hstore(name, options = {})
      column(name, :hstore, options)
    end

inet(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 47
    def inet(name, options = {})
      column(name, :inet, options)
    end

int4range(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 15
    def int4range(name, options = {})
      column(name, :int4range, options)
    end

int8range(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 19
    def int8range(name, options = {})
      column(name, :int8range, options)
    end

json(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 63
    def json(name, options = {})
      column(name, :json, options)
    end

jsonb(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 67
    def jsonb(name, options = {})
      column(name, :jsonb, options)
    end

ltree(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 43
    def ltree(name, options = {})
      column(name, :ltree, options)
    end

macaddr(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 55
    def macaddr(name, options = {})
      column(name, :macaddr, options)
    end

money(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 87
    def money(name, options = {})
      column(name, :money, options)
    end

numrange(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 31
    def numrange(name, options = {})
      column(name, :numrange, options)
    end

point(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 75
    def point(name, options = {})
      column(name, :point, options)
    end

tsrange(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 23
    def tsrange(name, options = {})
      column(name, :tsrange, options)
    end

tstzrange(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 27
    def tstzrange(name, options = {})
      column(name, :tstzrange, options)
    end

tsvector(*args) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 10
    def tsvector(*args)
      options = args.extract_options!
      column(args[0], :tsvector, options)
    end

uuid(name, options = {}) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 59
    def uuid(name, options = {})
      column(name, :uuid, options)
    end

xml(*args) click to toggle source

    # File lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 5
    def xml(*args)
      options = args.extract_options!
      column(args[0], :xml, options)
    end