123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb

Instance Method Summary

Instance Method Details

#bit(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 79

def bit(name, options = {})
  column(name, :bit, options)
end

#bit_varying(name, options = {})

[ GitHub ]

  
# File 'activerecord/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 = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 51

def cidr(name, options = {})
  column(name, :cidr, options)
end

#citext(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 71

def citext(name, options = {})
  column(name, :citext, options)
end

#daterange(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 35

def daterange(name, options = {})
  column(name, :daterange, options)
end

#hstore(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 39

def hstore(name, options = {})
  column(name, :hstore, options)
end

#inet(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 47

def inet(name, options = {})
  column(name, :inet, options)
end

#int4range(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 15

def int4range(name, options = {})
  column(name, :int4range, options)
end

#int8range(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 19

def int8range(name, options = {})
  column(name, :int8range, options)
end

#json(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 63

def json(name, options = {})
  column(name, :json, options)
end

#jsonb(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 67

def jsonb(name, options = {})
  column(name, :jsonb, options)
end

#ltree(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 43

def ltree(name, options = {})
  column(name, :ltree, options)
end

#macaddr(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 55

def macaddr(name, options = {})
  column(name, :macaddr, options)
end

#money(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 87

def money(name, options = {})
  column(name, :money, options)
end

#numrange(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 31

def numrange(name, options = {})
  column(name, :numrange, options)
end

#point(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 75

def point(name, options = {})
  column(name, :point, options)
end

#tsrange(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 23

def tsrange(name, options = {})
  column(name, :tsrange, options)
end

#tstzrange(name, options = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 27

def tstzrange(name, options = {})
  column(name, :tstzrange, options)
end

#tsvector(*args)

[ GitHub ]

  
# File 'activerecord/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 = {})

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 59

def uuid(name, options = {})
  column(name, :uuid, options)
end

#xml(*args)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 5

def xml(*args)
  options = args.extract_options!
  column(args[0], :xml, options)
end