@pikku/addon-mysql
v0.1.0
Published
MySQL database operations.
Readme
@pikku/addon-mysql
MySQL database operations.
Functions
executeQuery— execute a raw SQL queryselect— select rows with filters and orderinginsert/insertMany— insert rowsupdate— update rowsdeleteRows— delete rowstruncate— truncate a tableupsert— insert or update on conflictdropTable— drop a tablecount— count rowsdescribeTable— get table schemalistTables— list all tablestransaction— execute queries in a transaction
Secrets
MYSQL_CREDENTIALS — fields: user, password, caCertificate, clientCertificate, clientPrivateKey
Dependencies
- mysql2
