diff --git a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/define/table.mdx b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/define/table.mdx index 87abc7c4e..c430c3e1d 100644 --- a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/define/table.mdx +++ b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/define/table.mdx @@ -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 diff --git a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/update.mdx b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/update.mdx index 637f967a3..9e95a6d34 100644 --- a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/update.mdx +++ b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/update.mdx @@ -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