moonbitstack/moonctl/model does not have a README file
pub(all) suberror Refused {
BadDsn(String)
}pub(all) struct DdlColumn {
name : String
type_ : String
primary_key : Bool
nullable : Bool
default_ : String?
}pub(all) struct PgTarget {
host : String
port : Int
user : String
password : String
database : String
}pub(all) struct ReflectedColumn {
table : String
name : String
sql_type : String
primary_key : Bool
nullable : Bool
}fn cache_file_name(service : String) -> Stringfn generate_crud_from_ddl(source : String) -> Stringfn migrate_file_name(service : String) -> Stringfn migration_updown(table : String, model_expr : String) -> Stringfn mongo_file_name(service : String) -> Stringfn storage_class(type_ : String) -> String?Install
Download zipProject and code generator for MoonBit services.