Files
drizzle-team--drizzle-orm/changelogs/drizzle-orm/0.30.10.md
T
2026-07-13 12:10:05 +08:00

18 lines
395 B
Markdown

## New Features
### 🎉 `.if()` function added to all WHERE expressions
#### Select all users after cursors if a cursor value was provided
```ts
function getUsersAfter(cursor?: number) {
return db.select().from(users).where(
gt(users.id, cursor).if(cursor)
);
}
```
## Bug Fixes
- Fixed internal mappings for sessions `.all`, `.values`, `.execute` functions in AWS DataAPI