Skip to content
Discussion options

You must be logged in to vote

I think, if they are gonna be implemented, there'd be no harm in supporting both syntaxes, one being a shortcut/fallback for the other.

Will 'full' be the default and therefore optional (e.g. User::whereLike('column', 'full', $request->query)->get(); would equal User::whereLike('column', $request->query)->get();?

Yes when it is default it should be like
User::whereLike('column', $request->query)->get();
User::whereHasLike('column', $request->query)->get();

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
8 replies
@ghost
Comment options

@Raza9798
Comment options

@ghost
Comment options

@shaedrich
Comment options

@shaedrich
Comment options

Comment options

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

@Raza9798
Comment options

Comment options

You must be logged in to vote
1 reply
@shaedrich
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Raza9798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants