From 3bb9ad0d4ae44382d43d7b7a0ccd98282ed2ae62 Mon Sep 17 00:00:00 2001 From: Micha de Vries Date: Wed, 18 Sep 2024 17:15:53 +0100 Subject: [PATCH] update js docs (#867) --- .../doc-sdk-javascript/core/data-querying.mdx | 92 ++++++++++++++++--- .../core/initialization.mdx | 4 +- .../doc-sdk-javascript/core/utilities.mdx | 20 +++- .../doc-sdk-javascript/engines/node.mdx | 4 +- .../doc-sdk-javascript/engines/wasm.mdx | 2 +- src/content/doc-sdk-javascript/setup.mdx | 16 ++-- 6 files changed, 111 insertions(+), 27 deletions(-) diff --git a/src/content/doc-sdk-javascript/core/data-querying.mdx b/src/content/doc-sdk-javascript/core/data-querying.mdx index 3754fffb1..9c246d170 100644 --- a/src/content/doc-sdk-javascript/core/data-querying.mdx +++ b/src/content/doc-sdk-javascript/core/data-querying.mdx @@ -229,7 +229,7 @@ CREATE $thing CONTENT $data; Inserts one or multiple records in the database. ```ts title="Method Syntax" -async db.insert(thing, data) +async db.insert(table, data) ``` ### Arguments @@ -243,11 +243,11 @@ async db.insert(thing, data) - thing -