Function varbinary

Source
pub fn varbinary<S: Scalar>(
    name: impl Into<Ident>,
    data: impl IntoIterator<Item = impl Into<Vec<u8>>>,
) -> (Ident, OwnedColumn<S>)
Expand description

Creates a (Ident, OwnedColumn) pair for a varbinary column. This is primarily intended for use in conjunction with owned_table.

ยงExample

use proof_of_sql::base::{database::owned_table_utility::*};
let result = owned_table::<MyScalar>([
   varbinary("a", [[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
]);