@aponica/mysqlgoose-schema-js v1.2.0
@aponica/mysqlgoose-schema-js
Generates a JSON hash (dictionary) object of mysql table schemas, indexed by table name, to be used by @aponica/mysqlgoose-js to create models.
Execution
npx @aponica/mysqlgoose-schema-js zConfigFile [ zOutFile ]
zConfigFile
must be a JSON file containing the database connection data.
It must contain an object with members as expected by
mysqljs/mysql:
{"database":"mysqlgoose_test",
"host":"localhost",
"password":"password",
"user":"mysqlgoose_tester"}
If zOutFile
is specified, the output is saved to a file with this name,
without whitespace. If the file exists, it is overwritten. If not specified,
output is to stdout w/two-space indentation.
Please Donate!
Help keep a roof over our heads and food on our plates! If you find aponica® open source software useful, please click here to make a one-time or recurring donation via PayPal, credit or debit card. Thank you kindly!
Contributing
Your interest is appreciated! Please read the main project documentation at @aponica/mysqlgoose-js.
Copyright
Copyright 2019-2022 Opplaud LLC and other contributors.
License
MIT License.
Trademarks
OPPLAUD and aponica are registered trademarks of Opplaud LLC.
Related Links
Official links for this project:
Related projects: