class SQLite3::Statement

def types

makes it a (potentially) expensive operation.
that this may execute the statement in order to obtain the metadata; this
Return an array of the data types for each column in this statement. Note
def types
  must_be_open!
  get_metadata unless @types
  @types
end