Warning
GormGoQrius is under heavy development.
Implementation of GoQrius for GORM.
To start using it:
go get github.com/golaxo/gormgoqrius@latestGormGoQrius is using GORM clauses to leverage the SQL WHERE clause.
So it can be used as simple as:
filter := "name eq 'John'"
e := goqrius.MustParse(filter)
whereClause := gormgoqrius.WhereClause(e)
var users []*User
db.Clauses(whereClause).Find(&users)