Skip to content

golaxo/gormgoqrius

Repository files navigation

GormGoQrius

version PR checks

Warning

GormGoQrius is under heavy development.

Implementation of GoQrius for GORM.

Getting Started

To start using it:

go get github.com/golaxo/gormgoqrius@latest

GormGoQrius 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)

About

Implementation of GoQrius for GORM

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •