[Mysql] find_in_set()使用注意

使用find_in_set()过程中,发现问题,查询正常,更新有问题。

  1. 用find_in_set(id, getChildren(1)) 查询树节点,查询功能正常
  2. 用find_in_set(id, getChilren(1))更新树节点,更新功能不正常,只更新了部分

你可能感兴趣的:(数据库)