gojsonq
gojsonq copied to clipboard
Possible query
is it possible to compare a query with 2 keys? I tried 2 3 tests, but it didn't work for me.
{
"authorizedWriters": {
"teams": [],
"users": []
},
"created": 1627654462505,
"creator": "E7jJBMMAEAA",
"dashboards": ["E7jJCz8AEAA"],
"lastUpdated": 1627654462744,
"lastUpdatedBy": "E7jJBMMAEAA",
"teams": []
}
What i try to do:
// give me all objects which have a different updater like creator
// if creator == lastUpdatedBy
json:= gojsonq.New().JSONString(json).From("results").Select("dashboardId","name").Where(.....?????)
greetings