What structure is expected when using the http-proxy?
When I run this code i get a object with a empty id and name.
What is the expected return value?
3 Replies
You can check the sqlite-http proxy example https://github.com/drizzle-team/drizzle-orm/tree/main/examples/sqlite-proxy#proxy-server-implementation-example
GitHub
drizzle-orm/examples/sqlite-proxy at main · drizzle-team/drizzle-orm
Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅 - drizzle-team/drizzle-orm
No, I am using a proxy in a different way. I am using this example:https://orm.drizzle.team/docs/get-started-sqlite#http-proxy
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Ok, the expected return is not a object but a array...
For example: