Skip to content

Commit

Permalink
rv table name from update/upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon committed Sep 19, 2024
1 parent 9836523 commit b607c95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/content/doc-surrealql/statements/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ The `UPDATE` statement supports bulk update, which allows multiple records to be

```surql
UPDATE person CONTENT [
{id: r"person:jaime", name: "Jaime", surname: "Morgan Hitchcock"},
{id: "tobie", name: "Tobie", surname: "Morgan Hitchcock"},
{ id: "jaime", name: "Jaime", surname: "Morgan Hitchcock" },
{ id: "tobie", name: "Tobie", surname: "Morgan Hitchcock" },
-- ... 1000 more records
]
```
Expand Down
4 changes: 2 additions & 2 deletions src/content/doc-surrealql/statements/upsert.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ The `UPSERT` statement supports bulk upsert, which allows multiple records to be

```surql
UPSERT person CONTENT [
{id: r"person:jaime", name: "Jaime", surname: "Morgan Hitchcock"},
{id: "tobie", name: "Tobie", surname: "Morgan Hitchcock"},
{ id: "jaime", name: "Jaime", surname: "Morgan Hitchcock" },
{ id: "tobie", name: "Tobie", surname: "Morgan Hitchcock" },
-- ... 1000 more records
]
```
Expand Down

0 comments on commit b607c95

Please sign in to comment.