oboard/morm/engine does not have a README file
pub(open) trait Engine {
async fn page(Self, query : &QueryBuilder, pageable : Pageable) -> QueryResult
async fn page_raw(Self, sql : String, params : FixedArray[Param], pageable : Pageable) -> QueryResult
async fn exec(Self, query : &QueryBuilder) -> QueryResult
async fn exec_raw(Self, sql : String, params : FixedArray[Param]) -> QueryResult
async fn migrate_table(Self, table_schema : Table) -> QueryResult
fn close(Self) -> Unit
}impl Show for ParamDecodeErrorasync fn[C] ConnectionPool::borrow(self : ConnectionPool[C], open_conn : async () -> Result[C, String]) -> Result[C, String]fn[C] ConnectionPool::release(self : ConnectionPool[C], conn : C, close_conn : (C) -> Unit, reusable? : Bool) -> Unitpub(all) enum Param {
Null
Bool(Bool)
Byte(Byte)
Int(Int)
Int16(Int16)
UInt16(UInt16)
UInt(UInt)
UInt64(UInt64)
Int64(Int64)
BigInt(BigInt)
Float(Float)
Double(Double)
Decimal(String)
Date(PlainDate, String?)
Time(PlainTime, String?)
DateTime(PlainDateTime, String?)
Timestamp(ZonedDateTime, String?)
Uuid(String)
Object(Map[String, Param])
Json(Json)
String(String)
Bytes(Bytes)
}pub(all) struct Sort {
property : String
direction : SortDirection
} derive(Eq, ToJson, Debug, FromJson)impl Show for SortDirectionpub(all) enum Statement {
Select(SelectStatement)
Insert(InsertStatement)
Upsert(UpsertStatement)
Update(UpdateStatement)
Delete(DeleteStatement)
} derive(Eq, ToJson, FromJson)fn preload_in_sql_dollar(table : String, key_col : String, count : Int) -> Stringfn preload_in_sql_qmark(table : String, key_col : String, count : Int) -> Stringfn preload_many_to_many_sql_dollar(target_table : String, target_key : String, join_table : String, join_owner_key : String, join_target_key : String, count : Int) -> Stringfn preload_many_to_many_sql_qmark(target_table : String, target_key : String, join_table : String, join_owner_key : String, join_target_key : String, count : Int) -> StringA lightweight MoonBit ORM with typed queries, code generation, and multi-database engines
Dependencies