mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Added multiple records stipulation
This commit is contained in:
27
README.md
27
README.md
@@ -100,3 +100,30 @@ delete Book {
|
||||
|
||||
You can use as many instances of `match` and `set` as you like, as long as the result is valid.
|
||||
|
||||
You can create multiple records at once by surrounding them with `[]`:
|
||||
|
||||
```
|
||||
create Book [
|
||||
{
|
||||
set title "The Philosepher's Kidney Stone"
|
||||
}
|
||||
{
|
||||
set title "The Chamber Pot of Secrets"
|
||||
}
|
||||
{
|
||||
set title "The Prisoner of Aunt Kazban"
|
||||
}
|
||||
{
|
||||
set title "The Goblet of Fire Cocktail"
|
||||
}
|
||||
{
|
||||
set title "The Order for Kleenex"
|
||||
}
|
||||
{
|
||||
set title "The Half-Priced Pharmacy"
|
||||
}
|
||||
{
|
||||
set title "Yeah, I got nothing"
|
||||
}
|
||||
]
|
||||
```
|
||||
Reference in New Issue
Block a user