Is there a way to modify the select() on an existing query ?
Let's say I have this query that I pass to a function
in my function, I'd like to clone the query, and modify its
Is this possible?
My current workaround is to inspect the
in my function, I'd like to clone the query, and modify its
select() clause to something like this:Is this possible?
My current workaround is to inspect the
config property on my query to create a new one, but I know that I shouldn't mess with internals: