class

DuckDB::ResultSet

Inherits DB::ResultSet / DB::Disposable / Reference / Object

Constructors

new(statement : Statement)
Source
new(statement : UnpreparedStatement)
Source

Instance methods

column_count

Returns the number of columns in the result

Source
column_name(index : Int32) : String

Returns the name of the column in index 0-based position.

Source
move_next

Move the next row in the result. Return false if no more rows are available. See #each

Source
next_column_index

Returns the column index that corresponds to the next #read.

If the last column of the current row has been read, it must return #column_count.

Source
read(t : Time.class) : Time
Source
read(t : Time | ::Nil.class) : Time | Nil
Source
read

Reads the next column value

Source
to_unsafe
Source

Macros

duckdb_set_string
Source
duckdb_value(kind)
Source