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
Hello:
I have a question, It really puzzles me: let a = 1 let deleteRow1 = templates.filter(id == a) //Binary operator '==' cannot be applied to operands of type 'Expression<Int64>' and 'Int' let deleteRow2 = templates.filter(id == 1) //No error
I want to pass the argument “id” into the function
Why, Am I doing anything wrong?