Class: OracleDB::QueryInfo
- Inherits:
-
Object
- Object
- OracleDB::QueryInfo
- Defined in:
- lib/oracledb/info_types.rb,
ext/oracledb/rboradb_info_types.c
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
179 180 181 |
# File 'lib/oracledb/info_types.rb', line 179 def name @name end |
#null_ok ⇒ Object
187 188 189 |
# File 'lib/oracledb/info_types.rb', line 187 def null_ok @null_ok end |
#to_s ⇒ Object
191 192 193 194 195 196 197 |
# File 'lib/oracledb/info_types.rb', line 191 def to_s if @null_ok "#{self.name} #{self.type_info}" else "#{self.name} #{self.type_info} NOT NULL" end end |
#type_info ⇒ Object
183 184 185 |
# File 'lib/oracledb/info_types.rb', line 183 def type_info @type_info end |