nc-lib
v0.1.68
Published
xc-cli
Downloads
2
Readme
Knex
- Disable debug by default(knex, pg, mysql,...)
xc-cli-ts
xc-cli
# simple usage
xc -u user -p password -d database -o 3306
# multiple urls
xc -U 'mysql://localhost:3306?u=root&p=password&d=database'
# all schemas in that database
xc -U 'mysql://localhost:3306?u=root&p=password'
# all schemas in that database as multitenant
xc -U 'mysql://localhost:3306?u=root&p=password'
# Oracle coonection issue
https://dba.stackexchange.com/a/214077
-V, --version Output the version number
-h, --host <n> Hostname of database -> localhost by default
-u, --user <n> Username of database -> root by default
-p, --password <n> Password of database -> empty by default
-d, --database <n> database schema name
-o, --port <n> Port number of mysql -> 3306 by default
-U --urls [u] Database URLs
-y, --readOnly readonly apis -> false by default
-y, --readOnly readonly apis -> false by default
-r, --ipAddress <n> IP interface of your server / localhost by default
-n, --portNumber <n> Port number for app -> 3000 by default
-a, --apiPrefix <n> Api url prefix -> /api/ by default
-s, --storageFolder <n> Storage folder -> current working dir by default (available only with local)
-i, --ignoreTables <n> Comma separated table names to ignore
-c, --useCpuCores <n> Specify number of cpu cores to use / 1 by default / 0 to use max
-h, --help Output usage information