in reply to Re: Querying 2 Values Form 1 Column in DBIx::Class
in thread Querying 2 Values Form 1 Column in DBIx::Class
Your Mother,
Thanks for your response. Actually, I need AND. The scenario is to search
the Name field. Since we are unable to control what the user types in search
field. If the user was searching for Franklin Linsey Smith, but typed in
any of the following words:
Franklin Linsey
Smith Franklin
Franlin Smith
Franklyn Linsey Smith
Smith Linsey
I needed the result set to include records with the search criteria, above.
Using OR would return a much larger result set than I was looking for.
So, AND helps narrow the search.
Thanks again.
-Phil-
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Querying 2 Values Form 1 Column in DBIx::Class
by afoken (Chancellor) on Jan 27, 2018 at 19:56 UTC | |
by erix (Prior) on Jan 28, 2018 at 00:27 UTC |