Rearranged the files, adjusted the code slightly

This commit is contained in:
2020-09-19 09:03:55 +10:00
parent 1addf15a39
commit 6b7e55c05f
9 changed files with 48 additions and 73 deletions

View File

@@ -1,6 +1,6 @@
simpleQL is a web API query language that mimics graphQL, designed solely for fun.
sineQL is a web API query language that mimics graphQL, designed solely for fun.
simpleQL consists of two languages - the schema language, and the query language.
sineQL consists of two languages - the schema language, and the query language.
## The Schema Language
@@ -30,13 +30,11 @@ type Book {
}
type Author {
!String name
!Book[] books
String name
Book books
}
```
`[]` Represents an array of fields, while `!` represents a field that must not be omitted in queries (non-nullable).
## The Query Language
The query langauge can be used to request data from a server, either in whole or in part by listing it's type and it's fields, and subfields.