Module: UState::QueryString::Approximately1

Defined in:
lib/ustate/query_string.rb

Instance Method Summary collapse

Instance Method Details

#queryObject



495
496
497
# File 'lib/ustate/query_string.rb', line 495

def query
  Query::Approximately.new field.sql, string.sql
end

#sqlObject



499
500
501
# File 'lib/ustate/query_string.rb', line 499

def sql
  Sequel::SQL::StringExpression.like field.sql, string.sql
end