Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/ar_pg_array/querying.rb
Direct Known Subclasses
Instance Method Summary collapse
- #pg(type = nil) ⇒ Object
- #search_all(type = nil) ⇒ Object
- #search_any(type = nil) ⇒ Object
- #search_subarray(type = nil) ⇒ Object
Instance Method Details
#pg(type = nil) ⇒ Object
71 72 73 |
# File 'lib/ar_pg_array/querying.rb', line 71 def pg(type=nil) ::PGArrays::PgArray.new(self, type) end |
#search_all(type = nil) ⇒ Object
79 80 81 |
# File 'lib/ar_pg_array/querying.rb', line 79 def search_all(type=nil) ::PGArrays::PgAll.new(self, type) end |
#search_any(type = nil) ⇒ Object
75 76 77 |
# File 'lib/ar_pg_array/querying.rb', line 75 def search_any(type=nil) ::PGArrays::PgAny.new(self, type) end |
#search_subarray(type = nil) ⇒ Object
83 84 85 |
# File 'lib/ar_pg_array/querying.rb', line 83 def (type=nil) ::PGArrays::PgIncludes.new(self, type) end |