Contents of a Select using SQL type query
I'm sorry for the fundamental nature of this query, but I'm still piecing Filament / Laravel together this is another of those scenarios that has me confused.
I know there are relationship scenarios on this, but I'd like to understand the wider flexibility for a query like this.
Basically, in the code below, how would I extract another value of the form and place it in to that position in the where query.
I have worked out if I add "auth()->user()->id" in there, it works fine, however that isn't the value I'm after.
Thanks in advance.
2 Replies