Class: RQuery::Adapters::Sqlite
- Inherits:
-
Sql
- Object
- Sql
- RQuery::Adapters::Sqlite
show all
- Defined in:
- lib/rquery/adapters/sqlite.rb
Class Method Summary
collapse
Methods inherited from Sql
==, and_group, between, in, neq, not_between, not_in, or_group
Class Method Details
.contains ⇒ Object
5
6
7
|
# File 'lib/rquery/adapters/sqlite.rb', line 5
def self.contains
"like '%' || ? || '%'"
end
|
.without ⇒ Object
8
9
10
|
# File 'lib/rquery/adapters/sqlite.rb', line 8
def self.without
"not #{contains}"
end
|