daniele
11/13/2017, 11:08 AMiamclaytonray
11/13/2017, 12:28 PMiamclaytonray
11/13/2017, 12:28 PMiamclaytonray
11/13/2017, 12:41 PMcreateAirline()
mutation. When using Graphcool (BaaS/Backend-as-a-Service) or a GraphQL-compliant server, that mutation gets sent to it’s relevant function (serverless or not), executes that function (in this case, it would insert a new row in the table for that Airline), and then is finished.
Like @Vinnie said, you get complete CRUDabilities out of the box with Graphcool. Client’s are not responsible for database interactions. Servers handle that. Client’s then request for something to be created or fetched, for example, and then the response is sent back to the client (Angular). So, basically, client’s don’t really do CRUD. They only request for those operations to be doneiamclaytonray
11/13/2017, 12:43 PMcreateAirline()
) the client will send that request to GC, and then GC will create that row in Aurora