Skip to content

Possible query #87

Open
Open
@AchimGrolimund

Description

@AchimGrolimund

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions