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

Add GraphQL cql-first data aggregations #117

Open
polandll opened this issue May 24, 2021 · 3 comments
Open

Add GraphQL cql-first data aggregations #117

polandll opened this issue May 24, 2021 · 3 comments
Assignees

Comments

@polandll
Copy link
Contributor

polandll commented May 24, 2021

per stargate/stargate#901

@polandll polandll self-assigned this May 24, 2021
@polandll
Copy link
Contributor Author

polandll commented Jun 1, 2021

EXAMPLE:

query maxSubscription {
      mdsubscriptions(value: { cid: 1, sid: "sheth" }) {
        values {
          cid
          sid
          rtime
          uic
          max: _int_function(name: "max", args: ["uic"])
    }
  }
}

@polandll
Copy link
Contributor Author

example:
query get_nb_thread_for_AAA {
message (value: {thread_id:"AAA"}) {
values {
c: _bigint_function(name: "count", args: ["message_id"])
}
}
}

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

No branches or pull requests

1 participant