Tweaked README.md

This commit is contained in:
2022-05-07 00:23:04 +10:00
committed by GitHub
parent 22b9d34562
commit 42c1e3a0bb

View File

@@ -180,13 +180,11 @@ The fields can be altered as well, using the query language's built-in keywords:
* update * update
* delete * delete
* match * match
* typeName (this is not used in either language, but rather is used internally) * typeName (this is a reserved keyword - it is not used in either language, but rather is used internally)
`create`, `update` and `delete` are still to be defined properly, but they'll probably work as follows.
### Create ### Create
When using `create`, `match` will find an existing record and associate that with the created values: When using `create`, `match` finds an existing record and associates that with the created values:
``` ```
create Author { create Author {
@@ -227,7 +225,7 @@ create Book [
### Update ### Update
When using `update`, `match` will find all existing records and update those using the `update` keyword: When using `update`, `match` finds all existing records and updates those using the `update` keyword:
``` ```
update Book { update Book {