OBJECT

Query

link GraphQL Schema definition

  • type Query {
  • # Returns all Business's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to business table.
  • # Generated automatically on create
  • businesses(id: Int): [Business]
  • # Returns all Image's matching the provided arguments
  • #
  • # Arguments
  • # title: The name of the image
  • images(title: String): [Image]
  • # Returns all Keyresult's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to key result table.
  • # Generated automatically on create
  • # ids: An array of Auto-incrementing integer unique to task
  • # table. Generated automatically on create
  • keyresults(id: Int, ids: [Int]): [Keyresult]
  • # Returns all lifearea's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to life area table.
  • # Generated automatically on create
  • # user_id: The id of the User
  • lifeareas(id: Int, user_id: Int): [Lifearea]
  • # Returns all Objective's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to objective table.
  • # Generated automatically on create
  • # life_area_id: The objective's life area id
  • objectives(id: Int, life_area_id: Int): [Objective]
  • # Returns all Post's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to the post table.
  • # Generated automatically on create
  • # type: The type of the post
  • # url: The url of the post
  • # query: A string used to search post titles
  • posts(id: Int, type: String, url: String, query: String): [Post]
  • # Returns all User's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to user table. Generated
  • # automatically on create
  • # email: The user’s email address. Must be a valid email address
  • users(id: Int, email: String): [User]
  • # Returns all Task's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to task table. Generated
  • # automatically on create
  • tasks(id: Int): [Task]
  • # Returns all Team's matching the provided arguments
  • #
  • # Arguments
  • # id: Auto-incrementing integer unique to team table. Generated
  • # automatically on create
  • teams(id: Int): [Team]
  • }

link Require by

This element is not required by anyone