RDS data service
Motivation
This library exists to provide an ideal client for AWS RDS over HTTP (via RDS Data Service API) for serverless environments
- Small size for cold-boot friendliness
- Use RDS HTTP API to push connection pooling concerns/implementation to AWS
Other features
API clients
Low-level
executeStatement(request: ExecuteStatementRequest)
batchExecuteStatement(request: BatchExecuteStatementRequest)
beginTransaction(request: BeginTransactionRequest)
commitTransaction(request: CommitTransactionRequest)
rollbackTransaction(request: RollbackTransactionRequest)
High-level
read<Response>(sql: string, params?: object): Response
write<Response>(sql: string, params?: object): Response
batch<Response>(sql: string, paramsSet?: object[]): Response[]
transact(): ClientWithTransaction