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
I have an accesor in model and it is not mentioned in $append array cause it is little expensive to count it. So I need to append this accessor vie append() in query builder. If I user $append property in model it works fine. But as I want to use append() in Spatie query builder it does not. It does not throw any arror but it also does not retunr the property in json.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have an accesor in model and it is not mentioned in $append array cause it is little expensive to count it. So I need to append this accessor vie append() in query builder. If I user $append property in model it works fine. But as I want to use append() in Spatie query builder it does not. It does not throw any arror but it also does not retunr the property in json.
Beta Was this translation helpful? Give feedback.
All reactions