Module: Purview::Mixins::Dialect

Included in:
Databases::Base, Loaders::Base, Pullers::BaseSQL
Defined in:
lib/purview/mixins/dialect.rb

Instance Method Summary collapse

Instance Method Details

#dialectObject



4
5
6
# File 'lib/purview/mixins/dialect.rb', line 4

def dialect
  dialect_type.new
end

#false_valueObject



8
9
10
# File 'lib/purview/mixins/dialect.rb', line 8

def false_value
  dialect.false_value
end

#null_valueObject



12
13
14
# File 'lib/purview/mixins/dialect.rb', line 12

def null_value
  dialect.null_value
end

#quoted(value) ⇒ Object



16
17
18
# File 'lib/purview/mixins/dialect.rb', line 16

def quoted(value)
  dialect.quoted(value)
end

#sanitized(value) ⇒ Object



20
21
22
# File 'lib/purview/mixins/dialect.rb', line 20

def sanitized(value)
  dialect.sanitized(value)
end

#true_valueObject



24
25
26
# File 'lib/purview/mixins/dialect.rb', line 24

def true_value
  dialect.true_value
end