We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2711fd1 commit 2f331b1Copy full SHA for 2f331b1
1 file changed
pkg/stores/sqlproxy/proxy_store.go
@@ -15,6 +15,7 @@ import (
15
"sync"
16
17
"github.com/pkg/errors"
18
+ "github.com/rancher/steve/pkg/stores/queryhelper"
19
"github.com/sirupsen/logrus"
20
"golang.org/x/sync/errgroup"
21
"k8s.io/apimachinery/pkg/api/meta"
@@ -371,7 +372,7 @@ func getFieldsFromSchema(schema *types.APISchema) [][]string {
371
372
}
373
for _, colDef := range colDefs {
374
field := strings.TrimPrefix(colDef.Field, "$.")
- fields = append(fields, strings.Split(field, "."))
375
+ fields = append(fields, queryhelper.SafeSplit(field))
376
377
return fields
378
0 commit comments