#sql ORM to use ?

1 messages · Page 1 of 1 (latest)

undone vine
#

Which sql ORM to use for deno project ?

rancid aspen
#

If you like Prisma, there is a guide on the official deno docs:
https://deno.com/[email protected]/node/how_to_with_npm/prisma
and a guide on the Prisma docs how to use it with deno deploy:
https://www.prisma.io/docs/guides/deployment/deployment-guides/deploying-to-deno-deploy

Deno

Prisma has been one of our top requested modules to work
with in Deno. The demand is understandable, given that Prisma's developer
experience is top notch and plays well with so

Prisma

Learn how to deploy a TypeScript application to Deno Deploy.

undone vine
#

prisma is good in my opion.
what the --data-proxy mean ?

rancid aspen
#

It tells the generator to build a client that is usable with the Prisma Data Proxy (https://www.prisma.io/docs/data-platform/data-proxy) and reduces the bundle size (because the query engine is included in the data proxy as mentioned in the documentation

Prisma

Data Proxy in the Prisma Data Platform provides database connection management and pooling, load balancing, scaling, and fault tolerance features so that you can manage and scale database connections for applications that use Prisma ORM. With Data Proxy, your application can scale and maintain predictable database performance because it also lim...

undone vine
#

I don't understand there is a need for using github repo for using prisma with deno. why is so different implementation from node ?

rancid aspen
#

What do you mean by needing a Github repo? Do you refer to the guide at the prisma docs. If so, a Github repo is necessary to deploy to deno deploy (https://deno.com/deploy)

Deno

Run JavaScript, TypeScript, and WebAssembly at the edge, worldwide.

undone vine
rancid aspen
#

Yes, you only really need it for deploying to deno deploy. However it is always good to have your code in a repository 👍

undone vine
#

Ok, thank you. Now I understand.
But the tuto should be minimalist.

rancid aspen
#

Well, the one at denos documentation is basic, I think. The one at prismas docs on the other side shows you how to deploy to deno deploy

stray perch
undone vine
stray perch
undone vine
stray perch