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 (INSERT INTO "auth"."verification_tokens" ("expires", "identifier", "token") VALUES ($1, $2, $3) RETURNING "identifier", "token", "expires") SELECT json_build_object('insert', (SELECT coalesce(json_agg("result"), '[]') -> 0 FROM "result")) AS "data"