How can I perform the following SQL Insert Query as a GraphQL Mutation Insert?
INSERT INTO User (id, name, user_type_id)
VALUES
(1, "Name", (SELECT id FROM UserType WHERE user_type="Guest"))
Provided that there is a One to Many relation from UserType table (id column) to User table (user_type_id column).
Usertable by using a where condition inUserTypetable. This works like a charm in an SQL query. But, unable to find any help on getting this work as a GraphQL insert. - gzone