Class NativeMethods.Startup
- Namespace
- DuckDB.NET.Native
- Assembly
- DuckDB.NET.Bindings.dll
public static class NativeMethods.Startup
- Inheritance
-
NativeMethods.Startup
- Inherited Members
-
Methods
DuckDBClose(out nint)
public static extern void DuckDBClose(out nint database)
Parameters
database
nint
DuckDBConnect(DuckDBDatabase, out DuckDBNativeConnection)
public static extern DuckDBState DuckDBConnect(DuckDBDatabase database, out DuckDBNativeConnection connection)
Parameters
database
DuckDBDatabase
connection
DuckDBNativeConnection
Returns
- DuckDBState
DuckDBDisconnect(out nint)
public static extern void DuckDBDisconnect(out nint connection)
Parameters
connection
nint
DuckDBInterrupt(DuckDBNativeConnection)
public static extern void DuckDBInterrupt(DuckDBNativeConnection connection)
Parameters
connection
DuckDBNativeConnection
DuckDBLibraryVersion()
public static extern nint DuckDBLibraryVersion()
Returns
- nint
DuckDBOpen(SafeUnmanagedMemoryHandle, out DuckDBDatabase)
public static extern DuckDBState DuckDBOpen(SafeUnmanagedMemoryHandle path, out DuckDBDatabase database)
Parameters
path
SafeUnmanagedMemoryHandle
database
DuckDBDatabase
Returns
- DuckDBState
DuckDBOpen(SafeUnmanagedMemoryHandle, out DuckDBDatabase, DuckDBConfig, out nint)
public static extern DuckDBState DuckDBOpen(SafeUnmanagedMemoryHandle path, out DuckDBDatabase database, DuckDBConfig config, out nint error)
Parameters
path
SafeUnmanagedMemoryHandle
database
DuckDBDatabase
config
DuckDBConfig
error
nint
Returns
- DuckDBState
DuckDBOpen(string?, out DuckDBDatabase)
public static extern DuckDBState DuckDBOpen(string? path, out DuckDBDatabase database)
Parameters
path
string
database
DuckDBDatabase
Returns
- DuckDBState
DuckDBOpen(string?, out DuckDBDatabase, DuckDBConfig, out nint)
public static extern DuckDBState DuckDBOpen(string? path, out DuckDBDatabase database, DuckDBConfig config, out nint error)
Parameters
path
string
database
DuckDBDatabase
config
DuckDBConfig
error
nint
Returns
- DuckDBState
DuckDBQueryProgress(DuckDBNativeConnection)
public static extern DuckDBQueryProgress DuckDBQueryProgress(DuckDBNativeConnection connection)
Parameters
connection
DuckDBNativeConnection
Returns
- DuckDBQueryProgress