Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/ar_jdbc_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
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 (type=nil) ::PGArrays::PgIncludes.new(self, type) end |