Method: SQLite3::Statement#types

Defined in:
lib/sqlite3/statement.rb

#typesObject

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.



117
118
119
120
121
# File 'lib/sqlite3/statement.rb', line 117

def types
  must_be_open!
   unless @types
  @types
end