Module: DuckDB

Defined in:
lib/duckdb.rb,
lib/duckdb/column.rb,
lib/duckdb/config.rb,
lib/duckdb/result.rb,
lib/duckdb/version.rb,
lib/duckdb/appender.rb,
lib/duckdb/database.rb,
lib/duckdb/infinity.rb,
lib/duckdb/interval.rb,
lib/duckdb/converter.rb,
lib/duckdb/connection.rb,
lib/duckdb/pending_result.rb,
lib/duckdb/library_version.rb,
lib/duckdb/prepared_statement.rb,
lib/duckdb/converter/int_to_sym.rb,
lib/duckdb/extracted_statements.rb,
ext/duckdb/duckdb.c

Overview

DuckDB provides Ruby interface of DuckDB.

Defined Under Namespace

Modules: Converter, Infinity Classes: Appender, Blob, Column, Config, Connection, Database, Error, ExtractedStatements, ExtractedStatementsImpl, Interval, PendingResult, PreparedStatement, QueryProgress, Result

Constant Summary collapse

VERSION =

The version string of ruby-duckdb. Currently, ruby-duckdb is NOT semantic versioning.

'1.1.3.1'
LIBRARY_VERSION =

represents the version of the DuckDB library. If DuckDB.library_version is v0.2.0, then DuckDB::LIBRARY_VERSION is 0.2.0.

library_version[1..]

Class Method Summary collapse

Class Method Details

.library_versionString

Returns the version of the DuckDB library.

DuckDB.library_version # => "0.2.0"

Returns:

  • (String)


17
18
19
# File 'ext/duckdb/duckdb.c', line 17

static VALUE duckdb_s_library_version(VALUE self) {
    return rb_str_new2(duckdb_library_version());
}