Table of Contents

Class NativeMethods.ScalarFunction

Namespace
DuckDB.NET.Native
Assembly
DuckDB.NET.Bindings.dll
public static class NativeMethods.ScalarFunction
Inheritance
NativeMethods.ScalarFunction
Inherited Members

Methods

DuckDBCreateScalarFunction()

public static extern nint DuckDBCreateScalarFunction()

Returns

nint

DuckDBDestroyScalarFunction(out nint)

public static extern void DuckDBDestroyScalarFunction(out nint scalarFunction)

Parameters

scalarFunction nint

DuckDBRegisterScalarFunction(DuckDBNativeConnection, nint)

public static extern DuckDBState DuckDBRegisterScalarFunction(DuckDBNativeConnection con, nint scalarFunction)

Parameters

con DuckDBNativeConnection
scalarFunction nint

Returns

DuckDBState

DuckDBScalarFunctionAddParameter(nint, DuckDBLogicalType)

public static extern void DuckDBScalarFunctionAddParameter(nint scalarFunction, DuckDBLogicalType type)

Parameters

scalarFunction nint
type DuckDBLogicalType

DuckDBScalarFunctionGetExtraInfo(nint)

public static extern nint DuckDBScalarFunctionGetExtraInfo(nint scalarFunction)

Parameters

scalarFunction nint

Returns

nint

DuckDBScalarFunctionSetExtraInfo(nint, nint, delegate* unmanaged[Cdecl]<nint, void>)

public static extern void DuckDBScalarFunctionSetExtraInfo(nint scalarFunction, nint extraInfo, delegate* unmanaged[Cdecl]<nint, void> destroy)

Parameters

scalarFunction nint
extraInfo nint
destroy delegate* unmanaged[Cdecl]<nint, void>

DuckDBScalarFunctionSetFunction(nint, delegate* unmanaged[Cdecl]<nint, nint, nint, void>)

public static extern void DuckDBScalarFunctionSetFunction(nint scalarFunction, delegate* unmanaged[Cdecl]<nint, nint, nint, void> callback)

Parameters

scalarFunction nint
callback delegate* unmanaged[Cdecl]<nint, nint, nint, void>

DuckDBScalarFunctionSetName(nint, SafeUnmanagedMemoryHandle)

public static extern void DuckDBScalarFunctionSetName(nint scalarFunction, SafeUnmanagedMemoryHandle name)

Parameters

scalarFunction nint
name SafeUnmanagedMemoryHandle

DuckDBScalarFunctionSetReturnType(nint, DuckDBLogicalType)

public static extern void DuckDBScalarFunctionSetReturnType(nint scalarFunction, DuckDBLogicalType type)

Parameters

scalarFunction nint
type DuckDBLogicalType

DuckDBScalarFunctionSetVarargs(nint, DuckDBLogicalType)

public static extern void DuckDBScalarFunctionSetVarargs(nint scalarFunction, DuckDBLogicalType type)

Parameters

scalarFunction nint
type DuckDBLogicalType

DuckDBScalarFunctionSetVolatile(nint)

public static extern void DuckDBScalarFunctionSetVolatile(nint scalarFunction)

Parameters

scalarFunction nint