Results of 1 - 9 of about 9 for DuckDBError (0.005 sec.)
- Appender – DuckDB 12169
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...memory. Note that duckdb_appender_destroy should always be called on the resulting appender, even if the function returns DuckDBError . Example duckdb_query ( con , "CREATE TABLE people (id INTEGER, name VARCHAR)" , NULL ); duckdb_appender appender ; if (...duckdb_appender_create ( con , NULL , "people" , & appender ) == DuckDBError ) { // handle error } // append the first row (1, Mark) duckdb_append_int32 ( appender , 1 ); duckdb_append_varchar ( appe...able : The table name to append to. out_appender : The resulting appender object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_appender_create_ext Creates an appender object. Note that the object must be destroyed with duckdb_appe... - https://man.mtool.work/duckdb/1.3/clients/c/appender.html
- Startup & Shutdown – DuckDB 10353
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...d memory and file handle leaking. Example duckdb_database db ; duckdb_connection con ; if ( duckdb_open ( NULL , & db ) == DuckDBError ) { // handle error } if ( duckdb_connect ( db , & con ) == DuckDBError ) { // handle error } // run queries... // cleanup...ached database. config : (Optional) configuration used to create the database. out_error : If set and the function returns DuckDBError , this contains the error message. Note that the error message must be freed using duckdb_free . Return Value DuckDBSucces...s on success or DuckDBError on failure. duckdb_destroy_instance_cache Destroys an existing database instance cache and de-allocates its memory. Syntax... - https://man.mtool.work/duckdb/1.3/clients/c/connect.html
- Configuration – DuckDB 10155
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...e duckdb_database db ; duckdb_config config ; // create the configuration object if ( duckdb_create_config ( & config ) == DuckDBError ) { // handle error } // set some configuration options duckdb_set_config ( config , "access_mode" , "READ_WRITE" ); // or...lt_order" , "DESC" ); // open the database using the configuration if ( duckdb_open_ext ( NULL , & db , config , NULL ) == DuckDBError ) { // handle error } // cleanup the configuration object duckdb_destroy_config ( & config ); // run queries... // cleanup...loc failure. Note that duckdb_destroy_config should always be called on the resulting config, even if the function returns DuckDBError . Syntax duckdb_state duckdb_create_config ( duckdb_config * out_config ); Parameters out_config : The result configuratio... - https://man.mtool.work/duckdb/1.3/clients/c/config.html
- Complete API – DuckDB 10066
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...ached database. config : (Optional) configuration used to create the database. out_error : If set and the function returns DuckDBError , this contains the error message. Note that the error message must be freed using duckdb_free . Return Value DuckDBSucces...s on success or DuckDBError on failure. duckdb_destroy_instance_cache Destroys an existing database instance cache and de-allocates its memory. Syntax...d :memory: open an in-memory database. out_database : The result database object. Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_open_ext Extended version of duckdb_open. Creates a new database or opens an existing database file sto... - https://man.mtool.work/duckdb/1.3/clients/c/api.html
- Query – DuckDB 9382
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...t ; // create a table state = duckdb_query ( con , "CREATE TABLE integers (i INTEGER, j INTEGER);" , NULL ); if ( state == DuckDBError ) { // handle error } // insert three rows into the table state = duckdb_query ( con , "INSERT INTO integers VALUES (3, 4)..., (5, 6), (7, NULL);" , NULL ); if ( state == DuckDBError ) { // handle error } // query rows again state = duckdb_query ( con , "SELECT * FROM integers" , & result ); if ( state =...= DuckDBError ) { // handle error } // handle the result // ... // destroy the result after we are done with it duckdb_destroy_result (... - https://man.mtool.work/duckdb/1.3/clients/c/query.html
- Node.js API – DuckDB 7747
- This page is for DuckDB 1.3, which is outdated. Switch to the current documentation . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Ove
...Client APIs / Node.js (Deprecated) Copy Markdown Node.js API Modules duckdb Typedefs ColumnInfo : object TypeInfo : object DuckDbError : object HTTPError : object duckdb Summary : DuckDB is an embeddable SQL OLAP Database Management System duckdb ~Connectio...by tokenize . Kind : inner property of duckdb duckdb~ERROR : number Check that errno attribute equals this to check for a duckdb error Kind : inner constant of duckdb duckdb~OPEN_READONLY : number Open database in readonly mode Kind : inner constant of duc...bal typedef Properties Name Type Description id string Type ID [alias] string SQL type alias sql_type string SQL type name DuckDbError : object Kind : global typedef Properties Name Type Description errno number -1 for DuckDB errors message string Error mes... - https://man.mtool.work/duckdb/1.3/clients/nodejs/reference.html
- Prepared Statements – DuckDB 7657
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...d_statement stmt ; duckdb_result result ; if ( duckdb_prepare ( con , "INSERT INTO integers VALUES ($1, $2)" , & stmt ) == DuckDBError ) { // handle error } duckdb_bind_int32 ( stmt , 1 , 42 ); // the parameter index starts counting at 1! duckdb_bind_int32...query result sets using prepared statements if ( duckdb_prepare ( con , "SELECT * FROM integers WHERE i = ?" , & stmt ) == DuckDBError ) { // handle error } duckdb_bind_int32 ( stmt , 1 , 42 ); duckdb_execute_prepared ( stmt , & result ); // do something wi...query to prepare out_prepared_statement : The resulting prepared statement object Return Value DuckDBSuccess on success or DuckDBError on failure. duckdb_destroy_prepare Closes the prepared statement and de-allocates all memory allocated for the statement.... - https://man.mtool.work/duckdb/1.3/clients/c/prepared.html
- Vectors – DuckDB 6776
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...x_t size ); Parameters vector : The list vector. size : The size of the child list. Return Value The duckdb state. Returns DuckDBError if the vector is nullptr. duckdb_list_vector_reserve Sets the total capacity of the underlying child-vector of a list. Aft...meters vector : The list vector. required_capacity : the total capacity to reserve. Return Value The duckdb state. Returns DuckDBError if the vector is nullptr. duckdb_struct_vector_get_child Retrieves the child vector of a struct vector. The resulting vect... - https://man.mtool.work/duckdb/1.3/clients/c/vector.html
- Table Functions – DuckDB 6489
- This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview
...function, an init function and a main function. If the function is incomplete or a function with this name already exists DuckDBError is returned. Syntax duckdb_state duckdb_register_table_function ( duckdb_connection con , duckdb_table_function function )... - https://man.mtool.work/duckdb/1.3/clients/c/table_functions.html
PREV
1
NEXT
DuckDB 1.3 Documentation / man.mtool.work