Crate libduckdb_sys_queryscript

Source

Structs§

Error
_OSUnalignedU16
_OSUnalignedU32
_OSUnalignedU64
__BindgenBitfieldUnit
__arm_legacy_debug_state
__arm_pagein_state
__darwin_arm_cpmu_state64
__darwin_arm_debug_state32
__darwin_arm_debug_state64
__darwin_arm_exception_state
__darwin_arm_exception_state64
__darwin_arm_neon_state
__darwin_arm_neon_state64
__darwin_arm_thread_state
__darwin_arm_thread_state64
__darwin_arm_vfp_state
__darwin_mcontext32
__darwin_mcontext64
__darwin_pthread_handler_rec
__darwin_sigaltstack
__darwin_ucontext
__sigaction
__siginfo
_duckdb_appender
_duckdb_arrow
_duckdb_arrow_array
_duckdb_arrow_schema
_duckdb_config
_duckdb_connection
_duckdb_data_chunk
_duckdb_database
_duckdb_extracted_statements
_duckdb_logical_type
_duckdb_pending_result
_duckdb_prepared_statement
_duckdb_value
_duckdb_vector
_opaque_pthread_attr_t
_opaque_pthread_cond_t
_opaque_pthread_condattr_t
_opaque_pthread_mutex_t
_opaque_pthread_mutexattr_t
_opaque_pthread_once_t
_opaque_pthread_rwlock_t
_opaque_pthread_rwlockattr_t
_opaque_pthread_t
div_t
duckdb_blob
duckdb_column
duckdb_date
! Days are stored as days since 1970-01-01 ! Use the duckdb_from_date/duckdb_to_date function to extract individual information
duckdb_date_struct
duckdb_decimal
duckdb_hugeint
! Hugeints are composed in a (lower, upper) component ! The value of the hugeint is upper * 2^64 + lower ! For easy usage, the functions duckdb_hugeint_to_double/duckdb_double_to_hugeint are recommended
duckdb_interval
duckdb_list_entry
duckdb_result
duckdb_string
duckdb_time
! Time is stored as microseconds since 00:00:00 ! Use the duckdb_from_time/duckdb_to_time function to extract individual information
duckdb_time_struct
duckdb_timestamp
! Timestamps are stored as microseconds since 1970-01-01 ! Use the duckdb_from_timestamp/duckdb_to_timestamp function to extract individual information
duckdb_timestamp_struct
ldiv_t
lldiv_t
proc_rlimit_control_wakeupmon
rlimit
rusage
rusage_info_v0
rusage_info_v1
rusage_info_v2
rusage_info_v3
rusage_info_v4
rusage_info_v5
rusage_info_v6
sigaction
sigevent
sigstack
sigvec
timeval
wait__bindgen_ty_1
wait__bindgen_ty_2

Enums§

ErrorCode
Error Codes

Constants§

BIG_ENDIAN
BUS_ADRALN
BUS_ADRERR
BUS_NOOP
BUS_OBJERR
BYTE_ORDER
CLD_CONTINUED
CLD_DUMPED
CLD_EXITED
CLD_KILLED
CLD_NOOP
CLD_STOPPED
CLD_TRAPPED
CPUMON_MAKE_FATAL
DUCKDB_API_0_3_1
DUCKDB_API_0_3_2
DUCKDB_API_LATEST
DUCKDB_API_VERSION
DUCKDB_TYPE_DUCKDB_TYPE_BIGINT
DUCKDB_TYPE_DUCKDB_TYPE_BIT
DUCKDB_TYPE_DUCKDB_TYPE_BLOB
DUCKDB_TYPE_DUCKDB_TYPE_BOOLEAN
DUCKDB_TYPE_DUCKDB_TYPE_DATE
DUCKDB_TYPE_DUCKDB_TYPE_DECIMAL
DUCKDB_TYPE_DUCKDB_TYPE_DOUBLE
DUCKDB_TYPE_DUCKDB_TYPE_ENUM
DUCKDB_TYPE_DUCKDB_TYPE_FLOAT
DUCKDB_TYPE_DUCKDB_TYPE_HUGEINT
DUCKDB_TYPE_DUCKDB_TYPE_INTEGER
DUCKDB_TYPE_DUCKDB_TYPE_INTERVAL
DUCKDB_TYPE_DUCKDB_TYPE_INVALID
DUCKDB_TYPE_DUCKDB_TYPE_LIST
DUCKDB_TYPE_DUCKDB_TYPE_MAP
DUCKDB_TYPE_DUCKDB_TYPE_SMALLINT
DUCKDB_TYPE_DUCKDB_TYPE_STRUCT
DUCKDB_TYPE_DUCKDB_TYPE_TIME
DUCKDB_TYPE_DUCKDB_TYPE_TIMESTAMP
DUCKDB_TYPE_DUCKDB_TYPE_TIMESTAMP_MS
DUCKDB_TYPE_DUCKDB_TYPE_TIMESTAMP_NS
DUCKDB_TYPE_DUCKDB_TYPE_TIMESTAMP_S
DUCKDB_TYPE_DUCKDB_TYPE_TINYINT
DUCKDB_TYPE_DUCKDB_TYPE_UBIGINT
DUCKDB_TYPE_DUCKDB_TYPE_UINTEGER
DUCKDB_TYPE_DUCKDB_TYPE_UNION
DUCKDB_TYPE_DUCKDB_TYPE_USMALLINT
DUCKDB_TYPE_DUCKDB_TYPE_UTINYINT
DUCKDB_TYPE_DUCKDB_TYPE_UUID
DUCKDB_TYPE_DUCKDB_TYPE_VARCHAR
DuckDBError
DuckDBSuccess
EXIT_FAILURE
EXIT_SUCCESS
FOOTPRINT_INTERVAL_RESET
FPE_FLTDIV
FPE_FLTINV
FPE_FLTOVF
FPE_FLTRES
FPE_FLTSUB
FPE_FLTUND
FPE_INTDIV
FPE_INTOVF
FPE_NOOP
ILL_BADSTK
ILL_COPROC
ILL_ILLADR
ILL_ILLOPC
ILL_ILLOPN
ILL_ILLTRP
ILL_NOOP
ILL_PRVOPC
ILL_PRVREG
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INT64_MAX
INT64_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_FAST64_MAX
INT_FAST64_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
INT_LEAST64_MAX
INT_LEAST64_MIN
IOPOL_APPLICATION
IOPOL_ATIME_UPDATES_DEFAULT
IOPOL_ATIME_UPDATES_OFF
IOPOL_DEFAULT
IOPOL_IMPORTANT
IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT
IOPOL_MATERIALIZE_DATALESS_FILES_OFF
IOPOL_MATERIALIZE_DATALESS_FILES_ON
IOPOL_NORMAL
IOPOL_PASSIVE
IOPOL_SCOPE_DARWIN_BG
IOPOL_SCOPE_PROCESS
IOPOL_SCOPE_THREAD
IOPOL_STANDARD
IOPOL_THROTTLE
IOPOL_TYPE_DISK
IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES
IOPOL_TYPE_VFS_ATIME_UPDATES
IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY
IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION
IOPOL_TYPE_VFS_IGNORE_PERMISSIONS
IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES
IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE
IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME
IOPOL_TYPE_VFS_TRIGGER_RESOLVE
IOPOL_UTILITY
IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF
IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON
IOPOL_VFS_CONTENT_PROTECTION_DEFAULT
IOPOL_VFS_CONTENT_PROTECTION_IGNORE
IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT
IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON
IOPOL_VFS_IGNORE_PERMISSIONS_OFF
IOPOL_VFS_IGNORE_PERMISSIONS_ON
IOPOL_VFS_SKIP_MTIME_UPDATE_OFF
IOPOL_VFS_SKIP_MTIME_UPDATE_ON
IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME
IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT
IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT
IOPOL_VFS_TRIGGER_RESOLVE_OFF
LITTLE_ENDIAN
MAC_OS_VERSION_11_0
MAC_OS_VERSION_12_0
MAC_OS_VERSION_13_0
MAC_OS_X_VERSION_10_0
MAC_OS_X_VERSION_10_1
MAC_OS_X_VERSION_10_2
MAC_OS_X_VERSION_10_3
MAC_OS_X_VERSION_10_4
MAC_OS_X_VERSION_10_5
MAC_OS_X_VERSION_10_6
MAC_OS_X_VERSION_10_7
MAC_OS_X_VERSION_10_8
MAC_OS_X_VERSION_10_9
MAC_OS_X_VERSION_10_10
MAC_OS_X_VERSION_10_11
MAC_OS_X_VERSION_10_12
MAC_OS_X_VERSION_10_13
MAC_OS_X_VERSION_10_14
MAC_OS_X_VERSION_10_15
MAC_OS_X_VERSION_10_16
MAC_OS_X_VERSION_10_10_2
MAC_OS_X_VERSION_10_10_3
MAC_OS_X_VERSION_10_11_2
MAC_OS_X_VERSION_10_11_3
MAC_OS_X_VERSION_10_11_4
MAC_OS_X_VERSION_10_12_1
MAC_OS_X_VERSION_10_12_2
MAC_OS_X_VERSION_10_12_4
MAC_OS_X_VERSION_10_13_1
MAC_OS_X_VERSION_10_13_2
MAC_OS_X_VERSION_10_13_4
MAC_OS_X_VERSION_10_14_1
MAC_OS_X_VERSION_10_14_4
MAC_OS_X_VERSION_10_14_6
MAC_OS_X_VERSION_10_15_1
MINSIGSTKSZ
NSIG
PDP_ENDIAN
POLL_ERR
POLL_HUP
POLL_IN
POLL_MSG
POLL_OUT
POLL_PRI
PRIO_DARWIN_BG
PRIO_DARWIN_NONUI
PRIO_DARWIN_PROCESS
PRIO_DARWIN_THREAD
PRIO_MAX
PRIO_MIN
PRIO_PGRP
PRIO_PROCESS
PRIO_USER
RAND_MAX
RLIMIT_AS
RLIMIT_CORE
RLIMIT_CPU
RLIMIT_CPU_USAGE_MONITOR
RLIMIT_DATA
RLIMIT_FOOTPRINT_INTERVAL
RLIMIT_FSIZE
RLIMIT_MEMLOCK
RLIMIT_NOFILE
RLIMIT_NPROC
RLIMIT_RSS
RLIMIT_STACK
RLIMIT_THREAD_CPULIMITS
RLIMIT_WAKEUPS_MONITOR
RLIM_NLIMITS
RSIZE_MAX
RUSAGE_CHILDREN
RUSAGE_INFO_CURRENT
RUSAGE_INFO_V0
RUSAGE_INFO_V1
RUSAGE_INFO_V2
RUSAGE_INFO_V3
RUSAGE_INFO_V4
RUSAGE_INFO_V5
RUSAGE_INFO_V6
RUSAGE_SELF
RU_PROC_RUNS_RESLIDE
SA_64REGSET
SA_NOCLDSTOP
SA_NOCLDWAIT
SA_NODEFER
SA_ONSTACK
SA_RESETHAND
SA_RESTART
SA_SIGINFO
SA_USERSPACE_MASK
SA_USERTRAMP
SEGV_ACCERR
SEGV_MAPERR
SEGV_NOOP
SIGABRT
SIGALRM
SIGBUS
SIGCHLD
SIGCONT
SIGEMT
SIGEV_NONE
SIGEV_SIGNAL
SIGEV_THREAD
SIGFPE
SIGHUP
SIGILL
SIGINFO
SIGINT
SIGIO
SIGIOT
SIGKILL
SIGPIPE
SIGPROF
SIGQUIT
SIGSEGV
SIGSTKSZ
SIGSTOP
SIGSYS
SIGTERM
SIGTRAP
SIGTSTP
SIGTTIN
SIGTTOU
SIGURG
SIGUSR1
SIGUSR2
SIGVTALRM
SIGWINCH
SIGXCPU
SIGXFSZ
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIG_BLOCK
SIG_SETMASK
SIG_UNBLOCK
SIZE_MAX
SI_ASYNCIO
SI_MESGQ
SI_QUEUE
SI_TIMER
SI_USER
SS_DISABLE
SS_ONSTACK
SV_INTERRUPT
SV_NOCLDSTOP
SV_NODEFER
SV_ONSTACK
SV_RESETHAND
SV_SIGINFO
TRAP_BRKPT
TRAP_TRACE
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINT64_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST64_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST64_MAX
WAIT_ANY
WAIT_MYPGRP
WAKEMON_DISABLE
WAKEMON_ENABLE
WAKEMON_GET_PARAMS
WAKEMON_MAKE_FATAL
WAKEMON_SET_DEFAULTS
WCONTINUED
WCOREFLAG
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
_ARM_SIGNAL_
_DARWIN_FEATURE_64_BIT_INODE
_DARWIN_FEATURE_ONLY_64_BIT_INODE
_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE
_DARWIN_FEATURE_ONLY_VERS_1050
_DARWIN_FEATURE_UNIX_CONFORMANCE
_FORTIFY_SOURCE
_QUAD_HIGHWORD
_QUAD_LOWWORD
_RLIMIT_POSIX_FLAG
_WSTOPPED
__API_TO_BE_DEPRECATED
__API_TO_BE_DEPRECATED_DRIVERKIT
__API_TO_BE_DEPRECATED_IOS
__API_TO_BE_DEPRECATED_MACCATALYST
__API_TO_BE_DEPRECATED_MACOS
__API_TO_BE_DEPRECATED_TVOS
__API_TO_BE_DEPRECATED_WATCHOS
__DARWIN_64_BIT_INO_T
__DARWIN_BIG_ENDIAN
__DARWIN_BYTE_ORDER
__DARWIN_C_ANSI
__DARWIN_C_FULL
__DARWIN_C_LEVEL
__DARWIN_LITTLE_ENDIAN
__DARWIN_NON_CANCELABLE
__DARWIN_NO_LONG_LONG
__DARWIN_NSIG
__DARWIN_ONLY_64_BIT_INO_T
__DARWIN_ONLY_UNIX_CONFORMANCE
__DARWIN_ONLY_VERS_1050
__DARWIN_OPAQUE_ARM_THREAD_STATE64
__DARWIN_PDP_ENDIAN
__DARWIN_SUF_EXTSN
__DARWIN_UNIX03
__DARWIN_VERS_1050
__DARWIN_WCHAR_MIN
__DRIVERKIT_19_0
__DRIVERKIT_20_0
__DRIVERKIT_21_0
__ENABLE_LEGACY_MAC_AVAILABILITY
__IPHONE_2_0
__IPHONE_2_1
__IPHONE_2_2
__IPHONE_3_0
__IPHONE_3_1
__IPHONE_3_2
__IPHONE_4_0
__IPHONE_4_1
__IPHONE_4_2
__IPHONE_4_3
__IPHONE_5_0
__IPHONE_5_1
__IPHONE_6_0
__IPHONE_6_1
__IPHONE_7_0
__IPHONE_7_1
__IPHONE_8_0
__IPHONE_8_1
__IPHONE_8_2
__IPHONE_8_3
__IPHONE_8_4
__IPHONE_9_0
__IPHONE_9_1
__IPHONE_9_2
__IPHONE_9_3
__IPHONE_10_0
__IPHONE_10_1
__IPHONE_10_2
__IPHONE_10_3
__IPHONE_11_0
__IPHONE_11_1
__IPHONE_11_2
__IPHONE_11_3
__IPHONE_11_4
__IPHONE_12_0
__IPHONE_12_1
__IPHONE_12_2
__IPHONE_12_3
__IPHONE_12_4
__IPHONE_13_0
__IPHONE_13_1
__IPHONE_13_2
__IPHONE_13_3
__IPHONE_13_4
__IPHONE_13_5
__IPHONE_13_6
__IPHONE_13_7
__IPHONE_14_0
__IPHONE_14_1
__IPHONE_14_2
__IPHONE_14_3
__IPHONE_14_5
__IPHONE_14_6
__IPHONE_14_7
__IPHONE_14_8
__IPHONE_15_0
__IPHONE_15_1
__IPHONE_15_2
__IPHONE_15_3
__IPHONE_15_4
__IPHONE_16_0
__IPHONE_16_1
__IPHONE_16_2
__MAC_10_0
__MAC_10_1
__MAC_10_2
__MAC_10_3
__MAC_10_4
__MAC_10_5
__MAC_10_6
__MAC_10_7
__MAC_10_8
__MAC_10_9
__MAC_10_10
__MAC_10_11
__MAC_10_12
__MAC_10_13
__MAC_10_14
__MAC_10_15
__MAC_10_16
__MAC_10_10_2
__MAC_10_10_3
__MAC_10_11_2
__MAC_10_11_3
__MAC_10_11_4
__MAC_10_12_1
__MAC_10_12_2
__MAC_10_12_4
__MAC_10_13_1
__MAC_10_13_2
__MAC_10_13_4
__MAC_10_14_1
__MAC_10_14_4
__MAC_10_14_6
__MAC_10_15_1
__MAC_10_15_4
__MAC_11_0
__MAC_11_1
__MAC_11_3
__MAC_11_4
__MAC_11_5
__MAC_11_6
__MAC_12_0
__MAC_12_1
__MAC_12_2
__MAC_12_3
__MAC_13_0
__MAC_13_1
__MAC_OS_X_VERSION_MAX_ALLOWED
__PTHREAD_ATTR_SIZE__
__PTHREAD_CONDATTR_SIZE__
__PTHREAD_COND_SIZE__
__PTHREAD_MUTEXATTR_SIZE__
__PTHREAD_MUTEX_SIZE__
__PTHREAD_ONCE_SIZE__
__PTHREAD_RWLOCKATTR_SIZE__
__PTHREAD_RWLOCK_SIZE__
__PTHREAD_SIZE__
__STDC_WANT_LIB_EXT1__
__TVOS_9_0
__TVOS_9_1
__TVOS_9_2
__TVOS_10_0
__TVOS_10_0_1
__TVOS_10_1
__TVOS_10_2
__TVOS_11_0
__TVOS_11_1
__TVOS_11_2
__TVOS_11_3
__TVOS_11_4
__TVOS_12_0
__TVOS_12_1
__TVOS_12_2
__TVOS_12_3
__TVOS_12_4
__TVOS_13_0
__TVOS_13_2
__TVOS_13_3
__TVOS_13_4
__TVOS_14_0
__TVOS_14_1
__TVOS_14_2
__TVOS_14_3
__TVOS_14_5
__TVOS_14_6
__TVOS_14_7
__TVOS_15_0
__TVOS_15_1
__TVOS_15_2
__TVOS_15_3
__TVOS_15_4
__TVOS_16_0
__TVOS_16_1
__TVOS_16_2
__WATCHOS_1_0
__WATCHOS_2_0
__WATCHOS_2_1
__WATCHOS_2_2
__WATCHOS_3_0
__WATCHOS_3_1
__WATCHOS_3_2
__WATCHOS_3_1_1
__WATCHOS_4_0
__WATCHOS_4_1
__WATCHOS_4_2
__WATCHOS_4_3
__WATCHOS_5_0
__WATCHOS_5_1
__WATCHOS_5_2
__WATCHOS_5_3
__WATCHOS_6_0
__WATCHOS_6_1
__WATCHOS_6_2
__WATCHOS_7_0
__WATCHOS_7_1
__WATCHOS_7_2
__WATCHOS_7_3
__WATCHOS_7_4
__WATCHOS_7_5
__WATCHOS_7_6
__WATCHOS_8_0
__WATCHOS_8_1
__WATCHOS_8_3
__WATCHOS_8_4
__WATCHOS_8_5
__WATCHOS_9_0
__WATCHOS_9_1
__WATCHOS_9_2
__WORDSIZE
__bool_true_false_are_defined
__has_ptrcheck
duckdb_pending_state_DUCKDB_PENDING_ERROR
duckdb_pending_state_DUCKDB_PENDING_RESULT_NOT_READY
duckdb_pending_state_DUCKDB_PENDING_RESULT_READY
duckdb_state_DuckDBError
duckdb_state_DuckDBSuccess
false_
idtype_t_P_ALL
idtype_t_P_PGID
idtype_t_P_PID
true_

Statics§

__mb_cur_max
suboptarg

Functions§

_Exit
a64l
abort
abs
aligned_alloc
alloca
arc4random
arc4random_addrandom
arc4random_buf
arc4random_stir
arc4random_uniform
atexit
atexit_b
atof
atoi
atol
atoll
bsearch
bsearch_b
calloc
cgetcap
cgetclose
cgetent
cgetfirst
cgetmatch
cgetnext
cgetnum
cgetset
cgetstr
cgetustr
code_to_str
daemon
devname
devname_r
div
drand48
duckdb_add_replacement_scan
Add a replacement scan definition to the specified database
duckdb_append_blob
Append a blob value to the appender.
duckdb_append_bool
Append a bool value to the appender.
duckdb_append_data_chunk
Appends a pre-filled data chunk to the specified appender.
duckdb_append_date
Append a duckdb_date value to the appender.
duckdb_append_double
Append a double value to the appender.
duckdb_append_float
Append a float value to the appender.
duckdb_append_hugeint
Append a duckdb_hugeint value to the appender.
duckdb_append_int8
Append an int8_t value to the appender.
duckdb_append_int16
Append an int16_t value to the appender.
duckdb_append_int32
Append an int32_t value to the appender.
duckdb_append_int64
Append an int64_t value to the appender.
duckdb_append_interval
Append a duckdb_interval value to the appender.
duckdb_append_null
Append a NULL value to the appender (of any type).
duckdb_append_time
Append a duckdb_time value to the appender.
duckdb_append_timestamp
Append a duckdb_timestamp value to the appender.
duckdb_append_uint8
Append a uint8_t value to the appender.
duckdb_append_uint16
Append a uint16_t value to the appender.
duckdb_append_uint32
Append a uint32_t value to the appender.
duckdb_append_uint64
Append a uint64_t value to the appender.
duckdb_append_varchar
Append a varchar value to the appender.
duckdb_append_varchar_length
Append a varchar value to the appender.
duckdb_appender_begin_row
A nop function, provided for backwards compatibility reasons. Does nothing. Only duckdb_appender_end_row is required.
duckdb_appender_close
Close the appender, flushing all intermediate state in the appender to the table and closing it for further appends.
duckdb_appender_create
Creates an appender object.
duckdb_appender_destroy
Close the appender and destroy it. Flushing all intermediate state in the appender to the table, and de-allocating all memory associated with the appender.
duckdb_appender_end_row
Finish the current row of appends. After end_row is called, the next row can be appended.
duckdb_appender_error
Returns the error message associated with the given appender. If the appender has no error message, this returns nullptr instead.
duckdb_appender_flush
Flush the appender to the table, forcing the cache of the appender to be cleared and the data to be appended to the base table.
duckdb_arrow_column_count
Returns the number of columns present in a the arrow result object.
duckdb_arrow_row_count
Returns the number of rows present in a the arrow result object.
duckdb_arrow_rows_changed
Returns the number of rows changed by the query stored in the arrow result. This is relevant only for INSERT/UPDATE/DELETE queries. For other queries the rows_changed will be 0.
duckdb_bind_add_result_column
Adds a result column to the output of the table function.
duckdb_bind_blob
Binds a blob value to the prepared statement at the specified index.
duckdb_bind_boolean
Binds a bool value to the prepared statement at the specified index.
duckdb_bind_date
Binds a duckdb_date value to the prepared statement at the specified index.
duckdb_bind_decimal
Binds a duckdb_decimal value to the prepared statement at the specified index.
duckdb_bind_double
Binds an double value to the prepared statement at the specified index.
duckdb_bind_float
Binds an float value to the prepared statement at the specified index.
duckdb_bind_get_extra_info
Retrieves the extra info of the function as set in duckdb_table_function_set_extra_info
duckdb_bind_get_parameter
Retrieves the parameter at the given index.
duckdb_bind_get_parameter_count
Retrieves the number of regular (non-named) parameters to the function.
duckdb_bind_hugeint
Binds an duckdb_hugeint value to the prepared statement at the specified index.
duckdb_bind_int8
Binds an int8_t value to the prepared statement at the specified index.
duckdb_bind_int16
Binds an int16_t value to the prepared statement at the specified index.
duckdb_bind_int32
Binds an int32_t value to the prepared statement at the specified index.
duckdb_bind_int64
Binds an int64_t value to the prepared statement at the specified index.
duckdb_bind_interval
Binds a duckdb_interval value to the prepared statement at the specified index.
duckdb_bind_null
Binds a NULL value to the prepared statement at the specified index.
duckdb_bind_set_bind_data
Sets the user-provided bind data in the bind object. This object can be retrieved again during execution.
duckdb_bind_set_cardinality
Sets the cardinality estimate for the table function, used for optimization.
duckdb_bind_set_error
Report that an error has occurred while calling bind.
duckdb_bind_time
Binds a duckdb_time value to the prepared statement at the specified index.
duckdb_bind_timestamp
Binds a duckdb_timestamp value to the prepared statement at the specified index.
duckdb_bind_uint8
Binds an uint8_t value to the prepared statement at the specified index.
duckdb_bind_uint16
Binds an uint16_t value to the prepared statement at the specified index.
duckdb_bind_uint32
Binds an uint32_t value to the prepared statement at the specified index.
duckdb_bind_uint64
Binds an uint64_t value to the prepared statement at the specified index.
duckdb_bind_varchar
Binds a null-terminated varchar value to the prepared statement at the specified index.
duckdb_bind_varchar_length
Binds a varchar value to the prepared statement at the specified index.
duckdb_clear_bindings
Clear the params bind to the prepared statement.
duckdb_close
Closes the specified database and de-allocates all memory allocated for that database. This should be called after you are done with any database allocated through duckdb_open. Note that failing to call duckdb_close (in case of e.g. a program crash) will not cause data corruption. Still it is recommended to always correctly close a database object after you are done with it.
duckdb_column_count
Returns the number of columns present in a the result object.
duckdb_column_data
DEPRECATED**: Prefer using duckdb_result_get_chunk instead.
duckdb_column_logical_type
Returns the logical column type of the specified column.
duckdb_column_name
Returns the column name of the specified column. The result should not need be freed; the column names will automatically be destroyed when the result is destroyed.
duckdb_column_type
Returns the column type of the specified column.
duckdb_config_count
This returns the total amount of configuration options available for usage with duckdb_get_config_flag.
duckdb_connect
Opens a connection to a database. Connections are required to query the database, and store transactional state associated with the connection.
duckdb_create_config
Initializes an empty configuration object that can be used to provide start-up options for the DuckDB instance through duckdb_open_ext.
duckdb_create_data_chunk
Creates an empty DataChunk with the specified set of types.
duckdb_create_decimal_type
Creates a duckdb_logical_type of type decimal with the specified width and scale The resulting type should be destroyed with duckdb_destroy_logical_type.
duckdb_create_int64
Creates a value from an int64
duckdb_create_list_type
Creates a list type from its child type. The resulting type should be destroyed with duckdb_destroy_logical_type.
duckdb_create_logical_type
Creates a duckdb_logical_type from a standard primitive type. The resulting type should be destroyed with duckdb_destroy_logical_type.
duckdb_create_map_type
Creates a map type from its key type and value type. The resulting type should be destroyed with duckdb_destroy_logical_type.
duckdb_create_table_function
Creates a new empty table function.
duckdb_create_task_state
Creates a task state that can be used with duckdb_execute_tasks_state to execute tasks until duckdb_finish_execution is called on the state.
duckdb_create_union_type
Creates a UNION type from the passed types array The resulting type should be destroyed with duckdb_destroy_logical_type.
duckdb_create_varchar
Creates a value from a null-terminated string
duckdb_create_varchar_length
Creates a value from a string
duckdb_data_chunk_get_column_count
Retrieves the number of columns in a data chunk.
duckdb_data_chunk_get_size
Retrieves the current number of tuples in a data chunk.
duckdb_data_chunk_get_vector
Retrieves the vector at the specified column index in the data chunk.
duckdb_data_chunk_reset
Resets a data chunk, clearing the validity masks and setting the cardinality of the data chunk to 0.
duckdb_data_chunk_set_size
Sets the current number of tuples in a data chunk.
duckdb_decimal_internal_type
Retrieves the internal storage type of a decimal type.
duckdb_decimal_scale
Retrieves the scale of a decimal type.
duckdb_decimal_to_double
Converts a duckdb_decimal object (as obtained from a DUCKDB_TYPE_DECIMAL column) into a double.
duckdb_decimal_width
Retrieves the width of a decimal type.
duckdb_destroy_arrow
Closes the result and de-allocates all memory allocated for the arrow result.
duckdb_destroy_config
Destroys the specified configuration option and de-allocates all memory allocated for the object.
duckdb_destroy_data_chunk
Destroys the data chunk and de-allocates all memory allocated for that chunk.
duckdb_destroy_extracted
De-allocates all memory allocated for the extracted statements. extracted_statements: The extracted statements to destroy.
duckdb_destroy_logical_type
Destroys the logical type and de-allocates all memory allocated for that type.
duckdb_destroy_pending
Closes the pending result and de-allocates all memory allocated for the result.
duckdb_destroy_prepare
Closes the prepared statement and de-allocates all memory allocated for the statement.
duckdb_destroy_result
Closes the result and de-allocates all memory allocated for that connection.
duckdb_destroy_table_function
Destroys the given table function object.
duckdb_destroy_task_state
Destroys the task state returned from duckdb_create_task_state.
duckdb_destroy_value
Destroys the value and de-allocates all memory allocated for that type.
duckdb_disconnect
Closes the specified connection and de-allocates all memory allocated for that connection.
duckdb_double_to_decimal
Converts a double value to a duckdb_decimal object.
duckdb_double_to_hugeint
Converts a double value to a duckdb_hugeint object.
duckdb_enum_dictionary_size
Retrieves the dictionary size of the enum type
duckdb_enum_dictionary_value
Retrieves the dictionary value at the specified position from the enum.
duckdb_enum_internal_type
Retrieves the internal storage type of an enum type.
duckdb_execute_n_tasks_state
Execute DuckDB tasks on this thread.
duckdb_execute_pending
Fully execute a pending query result, returning the final query result.
duckdb_execute_prepared
Executes the prepared statement with the given bound parameters, and returns a materialized query result.
duckdb_execute_prepared_arrow
Executes the prepared statement with the given bound parameters, and returns an arrow query result.
duckdb_execute_tasks
Execute DuckDB tasks on this thread.
duckdb_execute_tasks_state
Execute DuckDB tasks on this thread.
duckdb_execution_is_finished
Returns true if execution of the current query is finished.
duckdb_extract_statements
Extract all statements from a query. Note that after calling duckdb_extract_statements, the extracted statements should always be destroyed using duckdb_destroy_extracted, even if no statements were extracted. If the extract fails, duckdb_extract_statements_error can be called to obtain the reason why the extract failed. connection: The connection object query: The SQL query to extract out_extracted_statements: The resulting extracted statements object returns: The number of extracted statements or 0 on failure.
duckdb_extract_statements_error
Returns the error message contained within the extracted statements. The result of this function must not be freed. It will be cleaned up when duckdb_destroy_extracted is called. result: The extracted statements to fetch the error from. returns: The error of the extracted statements.
duckdb_finish_execution
Finish execution on a specific task.
duckdb_free
Free a value returned from duckdb_malloc, duckdb_value_varchar or duckdb_value_blob.
duckdb_from_date
Decompose a duckdb_date object into year, month and date (stored as duckdb_date_struct).
duckdb_from_time
Decompose a duckdb_time object into hour, minute, second and microsecond (stored as duckdb_time_struct).
duckdb_from_timestamp
Decompose a duckdb_timestamp object into a duckdb_timestamp_struct.
duckdb_function_get_bind_data
Gets the bind data set by duckdb_bind_set_bind_data during the bind.
duckdb_function_get_extra_info
Retrieves the extra info of the function as set in duckdb_table_function_set_extra_info
duckdb_function_get_init_data
Gets the init data set by duckdb_init_set_init_data during the init.
duckdb_function_get_local_init_data
Gets the thread-local init data set by duckdb_init_set_init_data during the local_init.
duckdb_function_set_error
Report that an error has occurred while executing the function.
duckdb_get_config_flag
Obtains a human-readable name and description of a specific configuration option. This can be used to e.g. display configuration options. This will succeed unless index is out of range (i.e. >= duckdb_config_count).
duckdb_get_int64
Obtains an int64 of the given value.
duckdb_get_type_id
Retrieves the type class of a duckdb_logical_type.
duckdb_get_varchar
Obtains a string representation of the given value. The result must be destroyed with duckdb_free.
duckdb_hugeint_to_double
Converts a duckdb_hugeint object (as obtained from a DUCKDB_TYPE_HUGEINT column) into a double.
duckdb_init_get_bind_data
Gets the bind data set by duckdb_bind_set_bind_data during the bind.
duckdb_init_get_column_count
Returns the number of projected columns.
duckdb_init_get_column_index
Returns the column index of the projected column at the specified position.
duckdb_init_get_extra_info
Retrieves the extra info of the function as set in duckdb_table_function_set_extra_info
duckdb_init_set_error
Report that an error has occurred while calling init.
duckdb_init_set_init_data
Sets the user-provided init data in the init object. This object can be retrieved again during execution.
duckdb_init_set_max_threads
Sets how many threads can process this table function in parallel (default: 1)
duckdb_library_version
Returns the version of the linked DuckDB, with a version postfix for dev versions
duckdb_list_type_child_type
Retrieves the child type of the given list type.
duckdb_list_vector_get_child
Retrieves the child vector of a list vector.
duckdb_list_vector_get_size
Returns the size of the child vector of the list
duckdb_list_vector_reserve
Sets the total capacity of the underlying child-vector of a list.
duckdb_list_vector_set_size
Sets the total size of the underlying child-vector of a list vector.
duckdb_malloc
Allocate size bytes of memory using the duckdb internal malloc function. Any memory allocated in this manner should be freed using duckdb_free.
duckdb_map_type_key_type
Retrieves the key type of the given map type.
duckdb_map_type_value_type
Retrieves the value type of the given map type.
duckdb_nparams
Returns the number of parameters that can be provided to the given prepared statement.
duckdb_nullmask_data
DEPRECATED**: Prefer using duckdb_result_get_chunk instead.
duckdb_open
Creates a new database or opens an existing database file stored at the the given path. If no path is given a new in-memory database is created instead.
duckdb_open_ext
Extended version of duckdb_open. Creates a new database or opens an existing database file stored at the the given path.
duckdb_param_type
Returns the parameter type for the parameter at the given index.
duckdb_pending_error
Returns the error message contained within the pending result.
duckdb_pending_execute_task
Executes a single task within the query, returning whether or not the query is ready.
duckdb_pending_prepared
Executes the prepared statement with the given bound parameters, and returns a pending result. The pending result represents an intermediate structure for a query that is not yet fully executed. The pending result can be used to incrementally execute a query, returning control to the client between tasks.
duckdb_prepare
Create a prepared statement object from a query.
duckdb_prepare_error
Returns the error message associated with the given prepared statement. If the prepared statement has no error message, this returns nullptr instead.
duckdb_prepare_extracted_statement
Prepare an extracted statement. Note that after calling duckdb_prepare_extracted_statement, 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 obtain the reason why the prepare failed. connection: The connection object extracted_statements: The extracted statements object index: The index of the extracted statement to prepare out_prepared_statement: The resulting prepared statement object returns: DuckDBSuccess on success or DuckDBError on failure.
duckdb_query
Executes a SQL query within a connection and stores the full (materialized) result in the out_result pointer. If the query fails to execute, DuckDBError is returned and the error message can be retrieved by calling duckdb_result_error.
duckdb_query_arrow
Executes a SQL query within a connection and stores the full (materialized) result in an arrow structure. If the query fails to execute, DuckDBError is returned and the error message can be retrieved by calling duckdb_query_arrow_error.
duckdb_query_arrow_array
Fetch an internal arrow array from the arrow result.
duckdb_query_arrow_error
Returns the error message contained within the result. The error is only set if duckdb_query_arrow returns DuckDBError.
duckdb_query_arrow_schema
Fetch the internal arrow schema from the arrow result.
duckdb_register_table_function
Register the table function object within the given connection.
duckdb_replacement_scan_add_parameter
Adds a parameter to the replacement scan function.
duckdb_replacement_scan_set_error
Report that an error has occurred while executing the replacement scan.
duckdb_replacement_scan_set_function_name
Sets the replacement function name to use. If this function is called in the replacement callback, the replacement scan is performed. If it is not called, the replacement callback is not performed.
duckdb_result_chunk_count
Returns the number of data chunks present in the result.
duckdb_result_error
Returns the error message contained within the result. The error is only set if duckdb_query returns DuckDBError.
duckdb_result_get_chunk
Fetches a data chunk from the duckdb_result. This function should be called repeatedly until the result is exhausted.
duckdb_row_count
Returns the number of rows present in a the result object.
duckdb_rows_changed
Returns the number of rows changed by the query stored in the result. This is relevant only for INSERT/UPDATE/DELETE queries. For other queries the rows_changed will be 0.
duckdb_set_config
Sets the specified option for the specified configuration. The configuration option is indicated by name. To obtain a list of config options, see duckdb_get_config_flag.
duckdb_struct_type_child_count
Returns the number of children of a struct type.
duckdb_struct_type_child_name
Retrieves the name of the struct child.
duckdb_struct_type_child_type
Retrieves the child type of the given struct type at the specified index.
duckdb_struct_vector_get_child
Retrieves the child vector of a struct vector.
duckdb_table_function_add_parameter
Adds a parameter to the table function.
duckdb_table_function_set_bind
Sets the bind function of the table function
duckdb_table_function_set_extra_info
Assigns extra information to the table function that can be fetched during binding, etc.
duckdb_table_function_set_function
Sets the main function of the table function
duckdb_table_function_set_init
Sets the init function of the table function
duckdb_table_function_set_local_init
Sets the thread-local init function of the table function
duckdb_table_function_set_name
Sets the name of the given table function.
duckdb_table_function_supports_projection_pushdown
Sets whether or not the given table function supports projection pushdown.
duckdb_task_state_is_finished
Check if the provided duckdb_task_state has finished execution
duckdb_to_date
Re-compose a duckdb_date from year, month and date (duckdb_date_struct).
duckdb_to_time
Re-compose a duckdb_time from hour, minute, second and microsecond (duckdb_time_struct).
duckdb_to_timestamp
Re-compose a duckdb_timestamp from a duckdb_timestamp_struct.
duckdb_union_type_member_count
Returns the number of members that the union type has.
duckdb_union_type_member_name
Retrieves the name of the union member.
duckdb_union_type_member_type
Retrieves the child type of the given union member at the specified index.
duckdb_validity_row_is_valid
Returns whether or not a row is valid (i.e. not NULL) in the given validity mask.
duckdb_validity_set_row_invalid
In a validity mask, sets a specific row to invalid.
duckdb_validity_set_row_valid
In a validity mask, sets a specific row to valid.
duckdb_validity_set_row_validity
In a validity mask, sets a specific row to either valid or invalid.
duckdb_value_blob
returns: The duckdb_blob value at the specified location. Returns a blob with blob.data set to nullptr if the value cannot be converted. The resulting “blob.data” must be freed with duckdb_free.
duckdb_value_boolean
returns: The boolean value at the specified location, or false if the value cannot be converted.
duckdb_value_date
returns: The duckdb_date value at the specified location, or 0 if the value cannot be converted.
duckdb_value_decimal
returns: The duckdb_decimal value at the specified location, or 0 if the value cannot be converted.
duckdb_value_double
returns: The double value at the specified location, or 0 if the value cannot be converted.
duckdb_value_float
returns: The float value at the specified location, or 0 if the value cannot be converted.
duckdb_value_hugeint
returns: The duckdb_hugeint value at the specified location, or 0 if the value cannot be converted.
duckdb_value_int8
returns: The int8_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_int16
returns: The int16_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_int32
returns: The int32_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_int64
returns: The int64_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_interval
returns: The duckdb_interval value at the specified location, or 0 if the value cannot be converted.
duckdb_value_is_null
returns: Returns true if the value at the specified index is NULL, and false otherwise.
duckdb_value_string
s returns: The string value at the specified location. The result must be freed with duckdb_free.
duckdb_value_string_internal
DEPRECATED: use duckdb_value_string_internal instead. This function does not work correctly if the string contains null bytes. returns: The char* value at the specified location. ONLY works on VARCHAR columns and does not auto-cast. If the column is NOT a VARCHAR column this function will return NULL.
duckdb_value_time
returns: The duckdb_time value at the specified location, or 0 if the value cannot be converted.
duckdb_value_timestamp
returns: The duckdb_timestamp value at the specified location, or 0 if the value cannot be converted.
duckdb_value_uint8
returns: The uint8_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_uint16
returns: The uint16_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_uint32
returns: The uint32_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_uint64
returns: The uint64_t value at the specified location, or 0 if the value cannot be converted.
duckdb_value_varchar
DEPRECATED: use duckdb_value_string instead. This function does not work correctly if the string contains null bytes. returns: The text value at the specified location as a null-terminated string, or nullptr if the value cannot be converted. The result must be freed with duckdb_free.
duckdb_value_varchar_internal
DEPRECATED: use duckdb_value_string_internal instead. This function does not work correctly if the string contains null bytes. returns: The char* value at the specified location. ONLY works on VARCHAR columns and does not auto-cast. If the column is NOT a VARCHAR column this function will return NULL.
duckdb_vector_assign_string_element
Assigns a string element in the vector at the specified location.
duckdb_vector_assign_string_element_len
Assigns a string element in the vector at the specified location.
duckdb_vector_ensure_validity_writable
Ensures the validity mask is writable by allocating it.
duckdb_vector_get_column_type
Retrieves the column type of the specified vector.
duckdb_vector_get_data
Retrieves the data pointer of the vector.
duckdb_vector_get_validity
Retrieves the validity mask pointer of the specified vector.
duckdb_vector_size
The internal vector size used by DuckDB. This is the amount of tuples that will fit into a data chunk created by duckdb_create_data_chunk.
ecvt
erand48
exit
fcvt
free
gcvt
getbsize
getenv
getiopolicy_np
getloadavg
getpriority
getprogname
getrlimit
getrusage
getsubopt
grantpt
heapsort
heapsort_b
initstate
jrand48
l64a
labs
lcong48
ldiv
llabs
lldiv
lrand48
malloc
mblen
mbstowcs
mbtowc
mergesort
mergesort_b
mkstemp
mktemp
mrand48
nrand48
posix_memalign
posix_openpt
psort
psort_b
psort_r
ptsname
ptsname_r
putenv
qsort
qsort_b
qsort_r
radixsort
rand
rand_r
random
realloc
reallocf
realpath
rpmatch
seed48
setenv
setiopolicy_np
setkey
setpriority
setprogname
setrlimit
setstate
signal
sradixsort
srand
srand48
sranddev
srandom
srandomdev
strtod
strtof
strtol
strtold
strtoll
strtonum
strtoq
strtoul
strtoull
strtouq
system
unlockpt
unsetenv
valloc
wait
wait3
wait4
waitid
waitpid
wcstombs
wctomb

Type Aliases§

DUCKDB_TYPE
__builtin_va_list
__darwin_blkcnt_t
__darwin_blksize_t
__darwin_clock_t
__darwin_ct_rune_t
__darwin_dev_t
__darwin_fsblkcnt_t
__darwin_fsfilcnt_t
__darwin_gid_t
__darwin_id_t
__darwin_ino64_t
__darwin_ino_t
__darwin_intptr_t
__darwin_mach_port_name_t
__darwin_mach_port_t
__darwin_mbstate_t
__darwin_mode_t
__darwin_natural_t
__darwin_nl_item
__darwin_off_t
__darwin_pid_t
__darwin_pthread_attr_t
__darwin_pthread_cond_t
__darwin_pthread_condattr_t
__darwin_pthread_key_t
__darwin_pthread_mutex_t
__darwin_pthread_mutexattr_t
__darwin_pthread_once_t
__darwin_pthread_rwlock_t
__darwin_pthread_rwlockattr_t
__darwin_pthread_t
__darwin_ptrdiff_t
__darwin_rune_t
__darwin_sigset_t
__darwin_size_t
__darwin_socklen_t
__darwin_ssize_t
__darwin_suseconds_t
__darwin_time_t
__darwin_uid_t
__darwin_useconds_t
__darwin_uuid_string_t
__darwin_uuid_t
__darwin_va_list
__darwin_wchar_t
__darwin_wctrans_t
__darwin_wctype_t
__darwin_wint_t
__int8_t
__int16_t
__int32_t
__int64_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint128_t
ct_rune_t
dev_t
duckdb_appender
duckdb_arrow
duckdb_arrow_array
duckdb_arrow_schema
duckdb_bind_info
duckdb_config
duckdb_connection
duckdb_data_chunk
duckdb_database
duckdb_delete_callback_t
duckdb_extracted_statements
duckdb_function_info
duckdb_init_info
duckdb_logical_type
duckdb_pending_result
duckdb_pending_state
duckdb_prepared_statement
duckdb_replacement_callback_t
duckdb_replacement_scan_info
duckdb_state
duckdb_table_function
duckdb_table_function_bind_t
duckdb_table_function_init_t
duckdb_table_function_t
duckdb_task_state
duckdb_type
duckdb_value
duckdb_vector
id_t
idtype_t
idx_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
mcontext_t
mode_t
pid_t
pthread_attr_t
register_t
rlim_t
rune_t
rusage_info_current
rusage_info_t
sig_atomic_t
sig_t
siginfo_t
sigset_t
stack_t
syscall_arg_t
u_int8_t
u_int16_t
u_int32_t
u_int64_t
ucontext_t
uid_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
user_addr_t
user_long_t
user_off_t
user_size_t
user_ssize_t
user_time_t
user_ulong_t
wchar_t

Unions§

__mbstate_t
__sigaction_u
sigval
wait