hey all :wave: I'm using `graphql-request` to mak...
# prisma-whats-new
l
hey all 👋 I'm using
graphql-request
to make multiple queries of a single table in my database, with a single request. Each query has a different set of filters on it (based on a time range for one of the
dateTime
fields). The table has about 2000 records in it now. As the table grows, my requests have occasionally been timing out (when they take longer than 30 secs). What solution do people tend to go for here? I'd rather not use a wider filter to query the table once, then do my filtering in app code. I could set a limit so that there's a maximum number of queries I include in one request (up to ten?), and then make multiple requests. Does anyone have any better solutions?