Parziphal / parse

Parse with an Eloquent-like interface for Laravel
MIT License
17 stars 13 forks source link

Find results using startsWith, endsWith etc #20

Closed mauriciotibox closed 6 years ago

mauriciotibox commented 6 years ago

How can i use where with "LIKE %value%"?

In ParseQuery, i can use startsWith, endsWith, matches...

Parziphal commented 6 years ago

You would call those methods as you would with a ParseQuery:

$query->startsWith($key, $value);

Any method not "recognized" by Parziphal\Parse\Query is passed to the Parse\ParseQuery object it wraps.

nafplann commented 6 years ago

Hey I have created pr for the issue.. is it correct? https://github.com/Parziphal/parse/pull/21/

mauriciotibox commented 6 years ago

Hello, @nafplann i made exactly this. #21 in a fork. You can use.

https://github.com/mauriciotibox/parse/tree/dev-parse