Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OrganizationMember) predicate.OrganizationMember
- func ArchivedAt(v time.Time) predicate.OrganizationMember
- func ArchivedAtEQ(v time.Time) predicate.OrganizationMember
- func ArchivedAtGT(v time.Time) predicate.OrganizationMember
- func ArchivedAtGTE(v time.Time) predicate.OrganizationMember
- func ArchivedAtIn(vs ...time.Time) predicate.OrganizationMember
- func ArchivedAtIsNil() predicate.OrganizationMember
- func ArchivedAtLT(v time.Time) predicate.OrganizationMember
- func ArchivedAtLTE(v time.Time) predicate.OrganizationMember
- func ArchivedAtNEQ(v time.Time) predicate.OrganizationMember
- func ArchivedAtNotIn(vs ...time.Time) predicate.OrganizationMember
- func ArchivedAtNotNil() predicate.OrganizationMember
- func CreatedAt(v time.Time) predicate.OrganizationMember
- func CreatedAtEQ(v time.Time) predicate.OrganizationMember
- func CreatedAtGT(v time.Time) predicate.OrganizationMember
- func CreatedAtGTE(v time.Time) predicate.OrganizationMember
- func CreatedAtIn(vs ...time.Time) predicate.OrganizationMember
- func CreatedAtIsNil() predicate.OrganizationMember
- func CreatedAtLT(v time.Time) predicate.OrganizationMember
- func CreatedAtLTE(v time.Time) predicate.OrganizationMember
- func CreatedAtNEQ(v time.Time) predicate.OrganizationMember
- func CreatedAtNotIn(vs ...time.Time) predicate.OrganizationMember
- func CreatedAtNotNil() predicate.OrganizationMember
- func CreatedByID(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDEQ(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDGT(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDGTE(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func CreatedByIDIsNil() predicate.OrganizationMember
- func CreatedByIDLT(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDLTE(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func CreatedByIDNotNil() predicate.OrganizationMember
- func DeletedAt(v time.Time) predicate.OrganizationMember
- func DeletedAtEQ(v time.Time) predicate.OrganizationMember
- func DeletedAtGT(v time.Time) predicate.OrganizationMember
- func DeletedAtGTE(v time.Time) predicate.OrganizationMember
- func DeletedAtIn(vs ...time.Time) predicate.OrganizationMember
- func DeletedAtIsNil() predicate.OrganizationMember
- func DeletedAtLT(v time.Time) predicate.OrganizationMember
- func DeletedAtLTE(v time.Time) predicate.OrganizationMember
- func DeletedAtNEQ(v time.Time) predicate.OrganizationMember
- func DeletedAtNotIn(vs ...time.Time) predicate.OrganizationMember
- func DeletedAtNotNil() predicate.OrganizationMember
- func DeletedByID(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDEQ(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDGT(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDGTE(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func DeletedByIDIsNil() predicate.OrganizationMember
- func DeletedByIDLT(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDLTE(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func DeletedByIDNotNil() predicate.OrganizationMember
- func DomainID(v uuid.UUID) predicate.OrganizationMember
- func DomainIDEQ(v uuid.UUID) predicate.OrganizationMember
- func DomainIDGT(v uuid.UUID) predicate.OrganizationMember
- func DomainIDGTE(v uuid.UUID) predicate.OrganizationMember
- func DomainIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func DomainIDLT(v uuid.UUID) predicate.OrganizationMember
- func DomainIDLTE(v uuid.UUID) predicate.OrganizationMember
- func DomainIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func DomainIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func HasOrganization() predicate.OrganizationMember
- func HasOrganizationWith(preds ...predicate.Organization) predicate.OrganizationMember
- func HasUser() predicate.OrganizationMember
- func HasUserWith(preds ...predicate.User) predicate.OrganizationMember
- func ID(id uuid.UUID) predicate.OrganizationMember
- func IDEQ(id uuid.UUID) predicate.OrganizationMember
- func IDGT(id uuid.UUID) predicate.OrganizationMember
- func IDGTE(id uuid.UUID) predicate.OrganizationMember
- func IDIn(ids ...uuid.UUID) predicate.OrganizationMember
- func IDLT(id uuid.UUID) predicate.OrganizationMember
- func IDLTE(id uuid.UUID) predicate.OrganizationMember
- func IDNEQ(id uuid.UUID) predicate.OrganizationMember
- func IDNotIn(ids ...uuid.UUID) predicate.OrganizationMember
- func IsPrimary(v bool) predicate.OrganizationMember
- func IsPrimaryEQ(v bool) predicate.OrganizationMember
- func IsPrimaryNEQ(v bool) predicate.OrganizationMember
- func Not(p predicate.OrganizationMember) predicate.OrganizationMember
- func Or(predicates ...predicate.OrganizationMember) predicate.OrganizationMember
- func OrganizationID(v uuid.UUID) predicate.OrganizationMember
- func OrganizationIDEQ(v uuid.UUID) predicate.OrganizationMember
- func OrganizationIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func OrganizationIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func PublishedAt(v time.Time) predicate.OrganizationMember
- func PublishedAtEQ(v time.Time) predicate.OrganizationMember
- func PublishedAtGT(v time.Time) predicate.OrganizationMember
- func PublishedAtGTE(v time.Time) predicate.OrganizationMember
- func PublishedAtIn(vs ...time.Time) predicate.OrganizationMember
- func PublishedAtIsNil() predicate.OrganizationMember
- func PublishedAtLT(v time.Time) predicate.OrganizationMember
- func PublishedAtLTE(v time.Time) predicate.OrganizationMember
- func PublishedAtNEQ(v time.Time) predicate.OrganizationMember
- func PublishedAtNotIn(vs ...time.Time) predicate.OrganizationMember
- func PublishedAtNotNil() predicate.OrganizationMember
- func UpdatedAt(v time.Time) predicate.OrganizationMember
- func UpdatedAtEQ(v time.Time) predicate.OrganizationMember
- func UpdatedAtGT(v time.Time) predicate.OrganizationMember
- func UpdatedAtGTE(v time.Time) predicate.OrganizationMember
- func UpdatedAtIn(vs ...time.Time) predicate.OrganizationMember
- func UpdatedAtIsNil() predicate.OrganizationMember
- func UpdatedAtLT(v time.Time) predicate.OrganizationMember
- func UpdatedAtLTE(v time.Time) predicate.OrganizationMember
- func UpdatedAtNEQ(v time.Time) predicate.OrganizationMember
- func UpdatedAtNotIn(vs ...time.Time) predicate.OrganizationMember
- func UpdatedAtNotNil() predicate.OrganizationMember
- func UpdatedByID(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDEQ(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDGT(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDGTE(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDIsNil() predicate.OrganizationMember
- func UpdatedByIDLT(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDLTE(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func UpdatedByIDNotNil() predicate.OrganizationMember
- func UserID(v uuid.UUID) predicate.OrganizationMember
- func UserIDEQ(v uuid.UUID) predicate.OrganizationMember
- func UserIDIn(vs ...uuid.UUID) predicate.OrganizationMember
- func UserIDNEQ(v uuid.UUID) predicate.OrganizationMember
- func UserIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
- func ValidColumn(column string) bool
- type 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 ByDomainID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsPrimary(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the organizationmember type in the database. Label = "organization_member" // 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" // FieldDomainID holds the string denoting the domain_id field in the database. FieldDomainID = "domain_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldIsPrimary holds the string denoting the is_primary field in the database. FieldIsPrimary = "is_primary" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the organizationmember in the database. Table = "organization_members" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "organization_members" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // UserTable is the table that holds the user relation/edge. UserTable = "organization_members" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
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 // DefaultIsPrimary holds the default value on creation for the "is_primary" field. DefaultIsPrimary bool // 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, FieldDomainID, FieldOrganizationID, FieldUserID, FieldIsPrimary, }
Columns holds all SQL columns for organizationmember fields.
var ForeignKeys = []string{
"organization_members",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "organization_members" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.OrganizationMember) predicate.OrganizationMember
And groups predicates with the AND operator between them.
func ArchivedAt ¶
func ArchivedAt(v time.Time) predicate.OrganizationMember
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
func ArchivedAtEQ(v time.Time) predicate.OrganizationMember
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
func ArchivedAtGT(v time.Time) predicate.OrganizationMember
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
func ArchivedAtGTE(v time.Time) predicate.OrganizationMember
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
func ArchivedAtIn(vs ...time.Time) predicate.OrganizationMember
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
func ArchivedAtIsNil() predicate.OrganizationMember
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
func ArchivedAtLT(v time.Time) predicate.OrganizationMember
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
func ArchivedAtLTE(v time.Time) predicate.OrganizationMember
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
func ArchivedAtNEQ(v time.Time) predicate.OrganizationMember
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
func ArchivedAtNotIn(vs ...time.Time) predicate.OrganizationMember
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
func ArchivedAtNotNil() predicate.OrganizationMember
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OrganizationMember
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OrganizationMember
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OrganizationMember
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OrganizationMember
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OrganizationMember
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.OrganizationMember
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OrganizationMember
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OrganizationMember
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OrganizationMember
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OrganizationMember
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.OrganizationMember
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedByID ¶
func CreatedByID(v uuid.UUID) predicate.OrganizationMember
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
func CreatedByIDEQ(v uuid.UUID) predicate.OrganizationMember
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
func CreatedByIDGT(v uuid.UUID) predicate.OrganizationMember
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
func CreatedByIDGTE(v uuid.UUID) predicate.OrganizationMember
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
func CreatedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
func CreatedByIDIsNil() predicate.OrganizationMember
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
func CreatedByIDLT(v uuid.UUID) predicate.OrganizationMember
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
func CreatedByIDLTE(v uuid.UUID) predicate.OrganizationMember
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
func CreatedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
func CreatedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
func CreatedByIDNotNil() predicate.OrganizationMember
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.OrganizationMember
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.OrganizationMember
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.OrganizationMember
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.OrganizationMember
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.OrganizationMember
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.OrganizationMember
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.OrganizationMember
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.OrganizationMember
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.OrganizationMember
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.OrganizationMember
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.OrganizationMember
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
func DeletedByID(v uuid.UUID) predicate.OrganizationMember
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
func DeletedByIDEQ(v uuid.UUID) predicate.OrganizationMember
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
func DeletedByIDGT(v uuid.UUID) predicate.OrganizationMember
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
func DeletedByIDGTE(v uuid.UUID) predicate.OrganizationMember
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
func DeletedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
func DeletedByIDIsNil() predicate.OrganizationMember
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
func DeletedByIDLT(v uuid.UUID) predicate.OrganizationMember
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
func DeletedByIDLTE(v uuid.UUID) predicate.OrganizationMember
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
func DeletedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
func DeletedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
func DeletedByIDNotNil() predicate.OrganizationMember
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func DomainID ¶
func DomainID(v uuid.UUID) predicate.OrganizationMember
DomainID applies equality check predicate on the "domain_id" field. It's identical to DomainIDEQ.
func DomainIDEQ ¶
func DomainIDEQ(v uuid.UUID) predicate.OrganizationMember
DomainIDEQ applies the EQ predicate on the "domain_id" field.
func DomainIDGT ¶
func DomainIDGT(v uuid.UUID) predicate.OrganizationMember
DomainIDGT applies the GT predicate on the "domain_id" field.
func DomainIDGTE ¶
func DomainIDGTE(v uuid.UUID) predicate.OrganizationMember
DomainIDGTE applies the GTE predicate on the "domain_id" field.
func DomainIDIn ¶
func DomainIDIn(vs ...uuid.UUID) predicate.OrganizationMember
DomainIDIn applies the In predicate on the "domain_id" field.
func DomainIDLT ¶
func DomainIDLT(v uuid.UUID) predicate.OrganizationMember
DomainIDLT applies the LT predicate on the "domain_id" field.
func DomainIDLTE ¶
func DomainIDLTE(v uuid.UUID) predicate.OrganizationMember
DomainIDLTE applies the LTE predicate on the "domain_id" field.
func DomainIDNEQ ¶
func DomainIDNEQ(v uuid.UUID) predicate.OrganizationMember
DomainIDNEQ applies the NEQ predicate on the "domain_id" field.
func DomainIDNotIn ¶
func DomainIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
DomainIDNotIn applies the NotIn predicate on the "domain_id" field.
func HasOrganization ¶
func HasOrganization() predicate.OrganizationMember
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.OrganizationMember
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.OrganizationMember
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.OrganizationMember
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.OrganizationMember
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.OrganizationMember
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.OrganizationMember
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.OrganizationMember
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.OrganizationMember
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.OrganizationMember
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.OrganizationMember
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.OrganizationMember
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.OrganizationMember
IDNotIn applies the NotIn predicate on the ID field.
func IsPrimary ¶
func IsPrimary(v bool) predicate.OrganizationMember
IsPrimary applies equality check predicate on the "is_primary" field. It's identical to IsPrimaryEQ.
func IsPrimaryEQ ¶
func IsPrimaryEQ(v bool) predicate.OrganizationMember
IsPrimaryEQ applies the EQ predicate on the "is_primary" field.
func IsPrimaryNEQ ¶
func IsPrimaryNEQ(v bool) predicate.OrganizationMember
IsPrimaryNEQ applies the NEQ predicate on the "is_primary" field.
func Not ¶
func Not(p predicate.OrganizationMember) predicate.OrganizationMember
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OrganizationMember) predicate.OrganizationMember
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.OrganizationMember
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.OrganizationMember
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.OrganizationMember
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.OrganizationMember
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func PublishedAt ¶
func PublishedAt(v time.Time) predicate.OrganizationMember
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
func PublishedAtEQ(v time.Time) predicate.OrganizationMember
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
func PublishedAtGT(v time.Time) predicate.OrganizationMember
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
func PublishedAtGTE(v time.Time) predicate.OrganizationMember
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
func PublishedAtIn(vs ...time.Time) predicate.OrganizationMember
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
func PublishedAtIsNil() predicate.OrganizationMember
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
func PublishedAtLT(v time.Time) predicate.OrganizationMember
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
func PublishedAtLTE(v time.Time) predicate.OrganizationMember
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
func PublishedAtNEQ(v time.Time) predicate.OrganizationMember
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
func PublishedAtNotIn(vs ...time.Time) predicate.OrganizationMember
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
func PublishedAtNotNil() predicate.OrganizationMember
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.OrganizationMember
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.OrganizationMember
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.OrganizationMember
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.OrganizationMember
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.OrganizationMember
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.OrganizationMember
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.OrganizationMember
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.OrganizationMember
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.OrganizationMember
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.OrganizationMember
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.OrganizationMember
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedByID ¶
func UpdatedByID(v uuid.UUID) predicate.OrganizationMember
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
func UpdatedByIDEQ(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
func UpdatedByIDGT(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
func UpdatedByIDGTE(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
func UpdatedByIDIn(vs ...uuid.UUID) predicate.OrganizationMember
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
func UpdatedByIDIsNil() predicate.OrganizationMember
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
func UpdatedByIDLT(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
func UpdatedByIDLTE(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
func UpdatedByIDNEQ(v uuid.UUID) predicate.OrganizationMember
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
func UpdatedByIDNotNil() predicate.OrganizationMember
UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.OrganizationMember
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.OrganizationMember
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.OrganizationMember
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.OrganizationMember
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.OrganizationMember
UserIDNotIn applies the NotIn predicate on the "user_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 OrganizationMember queries.
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 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 ByIsPrimary ¶
func ByIsPrimary(opts ...sql.OrderTermOption) OrderOption
ByIsPrimary orders the results by the is_primary field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at 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.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.