mirror of https://github.com/usememos/memos.git
fix: linter
This commit is contained in:
parent
ed23cbc011
commit
9ea2f9f686
|
|
@ -512,7 +512,7 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field,
|
|||
return err
|
||||
}
|
||||
return nil
|
||||
} else {
|
||||
}
|
||||
// Other fields use IS TRUE / NOT(... IS TRUE)
|
||||
var sqlExpr string
|
||||
if operator == "=" {
|
||||
|
|
@ -533,7 +533,6 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field,
|
|||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Special handling for MySQL - use raw operator with CAST
|
||||
if _, ok := c.dialect.(*MySQLDialect); ok {
|
||||
|
|
|
|||
Loading…
Reference in New Issue