NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

Release v1.0.0-beta.6: New CLI REPL, env var configs

Release

Aug 13, 20221 min read

Tobie Morgan Hitchcock

Tobie Morgan Hitchcock

Show all postsRelease v1.0.0-beta.6: New CLI REPL, env var configs

SurrealDB's latest beta version 1.0-beta.6 is now live, with a large number of bug and correctness fixes.

  • 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 array::sort 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 DEFINE FIELD statements

  • Fix bug with SQL export, where DEFINE INDEX 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

Our newsletter

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

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

Related posts

Our newsletter

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