gql2sql 2.0.17

GraphQL to SQL transpiler
Documentation
1
2
3
4
5
---
source: gql2sql/src/lib.rs
expression: statement.to_string()
---
WITH "result" AS (DELETE FROM "auth"."verification_tokens" WHERE ("identifier" = $1 AND "token" = $2) RETURNING "identifier", "token", "expires") SELECT json_build_object('delete', (SELECT coalesce(json_agg("result"), '[]') FROM "result")) AS "data"