feat: add conds pkg
This commit is contained in:
11
templates/project/database/conds/conds.go.tpl
Normal file
11
templates/project/database/conds/conds.go.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
package conds
|
||||
|
||||
import (
|
||||
. "github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
type Cond func(BoolExpression) BoolExpression
|
||||
|
||||
func Default() BoolExpression {
|
||||
return BoolExp(Bool(true))
|
||||
}
|
||||
Reference in New Issue
Block a user