Method: SQLite::Statement#types
- Defined in:
- lib/sqlite/statement.rb
#types ⇒ Object
Return an array of the data types for each column in this statement. Note that this may execute the statement in order to obtain the metadata; this makes it a (potentially) expensive operation.
157 158 159 160 |
# File 'lib/sqlite/statement.rb', line 157 def types unless @types return @types end |