51
I've created knex-graphql-utils, which optimizes your GraphQL server with PostgreSQL
I've created a tiny library which improves performance for GraphQL + Knex.


select
columns based on a query from clientsCurrently only PostgreSQL is supported, but I'll support other RDBMS too if needed.
Creating a GraphQL service with a Relational Database is a hard thing. We should take care of:
select *
make your server slow, but hard to filter columns based on requests.union
or window functions. knex-graphql-utils
uses row_number()
window function to do it.As a developer, I noticed that I'm doing the same thing again and again - so I convert my work into a library.
The syntax is like this:

Please try it! Any feedback is welcome.
51