Documentation
¶
Index ¶
- Constants
- Variables
- func AccessLevelEQ(v AccessLevel) predicate.ResourceDomainBinding
- func AccessLevelIn(vs ...AccessLevel) predicate.ResourceDomainBinding
- func AccessLevelNEQ(v AccessLevel) predicate.ResourceDomainBinding
- func AccessLevelNotIn(vs ...AccessLevel) predicate.ResourceDomainBinding
- func AccessLevelValidator(al AccessLevel) error
- func And(predicates ...predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
- func ArchivedAt(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtEQ(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtGT(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtGTE(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
- func ArchivedAtIsNil() predicate.ResourceDomainBinding
- func ArchivedAtLT(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtLTE(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtNEQ(v time.Time) predicate.ResourceDomainBinding
- func ArchivedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
- func ArchivedAtNotNil() predicate.ResourceDomainBinding
- func CreatedAt(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtEQ(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtGT(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtGTE(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
- func CreatedAtIsNil() predicate.ResourceDomainBinding
- func CreatedAtLT(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtLTE(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtNEQ(v time.Time) predicate.ResourceDomainBinding
- func CreatedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
- func CreatedAtNotNil() predicate.ResourceDomainBinding
- func CreatedByID(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDIsNil() predicate.ResourceDomainBinding
- func CreatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func CreatedByIDNotNil() predicate.ResourceDomainBinding
- func DeletedAt(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtEQ(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtGT(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtGTE(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
- func DeletedAtIsNil() predicate.ResourceDomainBinding
- func DeletedAtLT(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtLTE(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtNEQ(v time.Time) predicate.ResourceDomainBinding
- func DeletedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
- func DeletedAtNotNil() predicate.ResourceDomainBinding
- func DeletedByID(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDIsNil() predicate.ResourceDomainBinding
- func DeletedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func DeletedByIDNotNil() predicate.ResourceDomainBinding
- func DomainID(v uuid.UUID) predicate.ResourceDomainBinding
- func DomainIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func DomainIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func DomainIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func DomainIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func HasDomain() predicate.ResourceDomainBinding
- func HasDomainWith(preds ...predicate.Domain) predicate.ResourceDomainBinding
- func ID(id uuid.UUID) predicate.ResourceDomainBinding
- func IDEQ(id uuid.UUID) predicate.ResourceDomainBinding
- func IDGT(id uuid.UUID) predicate.ResourceDomainBinding
- func IDGTE(id uuid.UUID) predicate.ResourceDomainBinding
- func IDIn(ids ...uuid.UUID) predicate.ResourceDomainBinding
- func IDLT(id uuid.UUID) predicate.ResourceDomainBinding
- func IDLTE(id uuid.UUID) predicate.ResourceDomainBinding
- func IDNEQ(id uuid.UUID) predicate.ResourceDomainBinding
- func IDNotIn(ids ...uuid.UUID) predicate.ResourceDomainBinding
- func Not(p predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
- func Or(predicates ...predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
- func PublishedAt(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtEQ(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtGT(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtGTE(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
- func PublishedAtIsNil() predicate.ResourceDomainBinding
- func PublishedAtLT(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtLTE(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtNEQ(v time.Time) predicate.ResourceDomainBinding
- func PublishedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
- func PublishedAtNotNil() predicate.ResourceDomainBinding
- func ResourceID(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDGT(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDLT(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func ResourceIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func ResourceType(v string) predicate.ResourceDomainBinding
- func ResourceTypeContains(v string) predicate.ResourceDomainBinding
- func ResourceTypeContainsFold(v string) predicate.ResourceDomainBinding
- func ResourceTypeEQ(v string) predicate.ResourceDomainBinding
- func ResourceTypeEqualFold(v string) predicate.ResourceDomainBinding
- func ResourceTypeGT(v string) predicate.ResourceDomainBinding
- func ResourceTypeGTE(v string) predicate.ResourceDomainBinding
- func ResourceTypeHasPrefix(v string) predicate.ResourceDomainBinding
- func ResourceTypeHasSuffix(v string) predicate.ResourceDomainBinding
- func ResourceTypeIn(vs ...string) predicate.ResourceDomainBinding
- func ResourceTypeLT(v string) predicate.ResourceDomainBinding
- func ResourceTypeLTE(v string) predicate.ResourceDomainBinding
- func ResourceTypeNEQ(v string) predicate.ResourceDomainBinding
- func ResourceTypeNotIn(vs ...string) predicate.ResourceDomainBinding
- func StatusEQ(v Status) predicate.ResourceDomainBinding
- func StatusIn(vs ...Status) predicate.ResourceDomainBinding
- func StatusNEQ(v Status) predicate.ResourceDomainBinding
- func StatusNotIn(vs ...Status) predicate.ResourceDomainBinding
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtEQ(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtGT(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtGTE(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
- func UpdatedAtIsNil() predicate.ResourceDomainBinding
- func UpdatedAtLT(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtLTE(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtNEQ(v time.Time) predicate.ResourceDomainBinding
- func UpdatedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
- func UpdatedAtNotNil() predicate.ResourceDomainBinding
- func UpdatedByID(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDIsNil() predicate.ResourceDomainBinding
- func UpdatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
- func UpdatedByIDNotNil() predicate.ResourceDomainBinding
- func ValidColumn(column string) bool
- type AccessLevel
- type OrderOption
- func ByAccessLevel(opts ...sql.OrderTermOption) OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDomainField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDomainID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceType(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the resourcedomainbinding type in the database. Label = "resource_domain_binding" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedByID holds the string denoting the created_by_id field in the database. FieldCreatedByID = "created_by_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedByID holds the string denoting the updated_by_id field in the database. FieldUpdatedByID = "updated_by_id" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedByID holds the string denoting the deleted_by_id field in the database. FieldDeletedByID = "deleted_by_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldPublishedAt holds the string denoting the published_at field in the database. FieldPublishedAt = "published_at" // FieldArchivedAt holds the string denoting the archived_at field in the database. FieldArchivedAt = "archived_at" // FieldResourceType holds the string denoting the resource_type field in the database. FieldResourceType = "resource_type" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldDomainID holds the string denoting the domain_id field in the database. FieldDomainID = "domain_id" // FieldAccessLevel holds the string denoting the access_level field in the database. FieldAccessLevel = "access_level" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeDomain holds the string denoting the domain edge name in mutations. EdgeDomain = "domain" // Table holds the table name of the resourcedomainbinding in the database. Table = "resource_domain_bindings" // DomainTable is the table that holds the domain relation/edge. DomainTable = "resource_domain_bindings" // DomainInverseTable is the table name for the Domain entity. // It exists in this package in order to avoid circular dependency with the "domain" package. DomainInverseTable = "domains" // DomainColumn is the table column denoting the domain relation/edge. DomainColumn = "domain_id" )
const DefaultAccessLevel = AccessLevelRead
AccessLevelRead is the default value of the AccessLevel enum.
const DefaultStatus = StatusActive
StatusActive is the default value of the Status enum.
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // ResourceTypeValidator is a validator for the "resource_type" field. It is called by the builders before save. ResourceTypeValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedByID, FieldCreatedAt, FieldUpdatedByID, FieldUpdatedAt, FieldDeletedByID, FieldDeletedAt, FieldPublishedAt, FieldArchivedAt, FieldResourceType, FieldResourceID, FieldDomainID, FieldAccessLevel, FieldStatus, }
Columns holds all SQL columns for resourcedomainbinding fields.
Functions ¶
func AccessLevelEQ ¶
func AccessLevelEQ(v AccessLevel) predicate.ResourceDomainBinding
AccessLevelEQ applies the EQ predicate on the "access_level" field.
func AccessLevelIn ¶
func AccessLevelIn(vs ...AccessLevel) predicate.ResourceDomainBinding
AccessLevelIn applies the In predicate on the "access_level" field.
func AccessLevelNEQ ¶
func AccessLevelNEQ(v AccessLevel) predicate.ResourceDomainBinding
AccessLevelNEQ applies the NEQ predicate on the "access_level" field.
func AccessLevelNotIn ¶
func AccessLevelNotIn(vs ...AccessLevel) predicate.ResourceDomainBinding
AccessLevelNotIn applies the NotIn predicate on the "access_level" field.
func AccessLevelValidator ¶
func AccessLevelValidator(al AccessLevel) error
AccessLevelValidator is a validator for the "access_level" field enum values. It is called by the builders before save.
func And ¶
func And(predicates ...predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
And groups predicates with the AND operator between them.
func ArchivedAt ¶
func ArchivedAt(v time.Time) predicate.ResourceDomainBinding
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
func ArchivedAtEQ(v time.Time) predicate.ResourceDomainBinding
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
func ArchivedAtGT(v time.Time) predicate.ResourceDomainBinding
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
func ArchivedAtGTE(v time.Time) predicate.ResourceDomainBinding
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
func ArchivedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
func ArchivedAtIsNil() predicate.ResourceDomainBinding
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
func ArchivedAtLT(v time.Time) predicate.ResourceDomainBinding
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
func ArchivedAtLTE(v time.Time) predicate.ResourceDomainBinding
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
func ArchivedAtNEQ(v time.Time) predicate.ResourceDomainBinding
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
func ArchivedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
func ArchivedAtNotNil() predicate.ResourceDomainBinding
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ResourceDomainBinding
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ResourceDomainBinding
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ResourceDomainBinding
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ResourceDomainBinding
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ResourceDomainBinding
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ResourceDomainBinding
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ResourceDomainBinding
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ResourceDomainBinding
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ResourceDomainBinding
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedByID ¶
func CreatedByID(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
func CreatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
func CreatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
func CreatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
func CreatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
func CreatedByIDIsNil() predicate.ResourceDomainBinding
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
func CreatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
func CreatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
func CreatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
func CreatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
func CreatedByIDNotNil() predicate.ResourceDomainBinding
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ResourceDomainBinding
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ResourceDomainBinding
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ResourceDomainBinding
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ResourceDomainBinding
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ResourceDomainBinding
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ResourceDomainBinding
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ResourceDomainBinding
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ResourceDomainBinding
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ResourceDomainBinding
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
func DeletedByID(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
func DeletedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
func DeletedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
func DeletedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
func DeletedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
func DeletedByIDIsNil() predicate.ResourceDomainBinding
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
func DeletedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
func DeletedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
func DeletedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
func DeletedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
func DeletedByIDNotNil() predicate.ResourceDomainBinding
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func DomainID ¶
func DomainID(v uuid.UUID) predicate.ResourceDomainBinding
DomainID applies equality check predicate on the "domain_id" field. It's identical to DomainIDEQ.
func DomainIDEQ ¶
func DomainIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
DomainIDEQ applies the EQ predicate on the "domain_id" field.
func DomainIDIn ¶
func DomainIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
DomainIDIn applies the In predicate on the "domain_id" field.
func DomainIDNEQ ¶
func DomainIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
DomainIDNEQ applies the NEQ predicate on the "domain_id" field.
func DomainIDNotIn ¶
func DomainIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
DomainIDNotIn applies the NotIn predicate on the "domain_id" field.
func HasDomain ¶
func HasDomain() predicate.ResourceDomainBinding
HasDomain applies the HasEdge predicate on the "domain" edge.
func HasDomainWith ¶
func HasDomainWith(preds ...predicate.Domain) predicate.ResourceDomainBinding
HasDomainWith applies the HasEdge predicate on the "domain" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ResourceDomainBinding
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ResourceDomainBinding
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ResourceDomainBinding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ResourceDomainBinding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ResourceDomainBinding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ResourceDomainBinding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ResourceDomainBinding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ResourceDomainBinding
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ResourceDomainBinding
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ResourceDomainBinding) predicate.ResourceDomainBinding
Or groups predicates with the OR operator between them.
func PublishedAt ¶
func PublishedAt(v time.Time) predicate.ResourceDomainBinding
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
func PublishedAtEQ(v time.Time) predicate.ResourceDomainBinding
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
func PublishedAtGT(v time.Time) predicate.ResourceDomainBinding
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
func PublishedAtGTE(v time.Time) predicate.ResourceDomainBinding
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
func PublishedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
func PublishedAtIsNil() predicate.ResourceDomainBinding
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
func PublishedAtLT(v time.Time) predicate.ResourceDomainBinding
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
func PublishedAtLTE(v time.Time) predicate.ResourceDomainBinding
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
func PublishedAtNEQ(v time.Time) predicate.ResourceDomainBinding
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
func PublishedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
func PublishedAtNotNil() predicate.ResourceDomainBinding
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func ResourceID ¶
func ResourceID(v uuid.UUID) predicate.ResourceDomainBinding
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDEQ ¶
func ResourceIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDGT ¶
func ResourceIDGT(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
func ResourceIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDIn ¶
func ResourceIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDLT ¶
func ResourceIDLT(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
func ResourceIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
func ResourceIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
func ResourceIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func ResourceType ¶
func ResourceType(v string) predicate.ResourceDomainBinding
ResourceType applies equality check predicate on the "resource_type" field. It's identical to ResourceTypeEQ.
func ResourceTypeContains ¶
func ResourceTypeContains(v string) predicate.ResourceDomainBinding
ResourceTypeContains applies the Contains predicate on the "resource_type" field.
func ResourceTypeContainsFold ¶
func ResourceTypeContainsFold(v string) predicate.ResourceDomainBinding
ResourceTypeContainsFold applies the ContainsFold predicate on the "resource_type" field.
func ResourceTypeEQ ¶
func ResourceTypeEQ(v string) predicate.ResourceDomainBinding
ResourceTypeEQ applies the EQ predicate on the "resource_type" field.
func ResourceTypeEqualFold ¶
func ResourceTypeEqualFold(v string) predicate.ResourceDomainBinding
ResourceTypeEqualFold applies the EqualFold predicate on the "resource_type" field.
func ResourceTypeGT ¶
func ResourceTypeGT(v string) predicate.ResourceDomainBinding
ResourceTypeGT applies the GT predicate on the "resource_type" field.
func ResourceTypeGTE ¶
func ResourceTypeGTE(v string) predicate.ResourceDomainBinding
ResourceTypeGTE applies the GTE predicate on the "resource_type" field.
func ResourceTypeHasPrefix ¶
func ResourceTypeHasPrefix(v string) predicate.ResourceDomainBinding
ResourceTypeHasPrefix applies the HasPrefix predicate on the "resource_type" field.
func ResourceTypeHasSuffix ¶
func ResourceTypeHasSuffix(v string) predicate.ResourceDomainBinding
ResourceTypeHasSuffix applies the HasSuffix predicate on the "resource_type" field.
func ResourceTypeIn ¶
func ResourceTypeIn(vs ...string) predicate.ResourceDomainBinding
ResourceTypeIn applies the In predicate on the "resource_type" field.
func ResourceTypeLT ¶
func ResourceTypeLT(v string) predicate.ResourceDomainBinding
ResourceTypeLT applies the LT predicate on the "resource_type" field.
func ResourceTypeLTE ¶
func ResourceTypeLTE(v string) predicate.ResourceDomainBinding
ResourceTypeLTE applies the LTE predicate on the "resource_type" field.
func ResourceTypeNEQ ¶
func ResourceTypeNEQ(v string) predicate.ResourceDomainBinding
ResourceTypeNEQ applies the NEQ predicate on the "resource_type" field.
func ResourceTypeNotIn ¶
func ResourceTypeNotIn(vs ...string) predicate.ResourceDomainBinding
ResourceTypeNotIn applies the NotIn predicate on the "resource_type" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.ResourceDomainBinding
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.ResourceDomainBinding
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.ResourceDomainBinding
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.ResourceDomainBinding
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ResourceDomainBinding
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ResourceDomainBinding
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ResourceDomainBinding
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ResourceDomainBinding
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ResourceDomainBinding
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ResourceDomainBinding
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ResourceDomainBinding
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ResourceDomainBinding
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ResourceDomainBinding
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ResourceDomainBinding
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedByID ¶
func UpdatedByID(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
func UpdatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
func UpdatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
func UpdatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
func UpdatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
func UpdatedByIDIsNil() predicate.ResourceDomainBinding
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
func UpdatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
func UpdatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
func UpdatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
func UpdatedByIDNotNil() predicate.ResourceDomainBinding
UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type AccessLevel ¶
type AccessLevel string
AccessLevel defines the type for the "access_level" enum field.
const ( AccessLevelRead AccessLevel = "read" AccessLevelFork AccessLevel = "fork" AccessLevelSync AccessLevel = "sync" AccessLevelManage AccessLevel = "manage" )
AccessLevel values.
func (AccessLevel) String ¶
func (al AccessLevel) String() string
type OrderOption ¶
OrderOption defines the ordering options for the ResourceDomainBinding queries.
func ByAccessLevel ¶
func ByAccessLevel(opts ...sql.OrderTermOption) OrderOption
ByAccessLevel orders the results by the access_level field.
func ByArchivedAt ¶
func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
ByArchivedAt orders the results by the archived_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedByID ¶
func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
ByCreatedByID orders the results by the created_by_id field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedByID ¶
func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
ByDeletedByID orders the results by the deleted_by_id field.
func ByDomainField ¶
func ByDomainField(field string, opts ...sql.OrderTermOption) OrderOption
ByDomainField orders the results by domain field.
func ByDomainID ¶
func ByDomainID(opts ...sql.OrderTermOption) OrderOption
ByDomainID orders the results by the domain_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at field.
func ByResourceID ¶
func ByResourceID(opts ...sql.OrderTermOption) OrderOption
ByResourceID orders the results by the resource_id field.
func ByResourceType ¶
func ByResourceType(opts ...sql.OrderTermOption) OrderOption
ByResourceType orders the results by the resource_type field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedByID ¶
func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByID orders the results by the updated_by_id field.