oboard/morm/table does not have a README file
pub(all) struct Column {
name : String
column_type : ColumnType
size : Int
nullable : Bool
default_value : String?
auto_increment : Bool
primary_key : Bool
unique : Bool
comment : String
charset : String?
collation : String?
engine_options : Map[String, Array[String]]
} derive(Eq, ToJson)pub(all) enum ColumnType {
TinyInt
SmallInt
MediumInt
Int
BigInt
Float
Double
Decimal(Int, Int)
Char(Int)
VarChar(Int)
Text
MediumText
LongText
Binary(Int)
VarBinary(Int)
Blob
MediumBlob
LongBlob
Date
Time
DateTime
Timestamp
Year
Json
JsonB
Enum(String, FixedArray[String])
Boolean
} derive(Compare, Eq, Hash, ToJson, FromJson)impl Show for ColumnTypepub(all) struct Table {
name : String
schema : String?
catalog : String?
columns : FixedArray[Column]
indexes : FixedArray[Index]
foreign_keys : FixedArray[ForeignKey]
temporary : Bool
if_not_exists : Bool
engine : String?
charset : String?
collation : String?
tablespace : String?
comment : String
auto_increment : Int?
engine_options : Map[String, Array[String]]
} derive(Eq, ToJson)A lightweight MoonBit ORM with typed queries, code generation, and multi-database engines
Dependencies