adjust code to new repository
This commit is contained in:
committed by
T. R. Bernstein
parent
0a74d2f25d
commit
4128071070
@@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/tools/list"
|
||||
"github.com/tabshift-gh/pocketbase/tools/list"
|
||||
)
|
||||
|
||||
const StoreKeyCachedCollections = "pbAppCachedCollections"
|
||||
@@ -253,7 +253,7 @@ func (app *BaseApp) TruncateCollection(collection *Collection) error {
|
||||
// normalizeViewQueryId wraps (if necessary) the provided view query
|
||||
// with a subselect to ensure that the id column is a text since
|
||||
// currently we don't support non-string model ids
|
||||
// (see https://github.com/pocketbase/pocketbase/issues/3110).
|
||||
// (see https://github.com/tabshift-gh/pocketbase/issues/3110).
|
||||
func normalizeViewQueryId(app App, query string) (string, error) {
|
||||
query = strings.Trim(strings.TrimSpace(query), ";")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user