You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very simple schema, as I'm testing out joinMonster for new project. When calling on joinMonster, it creates invalid SQL.
SELECT
"cards"."id" AS "id",
"cards"."name" AS "name"
FROM card "cards"
Reproduction
Detail the steps taken to reproduce this error, what was expected, and whether this issue can be reproduced consistently or if it is intermittent.
I have the following schema:
CREATE TABLE IF NOT EXISTS card (
id VARCHAR(32) PRIMARY KEY NOT NULL,
name TEXT NOT NULL,
setId VARCHAR(64),
CONSTRAINT FK_setId FOREIGN KEY (setId) REFERENCES 'set'(id)
)
CREATE TABLE IF NOT EXISTS 'set' (
id VARCHAR(64) PRIMARY KEY NOT NULL,
fullName VARCHAR(128) NOT NULL,
shortName VARCHAR(8) NOT NULL
)
Description
I have a very simple schema, as I'm testing out
joinMonster
for new project. When calling onjoinMonster
, it creates invalid SQL.Reproduction
I have the following schema:
I'm setting up the graphql object as:
When I issue this query:
The resulting SQL is:
It should result in something like:
Environment
3.1.1
graphql@15.3.0
The text was updated successfully, but these errors were encountered: