Class: JDBCHelper::SQL::NotNullExpression
- Inherits:
-
Expression
- Object
- Expression
- JDBCHelper::SQL::NotNullExpression
- Defined in:
- lib/jdbc-helper/sql/expression.rb
Overview
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ NotNullExpression
constructor
A new instance of NotNullExpression.
- #to_bind ⇒ Object
- #to_s ⇒ Object
Methods inherited from Expression
Constructor Details
#initialize ⇒ NotNullExpression
Returns a new instance of NotNullExpression.
116 117 |
# File 'lib/jdbc-helper/sql/expression.rb', line 116 def initialize end |
Class Method Details
.singleton ⇒ Object
112 113 114 |
# File 'lib/jdbc-helper/sql/expression.rb', line 112 def self.singleton @@singleton ||= NotNullExpression.new end |
Instance Method Details
#to_bind ⇒ Object
123 124 125 |
# File 'lib/jdbc-helper/sql/expression.rb', line 123 def to_bind ["is not null", []] end |
#to_s ⇒ Object
119 120 121 |
# File 'lib/jdbc-helper/sql/expression.rb', line 119 def to_s "is not null" end |