version: Phalcon 3

如果DB存在一条记录phone='13012345678 '(后边有一个空格),

则在查询User::findFirst("phone = '13012345678'")时,即使末尾少了一个空格,也会匹配上,并返回结果。

相关文章: