github.com/go-pg/pg/v10/internal.PGError.IntegrityViolation (method, view implemented interface methods)

3 uses

	github.com/go-pg/pg/v10/internal (current package)
		error.go#L38: func (err PGError) IntegrityViolation() bool {

	github.com/go-pg/pg/v10/orm
		count_estimate.go#L74: 					if !ok || !pgerr.IntegrityViolation() {
		query.go#L1093: 				if pgErr.IntegrityViolation() {