We have released AWS Data API support for PostgreSQL
Connection example
import { drizzle, migrate } from 'drizzle-orm/aws-data-api/pg';
const rdsClient = new RDSDataClient({});
const db = drizzle(rdsClient, {
database: '',
secretArn: '',
resourceArn: '',
});
await migrate(db, { migrationsFolder: '' });
Note:
All drizzle pg data types are working well with data api, except ofinterval
. This type is not yet mapped in proper way