NEW

The wait is over. SurrealDB 3.0 is here!

Learn more

Release v1.0.0-beta.6

Release

Aug 13, 20221 min read

SurrealDB

SurrealDB

Show all posts

Release v1.0.0-beta.6

Our newsletter

Get tutorials, AI agent recipes, webinars, and early product updates in your inbox every two weeks

  • Add command-line SurrealQL REPL for quick querying of a database

  • Log username at server startup when root authentication is enabled

  • Enable SurrealDB server to be configured using environment variables

  • Implement config definition key and value caching within a transaction

  • Add <code>array::sort</code> functions for sorting of arrays and array fields

  • Ensure an error is returned when selecting from a non-existent table in strict mode

  • Allow polymorphic remote record constraints in <code>DEFINE FIELD</code> statements

  • Fix bug with SQL export, where <code>DEFINE INDEX</code> statements were not exported

  • Fix bug where multi-yield path expressions with multiple alias outputs were returning nested arrays

  • Fix bug where aliased field was not output when fetching a multi-yield expressions with a final alias yield

SurrealDB REPL

SurrealDB now supports the ability to start a command-line REPL to query a local or remote database from the terminal.

user@localhost % surreal sql --conn http://localhost:8000 --user root --pass root --ns test --db test

/releases

On this page

Our newsletter

Get tutorials, AI agent recipes, webinars, and early product updates in your inbox every two weeks