18 lines
395 B
Markdown
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
|