postgraphile-plugin-connection-filter
mingo
postgraphile-plugin-connection-filter | mingo | |
---|---|---|
6 | 4 | |
279 | 937 | |
0.0% | - | |
0.0 | 8.8 | |
15 days ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgraphile-plugin-connection-filter
-
PostGraphile — The Gateway Drug To GraphQL
Connection Filter Plugin
-
Show HN: Graphweaver – Instant GraphQL API on Postgres, MySQL, SQLite and More
For example:
https://github.com/graphile-contrib/postgraphile-plugin-conn...
and
https://github.com/graphile/pg-aggregates
-
GraphQL server frameworks do NOT support ad hoc querying out of the box?
Have a look at PostGraphile (in case you are using JavaScript and a PostgreSQL DB). With the advanced connection filter plugin (https://github.com/graphile-contrib/postgraphile-plugin-connection-filter) you get an automatically created filter for multiple items and their connection.
-
Experiences with GraphQL and ORMs
The postgraphile-plugin-connection-filter I referred to is up-front about the fact that the filters it generates could allow a caller to form queries that would bring your server to its knees. So I'd have to do some work to limit what predicates were allowed.
-
Don’t we all just want to use SQL on the front end?
More examples here: https://github.com/graphile-contrib/postgraphile-plugin-conn...
(Personally, I think their docs are good at telling you how to use it but fairly bad at showing how great the tool is)
-
Is there a standard or best-practice syntax for passing down "filters" as arguments in GraphQL queries?
I really line the approach used here https://github.com/graphile-contrib/postgraphile-plugin-connection-filter
mingo
-
Npm Library to use MongoDB-style filter logic (e.g. $or, $in, $exists) on arrays?
Maybe mingo works for your use case.
- [AskJS] What are existing libraries for parsing / filtering using Kibana query language?
- Searching for a library: Kibana-like in-memory search for Node.js / browser
-
Don’t we all just want to use SQL on the front end?
We are doing this under the covers in our app using https://github.com/kofrasa/mingo to let us write data queries on the SPA side.
It lets us build reports and other configurable data queries in a standard way for our case.
I can completely see how this makes sense using SQL although I think the complexity of the implementation might be a fair bit higher than mingo.
What are some alternatives?
supabase - The open source Firebase alternative.
sift.js - Use Mongodb queries in JavaScript
postgrest - REST API for any Postgres database
pgress - Native PostgreSQL JavaScript client library for web browsers
postgraphile-plugin-conn
mongo-parse - A parser for mongo db queries and projections.
HashQL-todos-sample
storage-foundation-api-explainer - Explainer showcasing a new web storage API, NativeIO