besu 0.0.1

A typesafe, async, and database-agnostic query builder for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::Table;

// TODO: Does this need the model generic???
/// The definition of a database column.
pub trait Column<M: Table> {
    /// The name of the column. This is used verbatim in the SQL queries.
    const NAME: &'static str;

    /// The underlying type of the column.
    type Type;
}