pub fn create_table1(
create_table: CreateTable(Column(a, Value)),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table2(
create_table: CreateTable(#(Column(a, Value), Column(b, Value))),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table3(
create_table: CreateTable(
#(Column(a, Value), Column(b, Value), Column(c, Value)),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table4(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table5(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table6(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table7(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
Column(g, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table8(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
Column(g, Value),
Column(h, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn create_table9(
create_table: CreateTable(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
Column(g, Value),
Column(h, Value),
Column(i, Value),
),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion1(
insertion: Insertion(Column(a, Value), a),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion2(
insertion: Insertion(
#(Column(a, Value), Column(b, Value)),
#(a, b),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion3(
insertion: Insertion(
#(Column(a, Value), Column(b, Value), Column(c, Value)),
#(a, b, c),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion4(
insertion: Insertion(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
),
#(a, b, c, d),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion5(
insertion: Insertion(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
),
#(a, b, c, d, e),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn insertion6(
insertion: Insertion(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
),
#(a, b, c, d, e, f),
),
conn: Connection,
) -> Result(Nil, Error)
pub fn query1(
query: Query(Column(a, Value), b),
conn: Connection,
) -> Result(List(a), Error)
pub fn query2(
query: Query(#(Column(a, Value), Column(b, Value)), Value),
conn: Connection,
) -> Result(List(#(a, b)), Error)
pub fn query3(
query: Query(
#(Column(a, Value), Column(b, Value), Column(c, Value)),
Value,
),
conn: Connection,
) -> Result(List(#(a, b, c)), Error)
pub fn query4(
query: Query(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
),
Value,
),
conn: Connection,
) -> Result(List(#(a, b, c, d)), Error)
pub fn query5(
query: Query(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
),
Value,
),
conn: Connection,
) -> Result(List(#(a, b, c, d, e)), Error)
pub fn query6(
query: Query(
#(
Column(a, Value),
Column(b, Value),
Column(c, Value),
Column(d, Value),
Column(e, Value),
Column(f, Value),
),
Value,
),
conn: Connection,
) -> Result(List(#(a, b, c, d, e, f)), Error)