-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
8 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
# sqlx-ts CLI Opitons | ||
|
||
| Flag | Description | TS generation | Future Roadmap | | ||
|-------------------|------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------| | ||
| --help | Help command to display all available | yes | N/A | | ||
| --config | Path to file based configuration. Use this flag if you are dealing with multiple database connections. Check here for more details | yes | N/A | | ||
| --db-host | Primary DB host | yes | N/A | | ||
| --db-pass | Primary DB password | yes | N/A | | ||
| --db-port | Primary DB port number | yes | N/A | | ||
| --db-type | Type of primary database to connect [default: postgres] [possible values: postgres, mysql] | not yet | Will be supported in the near future | | ||
| --db-user | Primary DB user name | N/A | Will be supported in the near future as this will be a unique feature that sqlx-ts provides | | ||
| --db-name | Primary DB name | | | | ||
| --ext | Javascript Extension to check SQLs against [default: ts] [possible values: ts, js] | | | | ||
| --generate-types | Flag to enable typescript type generation against SQLs | | | | ||
| --generate-path | Relative path to the type generation (e.g. ./somedir/test.queries.ts) | | | | ||
| --log-level | Log level to be used in sqlx-ts (the priority is in info > warn > error order) | | | | ||
| -V, --version | Print version information | | | | ||
# CLI Options |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.