Skip to content
Discussion options

You must be logged in to vote

This is how automatic filters work. You can change this to your own at any time.

// http://example.com/demo?filter[id]=1
$model->where('id', '=', 1)


// http://example.com/demo?filter[id]=1,2,3,4,5
$model->whereIn('id', [1,2,3,4,5]);


// http://example.com/demo?filter[content.ru.name]=dwqdwq
$model->where('content->ru->name', 'like', 'dwqdwq');

Replies: 1 comment 2 replies

Comment options

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

@wsdnathan
Comment options

Answer selected by wsdnathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants