Get on Workspace auto load full data

This commit is contained in:
mr
2024-07-26 10:36:23 +02:00
parent d5c5b454f4
commit 6c83e54d37
15 changed files with 129 additions and 70 deletions

View File

@@ -55,10 +55,6 @@ func LoadAll(collection LibDataEnum) LibDataShallow {
return LibDataShallow{Data: d, Code: code}
}
func Model(t int) utils.DBObject {
return models.Model(t)
}
func LoadOne(collection LibDataEnum, id string) LibData {
d, code, err := models.Model(collection.EnumIndex()).GetAccessor().LoadOne(id)
if err != nil {