From 45c012a08ef046cb727b1931de04e917977f9b1f Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 6 Apr 2021 11:04:03 +1000 Subject: [PATCH] Updated README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d18d9e8..085045a 100644 --- a/README.md +++ b/README.md @@ -161,13 +161,13 @@ The fields can be altered as well, using the query language's built-in keywords: ### Create -When using `create`, `match` will find an existing record and associate that with the created values (multiple matches is an error): +When using `create`, `match` will find an existing record and associate that with the created values: ``` -Author { - match name "Kenneth Grahame" - create books { - create title "The Wind in the Willows" +create Author { + create name "Kenneth Grahame" + match books { + match title "The Wind in the Willows" } } ``` @@ -177,25 +177,25 @@ You can create multiple records at once by surrounding them with `[]`: ``` create Book [ { - set title "The Philosepher's Kidney Stone" + create title "The Philosepher's Kidney Stone" } { - set title "The Chamber Pot of Secrets" + create title "The Chamber Pot of Secrets" } { - set title "The Prisoner of Aunt Kazban" + create title "The Prisoner of Aunt Kazban" } { - set title "The Goblet of the Fire Cocktail" + create title "The Goblet of the Fire Cocktail" } { - set title "The Order for Kleenex" + create title "The Order for Kleenex" } { - set title "The Half-Priced Pharmacy" + create title "The Half-Priced Pharmacy" } { - set title "Yeah, I Got Nothing" + create title "Yeah, I Got Nothing" } ] ```