mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Tweaked README.md
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user