Skip to content

Need help with SQL query #11994

Answered by leandrocfe
musiccollect asked this question in Help
Mar 22, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

You can inject $request

->modifyQueryUsing(fn (Builder $query, Request $request) => $query->where('title', 'like', '%'.$request->tableSearch.'%'))

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by musiccollect
Comment options

You must be logged in to vote
2 replies
@leandrocfe
Comment options

@musiccollect
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants