mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 20:30:54 +00:00
use 'BINARY' key word for exact operator for mysql db
This commit is contained in:
parent
f946a35acd
commit
8736ffaf6f
@ -22,7 +22,7 @@ import (
|
||||
|
||||
// mysql operators.
|
||||
var mysqlOperators = map[string]string{
|
||||
"exact": "= ?",
|
||||
"exact": "= BINARY ?",
|
||||
"iexact": "LIKE ?",
|
||||
"contains": "LIKE BINARY ?",
|
||||
"icontains": "LIKE ?",
|
||||
|
Loading…
Reference in New Issue
Block a user