⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 5 of about 5 for Helpers (0.005 sec.)
Catch C/C++ Tests 11508
While we prefer the sqllogic tests for testing most functionality, for certain tests only SQL is not sufficient. This typically happens when you want to test the C++ API. When using pure SQL is really not an option it might be necessary to ... tory as well. Here is an example of a catch test that tests the storage of the system: #include "catch.hpp" #include "test_helpers.hpp" TEST_CASE("Test simple storage", "[storage]") { auto config = GetTestConfig(); unique_ptr<QueryResult> result; auto s ...
https://man.mtool.work/duckdb/2.0/dev/sqllogictest/catch.html
Types 10608
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 ... count ( duckdb_result result ); duckdb_result_type duckdb_result_return_type ( duckdb_result result ); Date Time Timestamp Helpers duckdb_date_struct duckdb_from_date ( duckdb_date date ); duckdb_date duckdb_to_date ( duckdb_date_struct date ); bool duc ... _is_finite_timestamp_ms ( duckdb_timestamp_ms ts ); bool duckdb_is_finite_timestamp_ns ( duckdb_timestamp_ns ts ); Hugeint Helpers double duckdb_hugeint_to_double ( duckdb_hugeint val ); duckdb_hugeint duckdb_double_to_hugeint ( double val ); Decimal He ...
https://man.mtool.work/duckdb/2.0/clients/c/types.html
Complete API 8824
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 ... b_result * result , idx_t col , idx_t row ); bool duckdb_value_is_null ( duckdb_result * result , idx_t col , idx_t row ); Helpers void * duckdb_malloc ( size_t size ); void duckdb_free ( void * ptr ); idx_t duckdb_vector_size (); bool duckdb_string_is_ ... g_t_length ( duckdb_string_t string ); const char * duckdb_string_t_data ( duckdb_string_t * string ); Date Time Timestamp Helpers duckdb_date_struct duckdb_from_date ( duckdb_date date ); duckdb_date duckdb_to_date ( duckdb_date_struct date ); bool duc ... _is_finite_timestamp_ms ( duckdb_timestamp_ms ts ); bool duckdb_is_finite_timestamp_ns ( duckdb_timestamp_ns ts ); Hugeint Helpers double duckdb_hugeint_to_double ( duckdb_hugeint val ); duckdb_hugeint duckdb_double_to_hugeint ( double val ); Unsigned H ...
https://man.mtool.work/duckdb/2.0/clients/c/api.html
Connect 8824
Overview The Go client works through the standard database/sql types: a *sql.DB is a pool of connections to a DuckDB database. This page covers opening in-memory and file-backed databases, passing DuckDB configuration options, running initi ... conn, err := db.Conn(context.Background()) if err != nil { log.Fatal(err) } defer conn.Close() The client also exposes two helpers that take a *sql.Conn : duckdb.GetTableNames() returns the table names referenced by a query, optionally fully qualified, ...
https://man.mtool.work/duckdb/2.0/clients/go/connecting.html
Expression API 6140
The Expression class represents an instance of an expression . Why Would I Use the Expression API? Use expressions to build filters and computed columns in Python. They are useful when column names or conditions depend on your code. import ... out. The constructors of the earlier expression API still work and build the same expressions, but new code should use the helpers: Helper Older constructor col(name) ColumnExpression(name) lit(value) ConstantExpression(value) when(condition).then(value ...
https://man.mtool.work/duckdb/2.0/clients/python/expression.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work