Skip to content

Commit

Permalink
Merge branch 'support-db-query-more-params-for-non-interactive-mode' …
Browse files Browse the repository at this point in the history
…of ssh://github.com/litencatt/notion-cli into support-db-query-more-params-for-non-interactive-mode
  • Loading branch information
litencatt committed Jan 3, 2024
2 parents 90f0445 + fe703d8 commit bd22242
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/db.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ Query a database

```
USAGE
$ notion-cli db query [DATABASE_ID] [-a <value>] [-f <value>] [-r] [--columns <value> | -x] [--sort <value>]
[--filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
$ notion-cli db query [DATABASE_ID] [-a <value>] [-f <value>] [-p <value>] [-A] [-r] [--columns <value> |
-x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
FLAGS
-A, --pageAll get all pages
-a, --rawFilter=<value> JSON stringified filter string
-f, --fileFilter=<value> JSON filter file path
-p, --pageSize=<value> [default: 10] The number of results to return. The default is 10, with a minimum of 1 and a
maximum of 100.
-r, --raw output raw json
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
Expand All @@ -94,7 +97,7 @@ EXAMPLES
$ notion-cli db query
Query a db via interactive mode with a specific database_id
Query a db via non-interactive mode with a specific database_id
$ notion-cli db query DATABASE_ID
Expand Down

0 comments on commit bd22242

Please sign in to comment.