mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-10 22:08:07 +01:00
added option to call Dao.RecordQuery() with the collection id or name
This commit is contained in:
1 parent
a38bd5bedc
commit
fdccdcebad
4 files changed
+127
-68
No files matched your search
@@ -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