8 lines
229 B
Go
8 lines
229 B
Go
package orm
|
|
|
|
import "fmt"
|
|
|
|
var ErrNoConditionOnDeleteOrUpdate = fmt.Errorf("refusing to delete/update with no conditions specified.\n"+
|
|
" (hint: call `.WhereRaw(%s)` or `.WhereRaw(%s)` to do so anyways)",
|
|
`"true"`, `"1 = 1"`)
|