Skip to content

Commit

Permalink
Merge pull request #1318 from szarnyasg/documet-readonly-flag
Browse files Browse the repository at this point in the history
Document concurrency/readonly flag in CLI
  • Loading branch information
szarnyasg committed Oct 3, 2023
2 parents 8be2c1f + ad87a1d commit 388a181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The executable can be configured in many ways when started. Some common configur
* `-json` to set the output mode to JSON
* `-readonly` to open the database in read-only mode

> DuckDB has two options for concurrent access: Either one process runs which can both read and write to the database, or multiple processes can read from the database but no processes can write (`-readonly`). See [concurrency in DuckDB](/faq#how-does-duckdb-handle-concurrency) for more details.
To see additional command line options to use when starting the CLI, use the command `duckdb -help`.

> DuckDB has a [tldr page](https://github.com/tldr-pages/tldr/blob/main/pages/common/duckdb.md). If you have [tldr](https://github.com/tldr-pages/tldr) installed, you can display it by running `tldr duckdb`.
Expand Down

0 comments on commit 388a181

Please sign in to comment.