Reihen Page -- all kinds of stuff

This commit is contained in:
Simon Martens
2025-02-14 12:05:34 +01:00
parent 8d00f6a44d
commit 6aeb4c0548
18 changed files with 369 additions and 172 deletions

View File

@@ -81,3 +81,15 @@ func BasicRelationCollection(app core.App, sourcetablename, targettablename stri
return collection, nil
}
type IDable interface {
ID() string
}
func GetIDs(records []IDable) []string {
ids := []string{}
for _, r := range records {
ids = append(ids, r.ID())
}
return ids
}