Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/ar_jdbc_pg_array/querying.rb

Direct Known Subclasses

PGArrays::PgArray

Instance Method Summary collapse

Instance Method Details

#pg(type = nil) ⇒ Object



57
58
59
# File 'lib/ar_jdbc_pg_array/querying.rb', line 57

def pg(type=nil)
  ::PGArrays::PgArray.new(self, type)
end

#search_all(type = nil) ⇒ Object



65
66
67
# File 'lib/ar_jdbc_pg_array/querying.rb', line 65

def search_all(type=nil)
  ::PGArrays::PgAll.new(self, type)
end

#search_any(type = nil) ⇒ Object



61
62
63
# File 'lib/ar_jdbc_pg_array/querying.rb', line 61

def search_any(type=nil)
  ::PGArrays::PgAny.new(self, type)
end

#search_subarray(type = nil) ⇒ Object



69
70
71
# File 'lib/ar_jdbc_pg_array/querying.rb', line 69

def search_subarray(type=nil)
  ::PGArrays::PgIncludes.new(self, type)
end