Skip to content

Commit

Permalink
Add changelog, bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiSherman committed May 1, 2024
1 parent f9be0ab commit f8cfb69
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions changelogs/drizzle-orm/0.30.10.md
@@ -0,0 +1,17 @@
## 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
2 changes: 1 addition & 1 deletion drizzle-orm/package.json
@@ -1,6 +1,6 @@
{
"name": "drizzle-orm",
"version": "0.30.9",
"version": "0.30.10",
"description": "Drizzle ORM package for SQL databases",
"type": "module",
"scripts": {
Expand Down

0 comments on commit f8cfb69

Please sign in to comment.