catfan / Medoo

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

Where, how to use find_in_set()? #870

Closed Sgenmi closed 4 years ago

Sgenmi commented 5 years ago

select uid,name where uid in (10,20,30) and find_in_set('1', type)

askme-gpt commented 4 years ago

@Sgenmi 请问怎么再select里面使用呢?尝试了好几种方式都不行,不想整条语句都用raw。

askme-gpt commented 4 years ago

@Sgenmi 我自己解决了。提了pr,https://github.com/catfan/Medoo/pull/909