From 4d06e3e84cafc3cc19502973aa432fe2d37c5a31 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 3 Mar 2020 20:12:48 +1100 Subject: [PATCH] Added multiple records stipulation --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index f114025..0f0094c 100644 --- a/README.md +++ b/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" + } +] +``` \ No newline at end of file