catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

find_in_set feature #299

Closed hooray closed 3 years ago

hooray commented 8 years ago

类似的情况在数据库设计的时候经常会出现,应该属于比较实用的一个功能 介绍:http://www.xujiantao.com/archives/221 (抱歉,英文不好,只能留中文)

pwwang commented 8 years ago

@hooray Here is the translation: He wishes to add a function find_in_set, which is frequently used in database design and will be useful. Some examples (in Chinese): http://www.xujiantao.com/archives/221

hooray commented 8 years ago

@pwwang thanks for translation :)

iMactool commented 7 years ago

Whether it is still only use the original SQL(like this: SELECT * FROM xujiantao WHERE FIND_IN_SET(44, game);) statement processing

Sky-Gavin commented 5 years ago

Does find_in_set support?

askme-gpt commented 4 years ago

@pwwang @hooray @Sky-Gavin I solve this problem,I give a pr,https://github.com/catfan/Medoo/pull/909