Skip to content

iloewensen/kysely-data-api

 
 

Repository files navigation

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 });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 3.6%
  • Shell 0.5%