Change query results
Is it possible to change the results of the Eloquent query on the table?
It is already possible to change the query using , but is it also possible to change the results of the query?
(E.g. add/remove items)
3 Replies
You can do that using the query
How can I add non existing records to the results?
I'm not even going to ask why you need to do this, but you could union() the query with whatever you want to add. But if they are literally non existent, having rows without valid kets will break stuff.