mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
orm: add != (#9600)
This commit is contained in:
@@ -478,6 +478,7 @@ fn (mut g Gen) expr_to_sql(expr ast.Expr, typ SqlType) {
|
||||
g.sql_side = .left
|
||||
g.expr_to_sql(expr.left, typ)
|
||||
match expr.op {
|
||||
.ne { g.write(' != ') }
|
||||
.eq { g.write(' = ') }
|
||||
.gt { g.write(' > ') }
|
||||
.lt { g.write(' < ') }
|
||||
|
||||
Reference in New Issue
Block a user