virtual class slanRecord::Mapping

sys::Obj
  slanRecord::Mapping
dropAllTable

Void dropAllTable(Context context)

drop all table with in appliction

each

Void each(Func<Void,TableDef> f)

get

virtual TableDef get(Str name)

getDbSchema

static List<TableDef> getDbSchema(SqlConn conn, Func<Bool,Str>? tableFilter := null)

make

new make(SqlConn conn, Func<Bool,Str>? tableFilter := null)

tryCreateAllTable

Void tryCreateAllTable(Context context)

try create the table,if noMatchDatabase throw a MappingErr