hasura / hasura/graphql-engine
Wrap the result of a search in an sql function
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
Knowing that I have a table that is exposed and that contains a text field, I would need to execute an sql function on top of the results.
SELECT * FROM ts_stat('SELECT info FROM my_table')
I have defined permission rules and exposed 'my_table' in the GraphQL schema and I would like to simply keep all the filters and permissions when requesting for the stats to generate a word cloud.
Contributor guide
Research direction
No file or test is named. Start by tracing how exposed tables apply GraphQL filters and permission rules, then determine where a PostgreSQL ts_stat function could consume those results. Done means the requested word-cloud statistics preserve the table's filters and permissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgres
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100