Expr returns clause.Expr, which can be used to pass SQL expression as params
(expr string, args ...interface{})
| 476 | |
| 477 | // Expr returns clause.Expr, which can be used to pass SQL expression as params |
| 478 | func Expr(expr string, args ...interface{}) clause.Expr { |
| 479 | return clause.Expr{SQL: expr, Vars: args} |
| 480 | } |
| 481 | |
| 482 | // SetupJoinTable setup join table schema |
| 483 | func (db *DB) SetupJoinTable(model interface{}, field string, joinTable interface{}) error { |
no outgoing calls