Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible query #87

Open
AchimGrolimund opened this issue Aug 3, 2021 · 0 comments
Open

Possible query #87

AchimGrolimund opened this issue Aug 3, 2021 · 0 comments

Comments

@AchimGrolimund
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant