DuckDB_jll.duckdbMethod
duckdb(f::Function; adjust_PATH::Bool=true, adjust_LIBPATH::Bool=true)

An ExecutableProduct wrapper that supports the execution of duckdb.

Deprecated

This method is deprecated because it is not thread-safe and will be removed in future Julia versions. Use the non do-block form instead.

Example

duckdb() do exe
    run(`$exe $arguments`)
end
Julia 1.3

This method requires Julia version 1.3 or newer.

DuckDB_jll.duckdbMethod
duckdb(; adjust_PATH::Bool=true, adjust_LIBPATH::Bool=true) -> Cmd

An ExecutableProduct wrapper that supports the execution of duckdb. This wrapper is thread-safe and should be preferred on Julia 1.6+.

Example

run(`$(duckdb()) $arguments`)
Julia 1.6

This method requires Julia version 1.6 or newer.

DuckDB_jll.is_availableFunction
is_available()

Return whether the artifact is available for the current platform.