added option to call Dao.RecordQuery() with the collection id or name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user