quack-rs 0.12.0

Production-grade Rust SDK for building DuckDB loadable extensions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: MIT
// Copyright 2026 Tom F. <https://github.com/tomtom215/>
// My way of giving something small back to the open source community
// and encouraging more Rust development!

//! Builder for registering `DuckDB` scalar functions.
//!
//! Scalar functions take a data chunk of input rows and produce one output value
//! per row. This is the most common function type in `DuckDB` extensions.

mod set;
mod single;

#[cfg(test)]
mod tests;

pub use set::{ScalarFunctionSetBuilder, ScalarOverloadBuilder};
pub use single::{ScalarFn, ScalarFunctionBuilder};