chientrm / wrangler-proxy

Wrangler Proxy exposes Workers API to outside and integrate to your favorite frameworks. Compatible with DrizzleORM.
MIT License
31 stars 1 forks source link

D1 Query Bugs #9

Closed rac146 closed 1 year ago

rac146 commented 1 year ago

OK not sure if this is a problem with the proxy, but when attempting to use DrizzleORM and do a findFirst() query I'm getting the following error:

image

The same table running a query with findMany() works fine.. Also getting similar errors on any queries that involve where clauses.. Is there some query translation problem?

rac146 commented 1 year ago

I can confirm this is the proxy - did a test deploy of findFirst and where clause queries into Cloudflare with no issues..

BahaaZidan commented 1 year ago

Same issue with me

plainsquirrel commented 1 year ago

Same problem @chientrm There is an issue when using where. What would be the best action to take to solve it?

chientrm commented 1 year ago

Same problem @chientrm There is an issue when using where. What would be the best action to take to solve it?

I'm working on this. 👍

chientrm commented 1 year ago

It is fixed in latest version 2.2.2