Searching with no conditional "LIKE"
Searching with no conditional "LIKE"
cdiazr
Posts: 2Questions: 1Answers: 0
Hi, I'm working for a customer who wants to search using "=" not "like". He got a datatables searching by columns so he wants to search by first characers. Is it possible searching on that way with datatables? If yes, ¿how I have to set it up?
Thanks
This discussion has been closed.
Answers
Ops!! I'm really sorry, I was wrong. (need more coffee hehehe). I mean, currently datatables is searching like this:
"WHERE field LIKE %pattern%.
So, I want to search like this:
"WHERE field LIKE pattern%
Now yes, sorry again!