uint8

Function uint8 

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

Creates a (Ident, OwnedColumn) pair for a uint8 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>([
    uint8("a", [1_u8, 2, 3]),
]);