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
Right now we just loop through the arguments, filtering the query. But if you don't supply any arguments and the query returns only model (because there is only one in the database for example) it does not throw any error and return that model. We should check for the amount of argument supplied and throw an exception if that amount is zero.
The text was updated successfully, but these errors were encountered:
Right now we just loop through the arguments, filtering the query. But if you don't supply any arguments and the query returns only model (because there is only one in the database for example) it does not throw any error and return that model. We should check for the amount of argument supplied and throw an exception if that amount is zero.
The text was updated successfully, but these errors were encountered: