func ID(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.EQ(s.C(FieldID), id))
	})
}
ID filters vertices based on their ID field.
package messagewithenum
import (
	"entgo.io/contrib/entproto/internal/entprototest/ent/predicate"
	"entgo.io/ent/dialect/sql"
)