Added multiple records stipulation

This commit is contained in:
2020-03-03 20:12:48 +11:00
parent a9cd1167ad
commit 4d06e3e84c

View File

@@ -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"
}
]
```