In this video Emmanuel Henri adds a simple mutation to the GraphQL server with Mongo, and then tests it.
- [Instructor] Before we begin, please run NPS start.…Now that we have all of our database properly connected…and we have a simple mutation added to our server…let's test it and use a different tool to test as well.…Okay, so let's go and take a look at our first mutation.…So if you remember in a previous video…we actually added a mutation already.…So we add this mutation here.…So create a new friend…and then in our resolvers we have that mutation here…where we're creating a new friend…and then we're creating an object…which we then create a new item in our database…and this is in our Mongo database so this is not the SQL.…
So the SQL is being created when we first start…so we saw that in the last video here…and then we'll use a query to get the item…from this particular database,…but for now let's focus on Mongo.…Because we already have a mutation created…what I want to do on this video is to add a tool…that will allow you to cross check…that there are new items in your database,…in your Mongo database.…So let's go ahead and do that.…
- Basic GraphQL schema
- Object types and fields
- Role of the resolver in GraphQL
- Scalar and enumeration types
- Using GraphQL tools
- Setting up persistence
- Adding new items with mutations
- Updating and deleting items with mutations
- Queries with arguments, aliases, and fragments
Skill Level Intermediate
GraphQL: Data Fetching with Relaywith Emmanuel Henri2h 28m Intermediate
1. Setup and Introduction
2. Types and Schemas
3. Setting Up Persistence
5. Queries in Depth
Next steps1m 8s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.