mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-07 20:47:25 +01:00
fixed autocomplete base collection keys caching
This commit is contained in:
1 parent
341bcc4a0e
commit
aed8367231
41 files changed
+175
-160
No files matched your search
+1
-1
@@ -54,7 +54,7 @@ func (dao *Dao) FindCollectionByNameOrId(nameOrId string) (*models.Collection, e
|
||||
// IsCollectionNameUnique checks that there is no existing collection
|
||||
// with the provided name (case insensitive!).
|
||||
//
|
||||
// Note: case sensitive check because the name is used also as a table name for the records.
|
||||
// Note: case insensitive check because the name is used also as a table name for the records.
|
||||
func (dao *Dao) IsCollectionNameUnique(name string, excludeIds ...string) bool {
|
||||
if name == "" {
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user