Replies: 1 comment
-
| It depends on how you're using ArangoDB. You can use  We don't maintain an integration for Prisma or GraphQL. If you need something more powerful, I think generating AQL queries ad hoc is probably the best approach. Note that queries generated with the  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
We're building a GraphQL server with NestJS commucating with ArangoDB. We use ArangoDB cloud. Our GraphQL schemas have multipe types and some are nested. We want to use sub-resolvers to fetch the nested types but we're going to hit the n+1 queries problem. Some database services like Prisma use a dedicated ORM to solve that problem where they batch queries together and send only one request to the server preventing the overhead of multiplying the request to the DB server. Does ArangoJS have similar capabilities we can leverage? I skimmed through the documentation but I couldn't anything in that regard.
For now we built our own GraphQL query parser which outputs AQL queries but it gets more and more complicated as we add joins capabilities, edge handling, dynamic object building, etc.
Beta Was this translation helpful? Give feedback.
All reactions