Skip to main content

gqlAuthMutation method

[Future[<[QueryResult[<[Object?]>]]>]] gqlAuthMutation(

  1. [[String] mutation, )

This function is used to run the graph-ql mutation for authenticated user.

params:

  • mutation: mutation is used to change/add/delete data in graphql, for more info read graphql docs
  • variables: variables to be passed with mutation

returns:

  • Future<QueryResult<Object?>>: it returns Future of dynamic

Implementation

Future<QueryResult<Object?>> gqlAuthMutation(
String mutation, ) async
  1. talawa
  2. database_mutation_functions
  3. DataBaseMutationFunctions
  4. gqlAuthMutation method
DataBaseMutationFunctions class