Tag: postgraphile
-
Postgraphile cannot query SQL function
0 I have a SQL function that I am unable to query with Postgraphile. I am getting Cannot query field "get_eligible_shifts" on type "Query"." I noticed that in the PostGraphiQL the function does not appear. Why would I not be able to query on my SQL function? Postgraphile query { get_eligible_shifts( args: {workerId: 1} )…
-
Postgraphile query argument error looking up related model
0 I have Postgraphile running and exploring the queries. Based on my schema.prisma, I expected to run a GraphQL query similar to the SQL query below. The SQL query is getting all active, unclaimed shifts that a worker is eligible for. How can I update the GraphQL query to filter Facility document requirements based on…
-
Unexpected Postgraphile query docs
0 I have Postgraphile running and exploring the queries. Based on my schema.prisma, I expected to run a GraphQL query similar to the SQL query below. Why do the Postgraphile queries in the docs appear differently than the GraphQL official docs? How do I proceed to build a GraphQL query? SQL query select * from…