Forrest logo
back to the dolt tool

dolt-sql:tldr:7bc89

dolt-sql: List all saved queries.
$ dolt sql --list-saved
try on your machine

The dolt sql --list-saved command is used in Dolt, a version-controlled SQL database, to list the saved queries or views in the current Dolt repository.

Here's a breakdown of the command:

  • dolt is the command-line interface (CLI) tool used to interact with the Dolt database.
  • sql is a subcommand of the dolt CLI that allows you to execute SQL queries against the database.
  • --list-saved is an option provided by the sql subcommand to list the saved queries or views.

When you run this command, Dolt will connect to the current repository, check for any saved queries or views, and display a list of their names and descriptions, if available. This can be useful for quickly seeing the available saved queries or views in your Dolt database.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dolt tool