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
Certain columns can be currently selected using the qm.select() operator. However, when querying one-to-many relationships, all columns are selected regardless of the fields passed-in using the qm.select() operator.
If this happened at runtime what code produced the issue?
The following code can be found in the generated models that causes this issue:
What version of SQLBoiler are you using?
SQLBoiler v2.4.0
Issue
Certain columns can be currently selected using the
qm.select()
operator. However, when querying one-to-many relationships, all columns are selected regardless of the fields passed-in using theqm.select()
operator.If this happened at runtime what code produced the issue?
The following code can be found in the generated models that causes this issue:
As seen above,
a.*
is added to theQueryMod
slice regardless of the passed-inmods
.Possible Fix
The generated models could contain the following code to make this work:
Please let me know if the above is sufficient to understand the issue.
The text was updated successfully, but these errors were encountered: