Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Domain) predicate.Domain
- func ArchivedAt(v time.Time) predicate.Domain
- func ArchivedAtEQ(v time.Time) predicate.Domain
- func ArchivedAtGT(v time.Time) predicate.Domain
- func ArchivedAtGTE(v time.Time) predicate.Domain
- func ArchivedAtIn(vs ...time.Time) predicate.Domain
- func ArchivedAtIsNil() predicate.Domain
- func ArchivedAtLT(v time.Time) predicate.Domain
- func ArchivedAtLTE(v time.Time) predicate.Domain
- func ArchivedAtNEQ(v time.Time) predicate.Domain
- func ArchivedAtNotIn(vs ...time.Time) predicate.Domain
- func ArchivedAtNotNil() predicate.Domain
- func CreatedAt(v time.Time) predicate.Domain
- func CreatedAtEQ(v time.Time) predicate.Domain
- func CreatedAtGT(v time.Time) predicate.Domain
- func CreatedAtGTE(v time.Time) predicate.Domain
- func CreatedAtIn(vs ...time.Time) predicate.Domain
- func CreatedAtIsNil() predicate.Domain
- func CreatedAtLT(v time.Time) predicate.Domain
- func CreatedAtLTE(v time.Time) predicate.Domain
- func CreatedAtNEQ(v time.Time) predicate.Domain
- func CreatedAtNotIn(vs ...time.Time) predicate.Domain
- func CreatedAtNotNil() predicate.Domain
- func CreatedByID(v uuid.UUID) predicate.Domain
- func CreatedByIDEQ(v uuid.UUID) predicate.Domain
- func CreatedByIDGT(v uuid.UUID) predicate.Domain
- func CreatedByIDGTE(v uuid.UUID) predicate.Domain
- func CreatedByIDIn(vs ...uuid.UUID) predicate.Domain
- func CreatedByIDIsNil() predicate.Domain
- func CreatedByIDLT(v uuid.UUID) predicate.Domain
- func CreatedByIDLTE(v uuid.UUID) predicate.Domain
- func CreatedByIDNEQ(v uuid.UUID) predicate.Domain
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.Domain
- func CreatedByIDNotNil() predicate.Domain
- func DeletedAt(v time.Time) predicate.Domain
- func DeletedAtEQ(v time.Time) predicate.Domain
- func DeletedAtGT(v time.Time) predicate.Domain
- func DeletedAtGTE(v time.Time) predicate.Domain
- func DeletedAtIn(vs ...time.Time) predicate.Domain
- func DeletedAtIsNil() predicate.Domain
- func DeletedAtLT(v time.Time) predicate.Domain
- func DeletedAtLTE(v time.Time) predicate.Domain
- func DeletedAtNEQ(v time.Time) predicate.Domain
- func DeletedAtNotIn(vs ...time.Time) predicate.Domain
- func DeletedAtNotNil() predicate.Domain
- func DeletedByID(v uuid.UUID) predicate.Domain
- func DeletedByIDEQ(v uuid.UUID) predicate.Domain
- func DeletedByIDGT(v uuid.UUID) predicate.Domain
- func DeletedByIDGTE(v uuid.UUID) predicate.Domain
- func DeletedByIDIn(vs ...uuid.UUID) predicate.Domain
- func DeletedByIDIsNil() predicate.Domain
- func DeletedByIDLT(v uuid.UUID) predicate.Domain
- func DeletedByIDLTE(v uuid.UUID) predicate.Domain
- func DeletedByIDNEQ(v uuid.UUID) predicate.Domain
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.Domain
- func DeletedByIDNotNil() predicate.Domain
- func DisplayName(v string) predicate.Domain
- func DisplayNameContains(v string) predicate.Domain
- func DisplayNameContainsFold(v string) predicate.Domain
- func DisplayNameEQ(v string) predicate.Domain
- func DisplayNameEqualFold(v string) predicate.Domain
- func DisplayNameGT(v string) predicate.Domain
- func DisplayNameGTE(v string) predicate.Domain
- func DisplayNameHasPrefix(v string) predicate.Domain
- func DisplayNameHasSuffix(v string) predicate.Domain
- func DisplayNameIn(vs ...string) predicate.Domain
- func DisplayNameLT(v string) predicate.Domain
- func DisplayNameLTE(v string) predicate.Domain
- func DisplayNameNEQ(v string) predicate.Domain
- func DisplayNameNotIn(vs ...string) predicate.Domain
- func HasBindings() predicate.Domain
- func HasBindingsWith(preds ...predicate.ResourceDomainBinding) predicate.Domain
- func HasDomainType() predicate.Domain
- func HasDomainTypeWith(preds ...predicate.DomainType) predicate.Domain
- func HasMemberships() predicate.Domain
- func HasMembershipsWith(preds ...predicate.DomainMembership) predicate.Domain
- func ID(id uuid.UUID) predicate.Domain
- func IDEQ(id uuid.UUID) predicate.Domain
- func IDGT(id uuid.UUID) predicate.Domain
- func IDGTE(id uuid.UUID) predicate.Domain
- func IDIn(ids ...uuid.UUID) predicate.Domain
- func IDLT(id uuid.UUID) predicate.Domain
- func IDLTE(id uuid.UUID) predicate.Domain
- func IDNEQ(id uuid.UUID) predicate.Domain
- func IDNotIn(ids ...uuid.UUID) predicate.Domain
- func Key(v string) predicate.Domain
- func KeyContains(v string) predicate.Domain
- func KeyContainsFold(v string) predicate.Domain
- func KeyEQ(v string) predicate.Domain
- func KeyEqualFold(v string) predicate.Domain
- func KeyGT(v string) predicate.Domain
- func KeyGTE(v string) predicate.Domain
- func KeyHasPrefix(v string) predicate.Domain
- func KeyHasSuffix(v string) predicate.Domain
- func KeyIn(vs ...string) predicate.Domain
- func KeyLT(v string) predicate.Domain
- func KeyLTE(v string) predicate.Domain
- func KeyNEQ(v string) predicate.Domain
- func KeyNotIn(vs ...string) predicate.Domain
- func MetadataIsNil() predicate.Domain
- func MetadataNotNil() predicate.Domain
- func Not(p predicate.Domain) predicate.Domain
- func Or(predicates ...predicate.Domain) predicate.Domain
- func PublishedAt(v time.Time) predicate.Domain
- func PublishedAtEQ(v time.Time) predicate.Domain
- func PublishedAtGT(v time.Time) predicate.Domain
- func PublishedAtGTE(v time.Time) predicate.Domain
- func PublishedAtIn(vs ...time.Time) predicate.Domain
- func PublishedAtIsNil() predicate.Domain
- func PublishedAtLT(v time.Time) predicate.Domain
- func PublishedAtLTE(v time.Time) predicate.Domain
- func PublishedAtNEQ(v time.Time) predicate.Domain
- func PublishedAtNotIn(vs ...time.Time) predicate.Domain
- func PublishedAtNotNil() predicate.Domain
- func StatusEQ(v Status) predicate.Domain
- func StatusIn(vs ...Status) predicate.Domain
- func StatusNEQ(v Status) predicate.Domain
- func StatusNotIn(vs ...Status) predicate.Domain
- func StatusValidator(s Status) error
- func TypeCode(v string) predicate.Domain
- func TypeCodeContains(v string) predicate.Domain
- func TypeCodeContainsFold(v string) predicate.Domain
- func TypeCodeEQ(v string) predicate.Domain
- func TypeCodeEqualFold(v string) predicate.Domain
- func TypeCodeGT(v string) predicate.Domain
- func TypeCodeGTE(v string) predicate.Domain
- func TypeCodeHasPrefix(v string) predicate.Domain
- func TypeCodeHasSuffix(v string) predicate.Domain
- func TypeCodeIn(vs ...string) predicate.Domain
- func TypeCodeLT(v string) predicate.Domain
- func TypeCodeLTE(v string) predicate.Domain
- func TypeCodeNEQ(v string) predicate.Domain
- func TypeCodeNotIn(vs ...string) predicate.Domain
- func UpdatedAt(v time.Time) predicate.Domain
- func UpdatedAtEQ(v time.Time) predicate.Domain
- func UpdatedAtGT(v time.Time) predicate.Domain
- func UpdatedAtGTE(v time.Time) predicate.Domain
- func UpdatedAtIn(vs ...time.Time) predicate.Domain
- func UpdatedAtIsNil() predicate.Domain
- func UpdatedAtLT(v time.Time) predicate.Domain
- func UpdatedAtLTE(v time.Time) predicate.Domain
- func UpdatedAtNEQ(v time.Time) predicate.Domain
- func UpdatedAtNotIn(vs ...time.Time) predicate.Domain
- func UpdatedAtNotNil() predicate.Domain
- func UpdatedByID(v uuid.UUID) predicate.Domain
- func UpdatedByIDEQ(v uuid.UUID) predicate.Domain
- func UpdatedByIDGT(v uuid.UUID) predicate.Domain
- func UpdatedByIDGTE(v uuid.UUID) predicate.Domain
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.Domain
- func UpdatedByIDIsNil() predicate.Domain
- func UpdatedByIDLT(v uuid.UUID) predicate.Domain
- func UpdatedByIDLTE(v uuid.UUID) predicate.Domain
- func UpdatedByIDNEQ(v uuid.UUID) predicate.Domain
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.Domain
- func UpdatedByIDNotNil() predicate.Domain
- func ValidColumn(column string) bool
- type OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBindingsCount(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 ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByDomainTypeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTypeCode(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 domain type in the database. Label = "domain" // 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" // FieldTypeCode holds the string denoting the type_code field in the database. FieldTypeCode = "type_code" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeDomainType holds the string denoting the domain_type edge name in mutations. EdgeDomainType = "domain_type" // EdgeMemberships holds the string denoting the memberships edge name in mutations. EdgeMemberships = "memberships" // EdgeBindings holds the string denoting the bindings edge name in mutations. EdgeBindings = "bindings" // Table holds the table name of the domain in the database. Table = "domains" // DomainTypeTable is the table that holds the domain_type relation/edge. DomainTypeTable = "domains" // DomainTypeInverseTable is the table name for the DomainType entity. // It exists in this package in order to avoid circular dependency with the "domaintype" package. DomainTypeInverseTable = "domain_types" // DomainTypeColumn is the table column denoting the domain_type relation/edge. DomainTypeColumn = "domain_type_domains" // MembershipsTable is the table that holds the memberships relation/edge. MembershipsTable = "domain_memberships" // MembershipsInverseTable is the table name for the DomainMembership entity. // It exists in this package in order to avoid circular dependency with the "domainmembership" package. MembershipsInverseTable = "domain_memberships" // MembershipsColumn is the table column denoting the memberships relation/edge. MembershipsColumn = "domain_id" // BindingsTable is the table that holds the bindings relation/edge. BindingsTable = "resource_domain_bindings" // BindingsInverseTable is the table name for the ResourceDomainBinding entity. // It exists in this package in order to avoid circular dependency with the "resourcedomainbinding" package. BindingsInverseTable = "resource_domain_bindings" // BindingsColumn is the table column denoting the bindings relation/edge. BindingsColumn = "domain_id" )
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 // TypeCodeValidator is a validator for the "type_code" field. It is called by the builders before save. TypeCodeValidator func(string) error // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator 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, FieldTypeCode, FieldKey, FieldDisplayName, FieldStatus, FieldMetadata, }
Columns holds all SQL columns for domain fields.
var ForeignKeys = []string{
"domain_type_domains",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "domains" table and are not defined as standalone fields in the schema.
Functions ¶
func ArchivedAt ¶
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedByID ¶
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func HasBindings ¶
HasBindings applies the HasEdge predicate on the "bindings" edge.
func HasBindingsWith ¶
func HasBindingsWith(preds ...predicate.ResourceDomainBinding) predicate.Domain
HasBindingsWith applies the HasEdge predicate on the "bindings" edge with a given conditions (other predicates).
func HasDomainType ¶
HasDomainType applies the HasEdge predicate on the "domain_type" edge.
func HasDomainTypeWith ¶
func HasDomainTypeWith(preds ...predicate.DomainType) predicate.Domain
HasDomainTypeWith applies the HasEdge predicate on the "domain_type" edge with a given conditions (other predicates).
func HasMemberships ¶
HasMemberships applies the HasEdge predicate on the "memberships" edge.
func HasMembershipsWith ¶
func HasMembershipsWith(preds ...predicate.DomainMembership) predicate.Domain
HasMembershipsWith applies the HasEdge predicate on the "memberships" edge with a given conditions (other predicates).
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func PublishedAt ¶
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func StatusNotIn ¶
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 TypeCode ¶
TypeCode applies equality check predicate on the "type_code" field. It's identical to TypeCodeEQ.
func TypeCodeContains ¶
TypeCodeContains applies the Contains predicate on the "type_code" field.
func TypeCodeContainsFold ¶
TypeCodeContainsFold applies the ContainsFold predicate on the "type_code" field.
func TypeCodeEQ ¶
TypeCodeEQ applies the EQ predicate on the "type_code" field.
func TypeCodeEqualFold ¶
TypeCodeEqualFold applies the EqualFold predicate on the "type_code" field.
func TypeCodeGT ¶
TypeCodeGT applies the GT predicate on the "type_code" field.
func TypeCodeGTE ¶
TypeCodeGTE applies the GTE predicate on the "type_code" field.
func TypeCodeHasPrefix ¶
TypeCodeHasPrefix applies the HasPrefix predicate on the "type_code" field.
func TypeCodeHasSuffix ¶
TypeCodeHasSuffix applies the HasSuffix predicate on the "type_code" field.
func TypeCodeIn ¶
TypeCodeIn applies the In predicate on the "type_code" field.
func TypeCodeLT ¶
TypeCodeLT applies the LT predicate on the "type_code" field.
func TypeCodeLTE ¶
TypeCodeLTE applies the LTE predicate on the "type_code" field.
func TypeCodeNEQ ¶
TypeCodeNEQ applies the NEQ predicate on the "type_code" field.
func TypeCodeNotIn ¶
TypeCodeNotIn applies the NotIn predicate on the "type_code" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedByID ¶
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
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 OrderOption ¶
OrderOption defines the ordering options for the Domain queries.
func ByArchivedAt ¶
func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
ByArchivedAt orders the results by the archived_at field.
func ByBindings ¶
func ByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBindings orders the results by bindings terms.
func ByBindingsCount ¶
func ByBindingsCount(opts ...sql.OrderTermOption) OrderOption
ByBindingsCount orders the results by bindings count.
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 ByDisplayName ¶
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByDomainTypeField ¶
func ByDomainTypeField(field string, opts ...sql.OrderTermOption) OrderOption
ByDomainTypeField orders the results by domain_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByMemberships ¶
func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMemberships orders the results by memberships terms.
func ByMembershipsCount ¶
func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByMembershipsCount orders the results by memberships count.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTypeCode ¶
func ByTypeCode(opts ...sql.OrderTermOption) OrderOption
ByTypeCode orders the results by the type_code 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.