diamond-orm/errors.go

8 lines
223 B
Go

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