DrizzleORM v0.30.10 release
May 1, 2024

New Features

🎉 .if() function added to all WHERE expressions

Select all posts with views greater than 100

async function someFunction(views = 0) {
  await db
    .select()
    .from(posts)
    .where(gt(posts.views, views).if(views > 100));
}

Bug Fixes

  • Fixed internal mappings for sessions .all, .values, .execute functions in AWS DataAPI

Read get started guide with AWS DataAPI in the documentation.

Become a Gold Sponsor