Skip to content

Commit

Permalink
docs(readme): add instructions on how to use the limit flag/config field
Browse files Browse the repository at this point in the history
86
  • Loading branch information
danvergara committed Dec 22, 2021
1 parent dd2c852 commit 88e502e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Flags:
--driver string Database driver
-h, --help help for dblab
--host string Server host name or IP
--limit int Size of the result set from the table content query (default 100)
--pass string Password for user
--port string Server port
--ssl string SSL mode
Expand All @@ -83,7 +84,7 @@ You can start the app passing no flags or parameters, you'll be asked for connec
![Alt Text](screenshots/dblab-default-form.gif)

```sh
$ dblab --host localhost --user myuser --db users --pass password --ssl disable --port 5432 --driver postgres
$ dblab --host localhost --user myuser --db users --pass password --ssl disable --port 5432 --driver postgres --limit 50
$ dblab --db path/to/file.sqlite3 --driver sqlite3
```

Expand Down Expand Up @@ -113,6 +114,7 @@ database:
password: "password"
user: "postgres"
driver: "postgres"
limit: 50
```

Or for sqlite3:
Expand Down

0 comments on commit 88e502e

Please sign in to comment.