Skip to content

Commit

Permalink
Fix to build + typo (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon authored Aug 28, 2024
1 parent 8c1b503 commit fb1ddbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ With `TYPE RELATION`, you can specify a table to only store relational type cont
-- Just a RELATION table, no constraints on the type of table
DEFINE TABLE likes TYPE RELATION;
-- Define a relation table, and constraint the type of relation which can be stored
-- Define a relation table, and constrain the type of relation which can be stored
DEFINE TABLE likes TYPE RELATION FROM user TO post;
```

```surql
-- Define a relation table, and constraint the type of relation which can be stored
-- Define a relation table, and constrain the type of relation which can be stored
DEFINE TABLE assigned_to SCHEMAFULL TYPE RELATION IN tag OUT sticky
PERMISSIONS
FOR create, select, update, delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ sidebar_label: UPDATE
title: UPDATE statement | SurrealQL
description: The UPDATE statement can be used to update records in the database. If they already exist, they will be updated. If they do not exist, the statement will fail and no records will be updated.
---
import Since from '@site/src/components/Since'

# `UPDATE` statement

Expand Down

0 comments on commit fb1ddbb

Please sign in to comment.