doug-martin/goqu

compile failure using expressions in v9.18.0

kirill-lokhmatov opened this issue · 1 comments

From..().Where(...).Order(goqu.I("status")).
dont compile, interface is not implemented in v9.18.0

cannot use goqu.I("status") (value of type exp.IdentifierExpression) as type >exp.OrderedExpression in argument to >goqu.Dialect("mysql8").From("document_states").Where(goqu.Ex{…}).Order:
exp.IdentifierExpression does not implement exp.OrderedExpression (missing IsAsc >method)

got it, should always call Asc()/Desc()