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
- #bit(name, options = {})
- #bit_varying(name, options = {})
- #cidr(name, options = {})
- #citext(name, options = {})
- #daterange(name, options = {})
- #hstore(name, options = {})
- #inet(name, options = {})
- #int4range(name, options = {})
- #int8range(name, options = {})
- #json(name, options = {})
- #jsonb(name, options = {})
- #ltree(name, options = {})
- #macaddr(name, options = {})
- #money(name, options = {})
- #numrange(name, options = {})
- #point(name, options = {})
- #tsrange(name, options = {})
- #tstzrange(name, options = {})
- #tsvector(*args)
- #uuid(name, options = {})
- #xml(*args)
Instance Method Details
#bit(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 79
def bit(name, = {}) column(name, :bit, ) end
#bit_varying(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 83
def (name, = {}) column(name, :, ) end
#cidr(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 51
def cidr(name, = {}) column(name, :cidr, ) end
#citext(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 71
def citext(name, = {}) column(name, :citext, ) end
#daterange(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 35
def daterange(name, = {}) column(name, :daterange, ) end
#hstore(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 39
def hstore(name, = {}) column(name, :hstore, ) end
#inet(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 47
def inet(name, = {}) column(name, :inet, ) end
#int4range(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 15
def int4range(name, = {}) column(name, :int4range, ) end
#int8range(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 19
def int8range(name, = {}) column(name, :int8range, ) end
#json(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 63
def json(name, = {}) column(name, :json, ) end
#jsonb(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 67
def jsonb(name, = {}) column(name, :jsonb, ) end
#ltree(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 43
def ltree(name, = {}) column(name, :ltree, ) end
#macaddr(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 55
def macaddr(name, = {}) column(name, :macaddr, ) end
#money(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 87
def money(name, = {}) column(name, :money, ) end
#numrange(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 31
def numrange(name, = {}) column(name, :numrange, ) end
#point(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 75
def point(name, = {}) column(name, :point, ) end
#tsrange(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 23
def tsrange(name, = {}) column(name, :tsrange, ) end
#tstzrange(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 27
def tstzrange(name, = {}) column(name, :tstzrange, ) end
#tsvector(*args)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 10
def tsvector(*args) = args. column(args[0], :tsvector, ) end
#uuid(name, options = {})
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 59
def uuid(name, = {}) column(name, :uuid, ) end
#xml(*args)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 5
def xml(*args) = args. column(args[0], :xml, ) end