so I cannot query the db with gql now? It's merely...
# orm-help
l
so I cannot query the db with gql now? It's merely another orm?
r
Basically with the orm generated for the typings are amazing!
r
Hey @Lewis 👋 You can query the db directly whether you're using GraphQL or not. Prisma 2 is just a database access layer (not an ORM) as explained here. So you can use any GraphQL server (Apollo Server, Nexus framework) and create an endpoint via those.
l
@Ryan I don't follow, don't I need to have a resolver and a schema definition ?
r
you do. you dont use graphql to access data from the database which I believe was how Prisma1 did things.
💯 1