OBJECT

Query

link GraphQL Schema definition

  • type Query {
  • # getSchema gets information about node/connection types, type-constraints,
  • # indexes, and authorizers
  • #
  • # Arguments
  • # where:
  • getSchema(where: Empty): Schema!
  • # me returns a Doc of the currently logged in user
  • #
  • # Arguments
  • # where:
  • me(where: Empty): Doc!
  • # getDoc gets a doc at the given ref
  • #
  • # Arguments
  • # where:
  • getDoc(where: RefInput!): Doc!
  • # searchDocs searches for 0-many docs
  • #
  • # Arguments
  • # where:
  • searchDocs(where: Filter!): Docs!
  • # traverse searches for 0-many docs using a graph traversal algorithm
  • #
  • # Arguments
  • # where:
  • traverse(where: TraverseFilter!): Traversals!
  • # traverseMe searches for 0-many docs related to the origin user using a graph
  • # traversal algorithm
  • #
  • # Arguments
  • # where:
  • traverseMe(where: TraverseMeFilter!): Traversals!
  • # getConnection gets a connection at the given ref
  • #
  • # Arguments
  • # where:
  • getConnection(where: RefInput!): Connection!
  • # existsDoc checks if a document exists in the graph
  • #
  • # Arguments
  • # where:
  • existsDoc(where: ExistsFilter!): Boolean!
  • # existsConnection checks if a connection exists in the graph
  • #
  • # Arguments
  • # where:
  • existsConnection(where: ExistsFilter!): Boolean!
  • # hasDoc checks if a document exists in the graph by reference
  • #
  • # Arguments
  • # where:
  • hasDoc(where: RefInput!): Boolean!
  • # hasConnection checks if a connection exists in the graph by reference
  • #
  • # Arguments
  • # where:
  • hasConnection(where: RefInput!): Boolean!
  • # searchConnections searches for 0-many connections
  • #
  • # Arguments
  • # where:
  • searchConnections(where: Filter!): Connections!
  • # connectionsFrom returns connections from the given doc that pass the filter
  • #
  • # Arguments
  • # where:
  • connectionsFrom(where: ConnectFilter!): Connections!
  • # connectionsTo returns connections to the given doc that pass the filter
  • #
  • # Arguments
  • # where:
  • connectionsTo(where: ConnectFilter!): Connections!
  • # aggregateDocs executes an aggregation function against a set of documents
  • #
  • # Arguments
  • # where:
  • aggregateDocs(where: AggFilter!): Float!
  • # aggregateConnections executes an aggregation function against a set of
  • # connections
  • #
  • # Arguments
  • # where:
  • aggregateConnections(where: AggFilter!): Float!
  • }

link Require by

This element is not required by anyone