Skip to content

Add parameter to find/filter to use "=" instead of "LIKE" in query #557

Closed
CodeAndWeb opened this Issue Feb 28, 2014 · 2 comments

3 participants

@CodeAndWeb

Propel currently automatically uses LIKE if it finds a "%" inside the value to search for.
I would like to have an option to use "=" instead.

@gharlan
gharlan commented Feb 28, 2014

Did you try ->filterByXXX($value, Criteria::EQUAL)? I think it should work.

@marcj marcj closed this Apr 11, 2014
@marcj
Propel member
marcj commented Apr 11, 2014

@gharlan showed the correct way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.