surreal sql <file>

Start an SQL REPL in your terminal with pipe support

Arguments

NameDescription
filePath to the sql file to export

Options

NameDescription
--pass, -p <pass>Database authentication password to use when connecting [default: root]
--user, -u <user>Database authentication username to use when connecting [default: root]
--conn, -c <conn>Remote database server url to connect to [default: https://cloud.surrealdb.com]
--ns <ns>
  • Required ✳
--db <db>
  • Required ✳
--prettyWhether database responses should be pretty printed