Skip to content

Commit

Permalink
Change warning to note for record functions (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon authored Dec 23, 2024
1 parent 4e16f81 commit 5877742
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/content/doc-surrealql/functions/database/meta.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Since from '@components/shared/Since.astro'

# Meta functions

> [!WARNING]
> [!NOTE]
> As of version 2.0, these functions are now part of SurrealDB's [record](/docs/surrealql/functions/database/record) functions.

Expand Down
6 changes: 2 additions & 4 deletions src/content/doc-surrealql/functions/database/record.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ import Since from '@components/shared/Since.astro'

# Record functions

Record functions before SurrealDB 2.0 were located inside the module [meta](/docs/surrealql/functions/database/meta).

> [!WARNING]
> This function was known as `record::exists` in versions of SurrrealDB before 2.0. The behaviour has not changed.
> [!NOTE]
> Record functions before SurrealDB 2.0 were located inside the module [meta](/docs/surrealql/functions/database/meta). Their behaviour has not changed.
These functions can be used to retrieve specific metadata from a SurrealDB Record ID.

Expand Down

0 comments on commit 5877742

Please sign in to comment.