drizzle-team / drizzle-team/drizzle-orm

[BUG]: op-sqlite calling executeAsync

Open
#3,002 6 comments 10 reactions 0 assignees View on GitHub
bug db/sqlite driver/op-sqlite priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### What version of `drizzle-orm` are you using?

0.33.0

### What version of `drizzle-kit` are you using?

0.24.0

### Describe the Bug

in `op-sqlite/session.ts` there is a call in `run` to `this.client.executeAsync`, but that function is not part of the [op-sqlite API](https://ospfranco.notion.site/API-1a39b6bb3eb74eb893d640c8c3459362) - it should be `this.client.execute`

the error message I'm getting is `TypeError: this.client.executeAsync is not a function (it is undefined)`

### Expected behavior

_No response_

### Environment & setup

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.