kysely-data-api
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Kysely Data Api

This library adds AWS RDS Data Api support for kysely. It has support for both MySQL and Postgres

Usage

const dataApi = new DataApiDialect({
  mode: "mysql",
  driver: {
    client: new RDSDataService(),
    database: "bench",
    secretArn: "<arn of secret containing credentials",
    resourceArn: "<arn of database>",
  },
});

export const db = new Kysely<Database>({ dialect: dataApi });

/kysely-data-api/

    Package Sidebar

    Install

    npm i kysely-data-api

    Weekly Downloads

    90,652

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    34.5 kB

    Total Files

    24

    Last publish

    Collaborators

    • thdxr