pub fn boolean<S: Scalar>(
name: impl Deref<Target = str>,
data: impl IntoIterator<Item = impl Into<bool>>,
) -> (Identifier, OwnedColumn<S>)
Expand description
Creates a (Identifier, OwnedColumn) pair for a boolean column. This is primarily intended for use in conjunction with owned_table.
ยงExample
use proof_of_sql::base::{database::owned_table_utility::*, scalar::Curve25519Scalar};
let result = owned_table::<Curve25519Scalar>([
boolean("a", [true, false, true]),
]);