From 84bcc91c40949bb11b2aa2a7d8336eaaae83462e Mon Sep 17 00:00:00 2001 From: Obinna Ekwuno Date: Thu, 29 Aug 2024 13:05:56 +0100 Subject: [PATCH] Update table.mdx --- .../version-latest/surrealql/statements/define/table.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 021e318c2..39953068c 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 @@ -21,7 +21,7 @@ The `DEFINE TABLE` statement allows you to declare your table by name, enabling DEFINE TABLE [ OVERWRITE | IF NOT EXISTS ] @name [ DROP ] [ SCHEMAFULL | SCHEMALESS ] - [ TYPE [ ANY | NORMAL | RELATION [ IN | FROM ] @table [ OUT | TO ] @table ] [ ENFORCED ] ] + [ TYPE [ ANY | NORMAL | RELATION [ IN | FROM ] @table [ OUT | TO ] @table [ ENFORCED ]]] [ AS SELECT @projections FROM @tables [ WHERE @condition ] @@ -453,4 +453,4 @@ RELATE city:one->road_to->city:three SET ```bash title="Output" "The record 'city:three' does not exist" -``` \ No newline at end of file +```