Module: Veritas::SQL::Generator::Function::Proposition
- Includes:
- Veritas::SQL::Generator::Function
- Included in:
- Relation::Unary
- Defined in:
- lib/veritas/sql/generator/function/proposition.rb
Overview
Generates an SQL statement for a proposition function
Constant Summary
Constants included from Identifier
Identifier::ESCAPED_QUOTE, Identifier::QUOTE
Constants included from Literal
Literal::ESCAPED_QUOTE, Literal::FALSE, Literal::NULL, Literal::QUOTE, Literal::SEPARATOR, Literal::TIME_SCALE, Literal::TRUE
Instance Method Summary collapse
-
#visit_veritas_function_proposition_contradiction(_contradiction) ⇒ #to_s
private
Visit a Contradiction.
-
#visit_veritas_function_proposition_tautology(_tautology) ⇒ #to_s
private
Visit a Tautology.
Methods included from Attribute
Methods included from Identifier
Methods included from Literal
dup_frozen, #visit_class, #visit_date, #visit_date_time, #visit_enumerable, #visit_false_class, #visit_nil_class, #visit_numeric, #visit_string, #visit_time, #visit_true_class
Instance Method Details
#visit_veritas_function_proposition_contradiction(_contradiction) ⇒ #to_s
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Visit a Contradiction
30 31 32 |
# File 'lib/veritas/sql/generator/function/proposition.rb', line 30 def visit_veritas_function_proposition_contradiction(_contradiction) FALSE end |
#visit_veritas_function_proposition_tautology(_tautology) ⇒ #to_s
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Visit a Tautology
19 20 21 |
# File 'lib/veritas/sql/generator/function/proposition.rb', line 19 def visit_veritas_function_proposition_tautology(_tautology) TRUE end |