-
Notifications
You must be signed in to change notification settings - Fork 63
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
1 parent
61206cd
commit 1f26665
Showing
4 changed files
with
24 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html | ||
* | ||
* @author Jeremy Daly <[email protected]> | ||
* @version 1.1.0 | ||
* @version 1.2.0 | ||
* @license MIT | ||
*/ | ||
|
||
|
@@ -490,7 +490,7 @@ const commit = async (config,queries,rollback) => { | |
/** | ||
* Create a Data API client instance | ||
* @param {object} params | ||
* @param {'mysql'|'pg'} params.engine The type of database (MySQL or Postgres) | ||
* @param {'mysql'|'pg'} [params.engine=mysql] The type of database (MySQL or Postgres) | ||
* @param {string} params.resourceArn The ARN of your Aurora Serverless Cluster | ||
* @param {string} params.secretArn The ARN of the secret associated with your | ||
* database credentials | ||
|
@@ -529,7 +529,7 @@ const init = params => { | |
// Require engine | ||
engine: typeof params.engine === 'string' ? | ||
params.engine | ||
: error('\'engine\' string value required'), | ||
: 'mysql', | ||
|
||
// Require secretArn | ||
secretArn: typeof params.secretArn === 'string' ? | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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