Class: RQuery::Adapters::Sqlite

Inherits:
Sql
  • Object
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

.containsObject



5
6
7
# File 'lib/rquery/adapters/sqlite.rb', line 5

def self.contains
    "like '%' || ? || '%'"
end

.withoutObject



8
9
10
# File 'lib/rquery/adapters/sqlite.rb', line 8

def self.without
    "not #{contains}"
end