In Mysql, FIND_IN_SET
is used to find value in a set. I have tried FIND_IN_SET
in SQLite, but it is not an SQL keyword. I have Googled, but I did not get an answer. If anybody knows, please tell me the alternative to FIND_IN_SET
in SQLite.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
If you need just a true / false value rather than index then you can use
LIKE
clause:This is my old query
Criteria in hibernate use like alternate of find_in_set
we can write query like change into hibernate critearea
my old query
New query