Question On Extracting Query Variables #349
Unanswered
magicMustard
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Lookat |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a question about your engine that converts the gql to sql.
Well, my question is the following:
Take the following query example:
query {
user {
first_name,
last_name
}
}
I'm playing around with a few things and reading through the code, but I'm a little lost.
Are there any functions that are callable that can read the query and provide back a list of the columns requested (i.e. first_name, last_name) is say a slice []string object?
Further to that, a function that gets the table, i.e. user.
Essentially, I'm playing around with a few things and would like to know more info as to what parts of your engine extract that information.
Much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions