added option to call Dao.RecordQuery() with the collection id or name

This commit is contained in:
Gani Georgiev
2023-07-13 22:38:55 +03:00
parent a38bd5bedc
commit fdccdcebad
4 changed files with 127 additions and 68 deletions
-1
View File
@@ -27,7 +27,6 @@ func SubtractSlice[T comparable](base []T, subtract []T) []T {
// ExistInSlice checks whether a comparable element exists in a slice of the same type.
func ExistInSlice[T comparable](item T, list []T) bool {
for _, v := range list {
if v == item {
return true