Results of 1 - 10 of about 69 for connection (0.011 sec.)
- Startup & Shutdown 11538
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ 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 N
...isk (i.e., all data is lost when you exit the process). With the duckdb_database handle, you can create one or many duckdb_connection using duckdb_connect() . While individual connections are thread-safe, they will be locked during querying. It is therefor...e recommended that each thread uses its own connection to allow for the best parallel performance. All duckdb_connection s have to explicitly be disconnected with duckdb_disconn...as to be explicitly closed with duckdb_close() to avoid 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) { // hand... - https://man.mtool.work/duckdb/1.3/clients/c/connect.html
- Node.js API 10888
- 新しいマニュアルがあります。 最新版(2.0)のトップ へ Modules duckdb Typedefs ColumnInfo : object TypeInfo : object DuckDbError : object HTTPError : object duckdb Summary : DuckDB is an embeddable SQL OLAP Database Management System duckdb
...~Connection .run(sql, ...params, callback) ⇒ void .all(sql, ...params, callback) ⇒ void .arrowIPCAll(sql, ...params, callback) ⇒ void...nternal(callback) ⇒ void .wait(callback) ⇒ void .serialize(callback) ⇒ void .parallelize(callback) ⇒ void .connect(path) ⇒ Connection .interrupt(callback) ⇒ void .prepare(sql) ⇒ Statement .run(sql, ...params, callback) ⇒ void .scanArrowIpc(sql, ...params,...RITE : number ~OPEN_CREATE : number ~OPEN_FULLMUTEX : number ~OPEN_SHAREDCACHE : number ~OPEN_PRIVATECACHE : number duckdb~Connection Kind : inner class of duckdb ~Connection .run(sql, ...params, callback) ⇒ void .all(sql, ...params, callback) ⇒ void .arro... - https://man.mtool.work/duckdb/1.3/clients/nodejs/reference.html
- Python Client API 10477
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ class duckdb. BinaryValue ( object : Any ) Bases: Value class duckdb. BinderException Bases: ProgrammingError class duckdb. BitValue ( object : Any ) Bases: Value class duckdb. BlobV
...lumnExpression ( * args ) → duckdb.duckdb.Expression Create a column reference from the provided column name class duckdb. ConnectionException Bases: OperationalError duckdb. ConstantExpression ( value : object ) → duckdb.duckdb.Expression Create a constan...ultExpression ( ) → duckdb.duckdb.Expression class duckdb. DoubleValue ( object : Any ) Bases: Value class duckdb. DuckDBPyConnection Bases: pybind11_object append ( self : duckdb.duckdb.DuckDBPyConnection , table_name : str , df : pandas.DataFrame , * , b...y_name : bool = False ) → duckdb.duckdb.DuckDBPyConnection Append the passed DataFrame to the named table array_type ( self : duckdb.duckdb.DuckDBPyConnection , type : duckdb.duckdb... - https://man.mtool.work/duckdb/1.3/clients/python/reference/
- Node.js Client (Neo) 10378
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The latest version of the DuckDB Node.js (Neo) client is 1.5.6. An API for using DuckDB in Node.js . The primary package, @duckdb/node-api , is a high-level API meant for application
...db/node-api'; console.log(duckdb.version()); console.log(duckdb.configurationOptionDescriptions()); Connect import { DuckDBConnection } from '@duckdb/node-api'; const connection = await DuckDBConnection.create(); This uses the default instance. For advance...e = new DuckDBInstanceCache(); const instance = await cache.getOrCreateInstance('my_duckdb.db'); Connect to Instance const connection = await instance.connect(); Disconnect Connections will be disconnected automatically soon after their reference is droppe...d, but you can also disconnect explicitly if and when you want: connection.disconnectSync(); or, equivalently: connection.closeSync(); Run SQL const result = await connection.run('from test_all_typ... - https://man.mtool.work/duckdb/1.3/clients/node_neo/overview.html
- Complete API 10251
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ 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
...error ); void duckdb_close ( duckdb_database * database ); duckdb_state duckdb_connect ( duckdb_database database , duckdb_connection * out_connection ); void duckdb_interrupt ( duckdb_connection connection ); duckdb_query_progress_type duckdb_query_progre...ss ( duckdb_connection connection ); void duckdb_disconnect ( duckdb_connection * connection ); void duckdb_connection_get_client_context ( duckd...b_connection connection , duckdb_client_context * out_context ); idx_t duckdb_client_context_get_connection_id ( duckdb_client_context... - https://man.mtool.work/duckdb/1.3/clients/c/api.html
- Swift Client 10082
- 新しいマニュアルがあります。 最新版(2.0)のトップ へ DuckDB has a Swift client. See the announcement post for details. Instantiating DuckDB DuckDB supports both in-memory and persistent databases. To work with an in-memory datatabase, run:
...ersistent database, run: let database = try Database(store: .file(at: "test.db")) Queries can be issued through a database connection. let connection = try database.connect() DuckDB supports multiple connections per database. Application Example The rest o...reating an Application-Specific Type We first create an application-specific type that we'll use to house our database and connection and through which we'll eventually define our app-specific queries. import DuckDB final class ExoplanetStore { let databas...e: Database let connection: Connection init(database: Database, connection: Connection) { self.database = database self.connection = connection } } L... - https://man.mtool.work/duckdb/1.3/clients/swift.html
- ODBC 101: A Duck Themed Guide to ODBC 9233
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ What is ODBC? ODBC which stands for Open Database Connectivity, is a standard that allows different programs to talk to different databases including, of course, DuckDB. This makes i
...tabase. There are several different types of handles, each with a different purpose, these are the environment handle, the connection handle, the statement handle, and the descriptor handle. Handles are allocated using the SQLAllocHandle which takes as inp...urce allocation | | Additional information | Must be allocated once per application upon starting, and freed at the end. | Connection | Handle name | Connection | | Type name | SQL_HANDLE_DBC | | Description | Represents a connection to a data source. Used...to establish, manage, and terminate connections. Defines both the driver and the data source to use within the driver. | | Use case | Establishing a connection to a data... - https://man.mtool.work/duckdb/1.3/guides/odbc/general.html
- ADBC Client 9092
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The latest version of the DuckDB ADBC client is 1.5.6. Arrow Database Connectivity (ADBC) , similarly to ODBC and JDBC, is a C-style API that enables code portability between differe
...nation. Implemented Functionality The DuckDB-ADBC driver implements the full ADBC specification, with the exception of the ConnectionReadPartition and StatementExecutePartitions functions. Both of these functions exist to support systems that internally pa...eRelease Destroy the database. (AdbcDatabase *database, AdbcError *error) AdbcDatabaseRelease(&adbc_database, &adbc_error) Connection A set of functions that create and destroy a connection to interact with a database. Function name Description Arguments E...xample ConnectionNew Allocate a new (but uninitialized) connection. (AdbcConnection*, AdbcError*) AdbcConnectionNew(&adbc_connection, &adbc_... - https://man.mtool.work/duckdb/1.3/clients/adbc.html
- Python DB API 9092
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The standard DuckDB Python API provides a SQL interface compliant with the DB-API 2.0 specification described by PEP 249 similar to the SQLite Python API . Connection To use the modu
...le, you must first create a DuckDBPyConnection object that represents a connection to a database. This is done through the duckdb.connect method. The 'config' keyword ar...gument can be used to provide a dict that contains key->value pairs referencing settings understood by DuckDB. In-Memory Connection The special value :memory: can be used to create an in-memory database . Note that for an in-memory database no data is pe...rsisted to disk (i.e., all data is lost when you exit the Python process). Named In-memory Connections The special value :memory: can also be postfixed with a name, for example: :memory:conn3 . When a name is provided, subse... - https://man.mtool.work/duckdb/1.3/clients/python/dbapi.html
- Rust Client 9021
- 新しいマニュアルがあります。 最新版(2.0)のトップ へ The latest version of the DuckDB Rust client is 1.5.6. Installation The DuckDB Rust client can be installed from crates.io . Please see the docs.rs for details. Basic API Usage duckdb-rs
...n the DuckDB C API , please refer to the README for details. Startup & Shutdown To use duckdb, you must first initialize a Connection handle using Connection::open() . Connection::open() takes as parameter the database file to read and write from. If the d...ase file does not exist, it will be created (the file extension may be .db , .duckdb , or anything else). You can also use Connection::open_in_memory() to create an in-memory database . Note that for an in-memory database no data is persisted to disk (i.e...., all data is lost when you exit the process). use duckdb::{params, Connection, Result}; let conn = Connection::open_in_memory()?; The Connection will automatically close the underlying db connection f... - https://man.mtool.work/duckdb/1.3/clients/rust.html
DuckDB 2.0 Documentation / man.mtool.work