-
Notifications
You must be signed in to change notification settings - Fork 925
Not always query for all select statements #2067
Unanswered
engAmirEng
asked this question in
Q&A
-
Hey guys,
I'm not looking for dynamic query, I just want to not always fill the struct with all it's attributes and just dynamically query for a sub set of them, is that possible? Maybe some hack into it?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
If you can write a SQL query for it, sqlc can handle it.
Maybe you could provide us with a few example queries?
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
I mean, I have a query and I need to select different sub set of it's columns in different parts of my code, how is it possible?
Beta Was this translation helpful? Give feedback.
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment