Class: Purview::Dialects::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/purview/dialects/base.rb

Direct Known Subclasses

MSSQL, MySQL, PostgreSQL, SQLite

Instance Method Summary collapse

Instance Method Details

#false_valueObject



4
5
6
# File 'lib/purview/dialects/base.rb', line 4

def false_value
  raise %{All "#{Base}(s)" must override the "false_value" method}
end

#null_valueObject



8
9
10
# File 'lib/purview/dialects/base.rb', line 8

def null_value
  raise %{All "#{Base}(s)" must override the "null_value" method}
end

#quoted(value) ⇒ Object



12
13
14
# File 'lib/purview/dialects/base.rb', line 12

def quoted(value)
  raise %{All "#{Base}(s)" must override the "quoted" method}
end

#sanitized(value) ⇒ Object



16
17
18
# File 'lib/purview/dialects/base.rb', line 16

def sanitized(value)
  raise %{All "#{Base}(s)" must override the "sanitized" method}
end

#true_valueObject



20
21
22
# File 'lib/purview/dialects/base.rb', line 20

def true_value
  raise %{All "#{Base}(s)" must override the "true_value" method}
end