Rellum Rellum

use db

Generated from crates/rellum-sema/src/stdlib/db/mod.rlm.

Declarations

pub col(row: [String], index: Int) : Option[String] = {
pub col_int(row: [String], index: Int) : Option[Int] = {
pub col_float(row: [String], index: Int) : Option[Float] = {
pub has_rows(rows: [[String]]) : Bool = len(rows) > 0
pub first_row(rows: [[String]]) : Option[[String]] = {
pub effect fn query_opt!(conn: DbConn, sql: String, params: [String]) : Result[Option[[String]], String] = {
pub effect fn query_one!(conn: DbConn, sql: String, params: [String]) : Result[[String], String] = {
pub col_required(row: [String], index: Int) : Result[String, String] = {