Crate libduckdb_sys[][src]

Structs

Enums

Error Codes

Constants

Statics

Functions

! binds parameters to prepared statement

! Closes the database.

! Returns the column name of the specified column. The result does not need to be freed; ! the column names will automatically be destroyed when the result is destroyed.

! Creates a connection to the specified database. [OUT: connection]

! Destroys the specified prepared statement descriptor

! Destroys the specified result

! Closes the specified connection handle

! Executes the prepared statements with currently bound parameters

! Free a value returned from duckdb_malloc, duckdb_value_varchar or duckdb_value_blob

! Allocate [size] amounts of memory using the duckdb internal malloc function. Any memory allocated in this manner ! should be freed using duckdb_free

! Opens a database file at the given path (nullptr for in-memory). Returns DuckDBSuccess on success, or DuckDBError on ! failure. [OUT: database]

! prepares the specified SQL query in the specified connection handle. [OUT: prepared statement descriptor]

! Executes the specified SQL query in the specified connection handle. [OUT: result descriptor]

! Fetches a blob from a result set column. Returns a blob with blob.data set to nullptr on failure or NULL. The ! resulting “blob.data” must be freed with duckdb_free.

! Converts the specified value to a bool. Returns false on failure or NULL.

! Converts the specified value to a double. Returns 0.0 on failure or NULL.

! Converts the specified value to a float. Returns 0.0 on failure or NULL.

! Converts the specified value to an int8_t. Returns 0 on failure or NULL.

! Converts the specified value to an int16_t. Returns 0 on failure or NULL.

! Converts the specified value to an int64_t. Returns 0 on failure or NULL.

! Converts the specified value to an int64_t. Returns 0 on failure or NULL.

! Converts the specified value to an uint8_t. Returns 0 on failure or NULL.

! Converts the specified value to an uint16_t. Returns 0 on failure or NULL.

! Converts the specified value to an uint64_t. Returns 0 on failure or NULL.

! Converts the specified value to an uint64_t. Returns 0 on failure or NULL.

! Converts the specified value to a string. Returns nullptr on failure or NULL. The result must be freed with ! duckdb_free.

Type Definitions

Unions