You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not entirely sure if this is a feature request, or my ignorance?
In the native redis-cli this command works: JSON.GET somekey path1 path2 path3
In rejson this command works: jsonGet(somekey, "path1")
However, this command doesn't: jsonGet(somekey, "path1 path2 path3")
Am I missing something about how to return multiple paths (fields) from jsonGet?
Should I be using the options in the function signature?
... or possibly change the function signature?
from: JSONGet(key, path string, opts ...rjs.GetOption) (res interface{}, err error)
to: JSONGet(key, path []string, opts ...rjs.GetOption) (res interface{}, err error)
The text was updated successfully, but these errors were encountered:
Not entirely sure if this is a feature request, or my ignorance?
In the native redis-cli this command works:
JSON.GET somekey path1 path2 path3
In rejson this command works:
jsonGet(somekey, "path1")
However, this command doesn't:
jsonGet(somekey, "path1 path2 path3")
Am I missing something about how to return multiple paths (fields) from jsonGet?
Should I be using the options in the function signature?
... or possibly change the function signature?
from:
JSONGet(key, path string, opts ...rjs.GetOption) (res interface{}, err error)
to:
JSONGet(key, path []string, opts ...rjs.GetOption) (res interface{}, err error)
The text was updated successfully, but these errors were encountered: