1.2.0 • Published 2 years ago

@aponica/mysqlgoose-schema-js v1.2.0

Weekly downloads
8
License
MIT
Repository
github
Last release
2 years ago

@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:

1.2.0

2 years ago

1.1.1

2 years ago

1.1.2

2 years ago

1.1.0

3 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.9

4 years ago