Skip to content

Commit

Permalink
Add #707 and #705 into main (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekwuno authored Jul 30, 2024
1 parent 71f9f8b commit 99bd4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ RETURN array::distinct([ 1, 2, 1, 3, 3, 4 ]);
The `array::flatten` flattens an array of arrays, returning a new array with all sub-array elements concatenated into it.

```surql title="API DEFINITION"
array::flatten(array, index) -> array
array::flatten(array) -> array
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ After running locally, head over to Postman and create a fork for your workspace

## Using [`INFO` Statement](/docs/surrealdb/surrealql/statements/info)

You can get information about your workspace by using the INFO statement. However, you need the right permissions in other to see the output. See the documentation for the [INFO statement](/docs/surrealdb/surrealql/statements/info).
You can get information about your workspace by using the INFO statement. However, you need the right permissions in order to see the output. See the documentation for the [INFO statement](/docs/surrealdb/surrealql/statements/info).

It is also important to note that the `namespace` and `database` values for the Postman collection are set to `test` by default.

Expand Down

0 comments on commit 99bd4f1

Please sign in to comment.