Client APIs
duckdb
**Kind**: instance method of [<code>QueryResult</code>](#::module_duckdb..QueryResult)
<a name="module_duckdb..Database"></a>  
#### duckdb~Database {#docs:api:nodejs:reference::duckdbdatabase}  
Main database interface  
**Kind**: inner property of [<code>duckdb</code>](#::module_duckdb)  
| Param | Description |
| --- | --- |
| path | path to database file or :memory: for in-memory database |
| access_mode | access mode |
| config | the configuration object |
| callback | callback function |  
* [~Database](#::module_duckdb..Database)
* [.close(callback)](#::module_duckdb..Database+close) ⇒ <code>void</code>
* [.close_internal(callback)](#::module_duckdb..Database+close_internal) ⇒ <code>void</code>
* [.wait(callback)](#::module_duckdb..Database+wait) ⇒ <code>void</code>
* [.serialize(callback)](#::module_duckdb..Database+serialize) ⇒ <code>void</code>
* [.parallelize(callback)](#::module_duckdb..Database+parallelize) ⇒ <code>void</code>
* [.connect(path)](#::module_duckdb..Database+connect) ⇒ <code>Connection</code>
* [.interrupt(callback)](#::module_duckdb..Database+interrupt) ⇒ <code>void</code>
* [.prepare(sql)](#::module_duckdb..Database+prepare) ⇒ <code>Statement</code>
* [.run(sql, ...params, callback)](#::module_duckdb..Database+run) ⇒ <code>void</code>
* [.scanArrowIpc(sql, ...params, callback)](#::module_duckdb..Database+scanArrowIpc) ⇒ <code>void</code>
* [.each(sql, ...params, callback)](#::module_duckdb..Database+each) ⇒ <code>void</code>
* [.stream(sql, ...params)](#::module_duckdb..Database+stream)
* [.all(sql, ...params, callback)](#::module_duckdb..Database+all) ⇒ <code>void</code>
* [.arrowIPCAll(sql, ...params, callback)](#::module_duckdb..Database+arrowIPCAll) ⇒ <code>void</code>
* [.arrowIPCStream(sql, ...params, callback)](#::module_duckdb..Database+arrowIPCStream) ⇒ <code>void</code>
* [.exec(sql, ...params, callback)](#::module_duckdb..Database+exec) ⇒ <code>void</code>
* [.register_udf(name, return_type, fun)](#::module_duckdb..Database+register_udf) ⇒ <code>this</code>
* [.register_buffer(name)](#::module_duckdb..Database+register_buffer) ⇒ <code>this</code>
* [.unregister_buffer(name)](#::module_duckdb..Database+unregister_buffer) ⇒ <code>this</code>
* [.unregister_udf(name)](#::module_duckdb..Database+unregister_udf) ⇒ <code>this</code>
* [.registerReplacementScan(fun)](#::module_duckdb..Database+registerReplacementScan) ⇒ <code>this</code>
* [.tokenize(text)](#::module_duckdb..Database+tokenize) ⇒ <code>ScriptTokens</code>
* [.get()](#::module_duckdb..Database+get)  
<a name="module_duckdb..Database+close"></a>