⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 10 of about 13 for destroyed (0.005 sec.)
Values 13214
The value class represents a single value of any type. API Reference Overview void duckdb_destroy_value ( duckdb_value * value ); duckdb_value duckdb_create_varchar ( const char * text ); duckdb_value duckdb_create_varchar_length ( const ch ... db_create_varchar ( const char * text ); Parameters text : The null-terminated string Return Value The value. This must be destroyed with duckdb_destroy_value . duckdb_create_varchar_length Creates a value from a string Syntax duckdb_value duckdb_create_v ... r * text , idx_t length ); Parameters text : The text length : The length of the text Return Value The value. This must be destroyed with duckdb_destroy_value . duckdb_create_bool Creates a value from a boolean Syntax duckdb_value duckdb_create_bool ( boo ... l input ); Parameters input : The boolean value Return Value The value. This must be destroyed with duckdb_destroy_value . duckdb_create_int8 Creates a value from an int8_t (a tinyint) Syntax duckdb_value duckdb_creat ...
https://man.mtool.work/duckdb/2.0/clients/c/value.html
Complete API 12281
This page contains the reference for DuckDB's C API. The reference contains several deprecation notices. These concern methods whose long-term availability is not guaranteed as they may be removed in the future. That said, DuckDB's develope ... ance cache is necessary if a client/program (re)opens multiple databases to the same file within the same process. Must be destroyed with 'duckdb_destroy_instance_cache'. Return Value The database instance cache. Syntax duckdb_instance_cache duckdb_create ... ntext * out_context ); Parameters connection : The connection. out_context : The client context of the connection. Must be destroyed with duckdb_destroy_client_context . duckdb_connection_get_arrow_options Retrieves the arrow options of the connection. Sy ... le names. Return Value A duckdb_value of type VARCHAR[] containing the (fully qualified) table names of the query. Must be destroyed with duckdb_destroy_value. duckdb_create_config Initializes an empty configuration object that can be used to provide star ...
https://man.mtool.work/duckdb/2.0/clients/c/api.html
Types 9378
DuckDB is a strongly typed database system. As such, every column has a single type specified. This type is constant over the entire column. That is to say, a column that is labeled as an INTEGER column will only contain INTEGER values. Duc ... chunk from the duckdb_result. This function should be called repeatedly until the result is exhausted. The result must be destroyed with duckdb_destroy_data_chunk . This function supersedes all duckdb_value functions, as well as the duckdb_column_data an ... lement. duckdb_create_logical_type Creates a duckdb_logical_type from a primitive type. The resulting logical type must be destroyed with duckdb_destroy_logical_type . Returns an invalid logical type, if type is: DUCKDB_TYPE_INVALID , DUCKDB_TYPE_DECIMAL ... type. duckdb_logical_type_get_alias Returns the alias of a duckdb_logical_type, if set, else nullptr . The result must be destroyed with duckdb_free . Syntax char * duckdb_logical_type_get_alias ( duckdb_logical_type type ); Parameters type : The logical ...
https://man.mtool.work/duckdb/2.0/clients/c/types.html
Table Functions 8481
The table function API can be used to define a table function that can then be called from within DuckDB in the FROM clause of a query. API Reference Overview duckdb_table_function duckdb_create_table_function (); void duckdb_destroy_table_ ... o info , const char * error ); duckdb_create_table_function Creates a new empty table function. The return value should be destroyed with duckdb_destroy_table_function . Return Value The table function object. Syntax duckdb_table_function duckdb_create_ta ... ; Parameters info : The bind info object of the table function. out_context : The client context of the bind info. Must be destroyed with duckdb_destroy_client_context . duckdb_bind_add_result_column Adds a result column to the output of the table functio ... rn Value The number of parameters duckdb_bind_get_parameter Retrieves the parameter at the given index. The result must be destroyed with duckdb_destroy_value . Syntax duckdb_value duckdb_bind_get_parameter ( duckdb_bind_info info , idx_t index ); Paramet ...
https://man.mtool.work/duckdb/2.0/clients/c/table_functions.html
Appender 8217
Appenders are the most efficient way of loading data into DuckDB from within the C interface, and are recommended for fast data loading. The appender is much faster than using prepared statements or individual INSERT INTO statements. Append ... nder appender , duckdb_data_chunk chunk ); duckdb_appender_create Creates an appender object. Note that the object must be destroyed with duckdb_appender_destroy . Syntax duckdb_state duckdb_appender_create ( duckdb_connection connection , const char * sc ... on success or DuckDBError on failure. duckdb_appender_create_ext Creates an appender object. Note that the object must be destroyed with duckdb_appender_destroy . Syntax duckdb_state duckdb_appender_create_ext ( duckdb_connection connection , const char ... _query Creates an appender object that executes the given query with any data appended to it. Note that the object must be destroyed with duckdb_appender_destroy . Syntax duckdb_state duckdb_appender_create_query ( duckdb_connection connection , const cha ...
https://man.mtool.work/duckdb/2.0/clients/c/appender.html
Query 8164
The duckdb_query method allows SQL queries to be run in DuckDB from C. This method takes two parameters, a (null-terminated) SQL query string and a duckdb_result result pointer. The result pointer may be NULL if the application is not inter ... ns the column name of the specified column. The result should not need to be freed; the column names will automatically be destroyed when the result is destroyed. Returns NULL if the column is out of range. Syntax const char * duckdb_column_name ( duckdb_ ... duckdb_column_logical_type Returns the logical column type of the specified column. The return type of this call should be destroyed with duckdb_destroy_logical_type . Returns NULL if the column is out of range. Syntax duckdb_logical_type duckdb_column_lo ... e result object to fetch arrow options from. Return Value The arrow options associated with the given result. This must be destroyed with duckdb_destroy_arrow_options . duckdb_column_count Returns the number of columns present in the result object. Syntax ...
https://man.mtool.work/duckdb/2.0/clients/c/query.html
Prepared Statements 8076
A prepared statement is a parameterized query. The query is prepared with question marks ( ? ) or dollar symbols ( $1 ) indicating the parameters of the query. Values can then be bound to these parameters, after which the prepared statement ... a prepared statement object from a query. Note that after calling duckdb_prepare , the prepared statement should always be destroyed using duckdb_destroy_prepare , even if the prepare fails. If the prepare fails, duckdb_prepare_error can be called to obta ... the parameter index is out of range or the statement was not successfully prepared. The return type of this call should be destroyed with duckdb_destroy_logical_type . Syntax duckdb_logical_type duckdb_param_logical_type ( duckdb_prepared_statement prepar ... the prepared_statement. Returns DUCKDB_TYPE_INVALID if the column is out of range. The return type of this call should be destroyed with duckdb_destroy_logical_type . Syntax duckdb_logical_type duckdb_prepared_statement_column_logical_type ( duckdb_prepa ...
https://man.mtool.work/duckdb/2.0/clients/c/prepared.html
Startup & Shutdown 8041
To use DuckDB, you must first initialize a duckdb_database handle using duckdb_open() . duckdb_open() takes as parameter the database file to read and write from. The special value NULL ( nullptr ) can be used to create an in-memory databas ... ance cache is necessary if a client/program (re)opens multiple databases to the same file within the same process. Must be destroyed with 'duckdb_destroy_instance_cache'. Return Value The database instance cache. Syntax duckdb_instance_cache duckdb_create ... ntext * out_context ); Parameters connection : The connection. out_context : The client context of the connection. Must be destroyed with duckdb_destroy_client_context . duckdb_connection_get_arrow_options Retrieves the arrow options of the connection. Sy ... le names. Return Value A duckdb_value of type VARCHAR[] containing the (fully qualified) table names of the query. Must be destroyed with duckdb_destroy_value. ...
https://man.mtool.work/duckdb/2.0/clients/c/connect.html
Data Chunks 7988
Data chunks represent a horizontal slice of a table. They hold a number of vectors , that can each hold up to the VECTOR_SIZE rows. The vector size can be obtained through the duckdb_vector_size function and is configurable, but is usually ... k , idx_t size ); duckdb_create_data_chunk Creates an empty data chunk with the specified column types. The result must be destroyed with duckdb_destroy_data_chunk . Syntax duckdb_data_chunk duckdb_create_data_chunk ( duckdb_logical_type * types , idx_t c ... lumn index in the data chunk. The pointer to the vector is valid for as long as the chunk is alive. It does NOT need to be destroyed. Syntax duckdb_vector duckdb_data_chunk_get_vector ( duckdb_data_chunk chunk , idx_t col_idx ); Parameters chunk : The dat ...
https://man.mtool.work/duckdb/2.0/clients/c/data_chunk.html
Configuration 7671
Configuration options can be provided to change different settings of the database system. Note that many of these settings can be changed later on using PRAGMA statements as well. The configuration object should be created, filled with val ... t that can be used to provide start-up options for the DuckDB instance through duckdb_open_ext . The duckdb_config must be destroyed using 'duckdb_destroy_config' This will always succeed unless there is a malloc failure. Note that duckdb_destroy_config s ...
https://man.mtool.work/duckdb/2.0/clients/c/config.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work