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
When I use selects inside any model the query should only return the fields defined but query is returning everything including one added in selects. FYI this issues is only happening in when you use with_count.
To Reproduce
# UserModelclassUser(Model, SoftDeletesMixin, Authenticates, AuthenticatesTokens):
"""User Model."""__fillable__= ["name", "email", "password"]
__hidden__= ["password"]
__auth__="email"__selects__= ["id", "name", "email as e"]
# QueryreturnUser.with_count("categories").get() # categories can be any related table...
When I use selects inside any model the query should only return the fields defined but query is returning everything including one added in selects. FYI this issues is only happening in when you use with_count.
To Reproduce
Current Output
Expected behavior
The text was updated successfully, but these errors were encountered: