Module: Purview::Mixins::Dialect
- Included in:
- Databases::Base, Loaders::Base, Pullers::BaseSQL
- Defined in:
- lib/purview/mixins/dialect.rb
Instance Method Summary collapse
- #dialect ⇒ Object
- #false_value ⇒ Object
- #null_value ⇒ Object
- #quoted(value) ⇒ Object
- #sanitized(value) ⇒ Object
- #true_value ⇒ Object
Instance Method Details
#dialect ⇒ Object
4 5 6 |
# File 'lib/purview/mixins/dialect.rb', line 4 def dialect dialect_type.new end |
#false_value ⇒ Object
8 9 10 |
# File 'lib/purview/mixins/dialect.rb', line 8 def false_value dialect.false_value end |
#null_value ⇒ Object
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_value ⇒ Object
24 25 26 |
# File 'lib/purview/mixins/dialect.rb', line 24 def true_value dialect.true_value end |