Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

548 B
Raw Blame
// Code generated by protoc-gen-equal-go. DO NOT EDIT.
// source: store/query_history.proto

package store

func (x *QueryHistoryPayload) Equal(y *QueryHistoryPayload) bool {
	if x == y {
		return true
	}
	if x == nil || y == nil {
		return x == nil && y == nil
	}
	if p, q := x.Error, y.Error; (p == nil && q != nil) || (p != nil && (q == nil || *p != *q)) {
		return false
	}
	if p, q := x.Duration, y.Duration; (p == nil && q != nil) || (p != nil && (q == nil || p.Seconds != q.Seconds || p.Nanos != q.Nanos)) {
		return false
	}
	return true
}