1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-16 10:42:16 +00:00

Add the operator(>,>=,<,<=,=,!=) of orm

eg:
qs.Filter("counts__>=","20")
qs.Filter("counts__!=","20")
This commit is contained in:
wangle
2020-07-29 23:23:02 +08:00
parent 7312197732
commit 22b8cae73b
5 changed files with 29 additions and 0 deletions

View File

@@ -49,6 +49,12 @@ var (
"eq": true,
"nq": true,
"ne": true,
">": true,
">=": true,
"<": true,
"<=": true,
"=": true,
"!=": true,
"startswith": true,
"endswith": true,
"istartswith": true,