2022-01-21   


https://taohan.xyz/article/queyrdsl-notes

关于queryDsl里使用mysql函数find_in_set的记录

BooleanTemplate booleanTemplate =
    Expressions.booleanTemplate("find_in_set({0}, {1}) > 0", 1, "1,2,3");

“> 0”是必须的,不然会报错unexpected AST node

Q.E.D.


我并不是什么都知道,我只是知道我所知道的。