Crate limbo_ext

Source

Macros§

register_extension
Register your extension with ‘core’ by providing the relevant functions

Structs§

AggCtx
ExtensionApi
VTabImpl
VTabModuleImpl
Value

Enums§

ResultCode
Error type is of type ExtError which can be either a user defined error or an error code
ValueType

Traits§

AggFunc
Scalar
VTabCursor
VTabModule

Type Aliases§

ExtensionEntryPoint
FinalizeFunction
InitAggFunction
ScalarFunction
StepFunction
VtabFnColumn
VtabFnConnect
VtabFnEof
VtabFnFilter
VtabFnNext
VtabFnOpen

Attribute Macros§

scalar
Declare a scalar function for your extension. This requires the name: #[scalar(name = “example”)] of what you wish to call your function with. Your function must use the signature: fn (args: &[Value]) -> Value with proper spelling.

Derive Macros§

AggregateDerive
Define an aggregate function for your extension by deriving AggregateDerive on a struct that implements the AggFunc trait.
VTabModuleDerive
Macro to derive a VTabModule for your extension. This macro will generate the necessary functions to register your module with core. You must implement the VTabModule trait for your struct, and the VTabCursor trait for your cursor.