1.0.0 • Published 5 years ago

knex-data-api-client v1.0.0

Weekly downloads
37
License
MIT
Repository
github
Last release
5 years ago

knex-data-api-client

Knex RDS Data API Client

npm npm

The Knex Data API Client is a Knex extension that supports the RDS Data API, built using Jeremy Daily's excellent data-api-client module.

Support for transactions, and nestTables is included.

Use

const knexDataApiClient = require("knex-data-api-client");
const knex = require("knex")({
  client: knexDataApiClient,
  connection: {
    secretArn: "secret-arn", // Required
    resourceArn: "db-resource-arn", // Required
    database: "db-name",
    region: "eu-west-2"
  }
});

Nested tables support

Note - this significantly increases the data required back from the RDS data api.

knex()
  .doSomething()
  .options({ nestTables: true });

Credits

Built by the team at Skyhook and provided under an MIT license.

1.0.0

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago