Skip to content

Commit

Permalink
添加支持MySQL不等于操作表达式
Browse files Browse the repository at this point in the history
  • Loading branch information
phpdog authored and liu21st committed Sep 22, 2024
1 parent 93afb55 commit e53bfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/builder/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Mysql extends Builder
* @var array
*/
protected $parser = [
'parseCompare' => ['=', '<>', '>', '>=', '<', '<='],
'parseCompare' => ['=', '!=', '<>', '>', '>=', '<', '<='],
'parseLike' => ['LIKE', 'NOT LIKE'],
'parseBetween' => ['NOT BETWEEN', 'BETWEEN'],
'parseIn' => ['NOT IN', 'IN'],
Expand Down

0 comments on commit e53bfea

Please sign in to comment.