Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OrganizationPerson) predicate.OrganizationPerson
- func DateCreated(v time.Time) predicate.OrganizationPerson
- func DateCreatedEQ(v time.Time) predicate.OrganizationPerson
- func DateCreatedGT(v time.Time) predicate.OrganizationPerson
- func DateCreatedGTE(v time.Time) predicate.OrganizationPerson
- func DateCreatedIn(vs ...time.Time) predicate.OrganizationPerson
- func DateCreatedLT(v time.Time) predicate.OrganizationPerson
- func DateCreatedLTE(v time.Time) predicate.OrganizationPerson
- func DateCreatedNEQ(v time.Time) predicate.OrganizationPerson
- func DateCreatedNotIn(vs ...time.Time) predicate.OrganizationPerson
- func DateUpdated(v time.Time) predicate.OrganizationPerson
- func DateUpdatedEQ(v time.Time) predicate.OrganizationPerson
- func DateUpdatedGT(v time.Time) predicate.OrganizationPerson
- func DateUpdatedGTE(v time.Time) predicate.OrganizationPerson
- func DateUpdatedIn(vs ...time.Time) predicate.OrganizationPerson
- func DateUpdatedLT(v time.Time) predicate.OrganizationPerson
- func DateUpdatedLTE(v time.Time) predicate.OrganizationPerson
- func DateUpdatedNEQ(v time.Time) predicate.OrganizationPerson
- func DateUpdatedNotIn(vs ...time.Time) predicate.OrganizationPerson
- func From(v time.Time) predicate.OrganizationPerson
- func FromEQ(v time.Time) predicate.OrganizationPerson
- func FromGT(v time.Time) predicate.OrganizationPerson
- func FromGTE(v time.Time) predicate.OrganizationPerson
- func FromIn(vs ...time.Time) predicate.OrganizationPerson
- func FromLT(v time.Time) predicate.OrganizationPerson
- func FromLTE(v time.Time) predicate.OrganizationPerson
- func FromNEQ(v time.Time) predicate.OrganizationPerson
- func FromNotIn(vs ...time.Time) predicate.OrganizationPerson
- func ID(id int) predicate.OrganizationPerson
- func IDEQ(id int) predicate.OrganizationPerson
- func IDGT(id int) predicate.OrganizationPerson
- func IDGTE(id int) predicate.OrganizationPerson
- func IDIn(ids ...int) predicate.OrganizationPerson
- func IDLT(id int) predicate.OrganizationPerson
- func IDLTE(id int) predicate.OrganizationPerson
- func IDNEQ(id int) predicate.OrganizationPerson
- func IDNotIn(ids ...int) predicate.OrganizationPerson
- func Not(p predicate.OrganizationPerson) predicate.OrganizationPerson
- func Or(predicates ...predicate.OrganizationPerson) predicate.OrganizationPerson
- func OrganizationID(v int) predicate.OrganizationPerson
- func OrganizationIDEQ(v int) predicate.OrganizationPerson
- func OrganizationIDGT(v int) predicate.OrganizationPerson
- func OrganizationIDGTE(v int) predicate.OrganizationPerson
- func OrganizationIDIn(vs ...int) predicate.OrganizationPerson
- func OrganizationIDLT(v int) predicate.OrganizationPerson
- func OrganizationIDLTE(v int) predicate.OrganizationPerson
- func OrganizationIDNEQ(v int) predicate.OrganizationPerson
- func OrganizationIDNotIn(vs ...int) predicate.OrganizationPerson
- func PersonID(v int) predicate.OrganizationPerson
- func PersonIDEQ(v int) predicate.OrganizationPerson
- func PersonIDGT(v int) predicate.OrganizationPerson
- func PersonIDGTE(v int) predicate.OrganizationPerson
- func PersonIDIn(vs ...int) predicate.OrganizationPerson
- func PersonIDLT(v int) predicate.OrganizationPerson
- func PersonIDLTE(v int) predicate.OrganizationPerson
- func PersonIDNEQ(v int) predicate.OrganizationPerson
- func PersonIDNotIn(vs ...int) predicate.OrganizationPerson
- func Until(v time.Time) predicate.OrganizationPerson
- func UntilEQ(v time.Time) predicate.OrganizationPerson
- func UntilGT(v time.Time) predicate.OrganizationPerson
- func UntilGTE(v time.Time) predicate.OrganizationPerson
- func UntilIn(vs ...time.Time) predicate.OrganizationPerson
- func UntilIsNil() predicate.OrganizationPerson
- func UntilLT(v time.Time) predicate.OrganizationPerson
- func UntilLTE(v time.Time) predicate.OrganizationPerson
- func UntilNEQ(v time.Time) predicate.OrganizationPerson
- func UntilNotIn(vs ...time.Time) predicate.OrganizationPerson
- func UntilNotNil() predicate.OrganizationPerson
- func ValidColumn(column string) bool
- type OrderOption
- func ByDateCreated(opts ...sql.OrderTermOption) OrderOption
- func ByDateUpdated(opts ...sql.OrderTermOption) OrderOption
- func ByFrom(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByPersonID(opts ...sql.OrderTermOption) OrderOption
- func ByUntil(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the organizationperson type in the database. Label = "organization_person" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDateCreated holds the string denoting the date_created field in the database. FieldDateCreated = "date_created" // FieldDateUpdated holds the string denoting the date_updated field in the database. FieldDateUpdated = "date_updated" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldPersonID holds the string denoting the person_id field in the database. FieldPersonID = "person_id" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldUntil holds the string denoting the until field in the database. FieldUntil = "until" // Table holds the table name of the organizationperson in the database. Table = "organization_person" )
Variables ¶
var ( // DefaultDateCreated holds the default value on creation for the "date_created" field. DefaultDateCreated func() time.Time // DefaultDateUpdated holds the default value on creation for the "date_updated" field. DefaultDateUpdated func() time.Time // UpdateDefaultDateUpdated holds the default value on update for the "date_updated" field. UpdateDefaultDateUpdated func() time.Time // DefaultFrom holds the default value on creation for the "from" field. DefaultFrom func() time.Time )
var Columns = []string{ FieldID, FieldDateCreated, FieldDateUpdated, FieldOrganizationID, FieldPersonID, FieldFrom, FieldUntil, }
Columns holds all SQL columns for organizationperson fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OrganizationPerson) predicate.OrganizationPerson
And groups predicates with the AND operator between them.
func DateCreated ¶
func DateCreated(v time.Time) predicate.OrganizationPerson
DateCreated applies equality check predicate on the "date_created" field. It's identical to DateCreatedEQ.
func DateCreatedEQ ¶
func DateCreatedEQ(v time.Time) predicate.OrganizationPerson
DateCreatedEQ applies the EQ predicate on the "date_created" field.
func DateCreatedGT ¶
func DateCreatedGT(v time.Time) predicate.OrganizationPerson
DateCreatedGT applies the GT predicate on the "date_created" field.
func DateCreatedGTE ¶
func DateCreatedGTE(v time.Time) predicate.OrganizationPerson
DateCreatedGTE applies the GTE predicate on the "date_created" field.
func DateCreatedIn ¶
func DateCreatedIn(vs ...time.Time) predicate.OrganizationPerson
DateCreatedIn applies the In predicate on the "date_created" field.
func DateCreatedLT ¶
func DateCreatedLT(v time.Time) predicate.OrganizationPerson
DateCreatedLT applies the LT predicate on the "date_created" field.
func DateCreatedLTE ¶
func DateCreatedLTE(v time.Time) predicate.OrganizationPerson
DateCreatedLTE applies the LTE predicate on the "date_created" field.
func DateCreatedNEQ ¶
func DateCreatedNEQ(v time.Time) predicate.OrganizationPerson
DateCreatedNEQ applies the NEQ predicate on the "date_created" field.
func DateCreatedNotIn ¶
func DateCreatedNotIn(vs ...time.Time) predicate.OrganizationPerson
DateCreatedNotIn applies the NotIn predicate on the "date_created" field.
func DateUpdated ¶
func DateUpdated(v time.Time) predicate.OrganizationPerson
DateUpdated applies equality check predicate on the "date_updated" field. It's identical to DateUpdatedEQ.
func DateUpdatedEQ ¶
func DateUpdatedEQ(v time.Time) predicate.OrganizationPerson
DateUpdatedEQ applies the EQ predicate on the "date_updated" field.
func DateUpdatedGT ¶
func DateUpdatedGT(v time.Time) predicate.OrganizationPerson
DateUpdatedGT applies the GT predicate on the "date_updated" field.
func DateUpdatedGTE ¶
func DateUpdatedGTE(v time.Time) predicate.OrganizationPerson
DateUpdatedGTE applies the GTE predicate on the "date_updated" field.
func DateUpdatedIn ¶
func DateUpdatedIn(vs ...time.Time) predicate.OrganizationPerson
DateUpdatedIn applies the In predicate on the "date_updated" field.
func DateUpdatedLT ¶
func DateUpdatedLT(v time.Time) predicate.OrganizationPerson
DateUpdatedLT applies the LT predicate on the "date_updated" field.
func DateUpdatedLTE ¶
func DateUpdatedLTE(v time.Time) predicate.OrganizationPerson
DateUpdatedLTE applies the LTE predicate on the "date_updated" field.
func DateUpdatedNEQ ¶
func DateUpdatedNEQ(v time.Time) predicate.OrganizationPerson
DateUpdatedNEQ applies the NEQ predicate on the "date_updated" field.
func DateUpdatedNotIn ¶
func DateUpdatedNotIn(vs ...time.Time) predicate.OrganizationPerson
DateUpdatedNotIn applies the NotIn predicate on the "date_updated" field.
func From ¶
func From(v time.Time) predicate.OrganizationPerson
From applies equality check predicate on the "from" field. It's identical to FromEQ.
func FromEQ ¶
func FromEQ(v time.Time) predicate.OrganizationPerson
FromEQ applies the EQ predicate on the "from" field.
func FromGT ¶
func FromGT(v time.Time) predicate.OrganizationPerson
FromGT applies the GT predicate on the "from" field.
func FromGTE ¶
func FromGTE(v time.Time) predicate.OrganizationPerson
FromGTE applies the GTE predicate on the "from" field.
func FromIn ¶
func FromIn(vs ...time.Time) predicate.OrganizationPerson
FromIn applies the In predicate on the "from" field.
func FromLT ¶
func FromLT(v time.Time) predicate.OrganizationPerson
FromLT applies the LT predicate on the "from" field.
func FromLTE ¶
func FromLTE(v time.Time) predicate.OrganizationPerson
FromLTE applies the LTE predicate on the "from" field.
func FromNEQ ¶
func FromNEQ(v time.Time) predicate.OrganizationPerson
FromNEQ applies the NEQ predicate on the "from" field.
func FromNotIn ¶
func FromNotIn(vs ...time.Time) predicate.OrganizationPerson
FromNotIn applies the NotIn predicate on the "from" field.
func IDEQ ¶
func IDEQ(id int) predicate.OrganizationPerson
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.OrganizationPerson
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.OrganizationPerson
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.OrganizationPerson
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.OrganizationPerson
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.OrganizationPerson
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.OrganizationPerson
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.OrganizationPerson
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OrganizationPerson) predicate.OrganizationPerson
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OrganizationPerson) predicate.OrganizationPerson
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v int) predicate.OrganizationPerson
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v int) predicate.OrganizationPerson
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDGT ¶
func OrganizationIDGT(v int) predicate.OrganizationPerson
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
func OrganizationIDGTE(v int) predicate.OrganizationPerson
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...int) predicate.OrganizationPerson
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDLT ¶
func OrganizationIDLT(v int) predicate.OrganizationPerson
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
func OrganizationIDLTE(v int) predicate.OrganizationPerson
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v int) predicate.OrganizationPerson
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...int) predicate.OrganizationPerson
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func PersonID ¶
func PersonID(v int) predicate.OrganizationPerson
PersonID applies equality check predicate on the "person_id" field. It's identical to PersonIDEQ.
func PersonIDEQ ¶
func PersonIDEQ(v int) predicate.OrganizationPerson
PersonIDEQ applies the EQ predicate on the "person_id" field.
func PersonIDGT ¶
func PersonIDGT(v int) predicate.OrganizationPerson
PersonIDGT applies the GT predicate on the "person_id" field.
func PersonIDGTE ¶
func PersonIDGTE(v int) predicate.OrganizationPerson
PersonIDGTE applies the GTE predicate on the "person_id" field.
func PersonIDIn ¶
func PersonIDIn(vs ...int) predicate.OrganizationPerson
PersonIDIn applies the In predicate on the "person_id" field.
func PersonIDLT ¶
func PersonIDLT(v int) predicate.OrganizationPerson
PersonIDLT applies the LT predicate on the "person_id" field.
func PersonIDLTE ¶
func PersonIDLTE(v int) predicate.OrganizationPerson
PersonIDLTE applies the LTE predicate on the "person_id" field.
func PersonIDNEQ ¶
func PersonIDNEQ(v int) predicate.OrganizationPerson
PersonIDNEQ applies the NEQ predicate on the "person_id" field.
func PersonIDNotIn ¶
func PersonIDNotIn(vs ...int) predicate.OrganizationPerson
PersonIDNotIn applies the NotIn predicate on the "person_id" field.
func Until ¶
func Until(v time.Time) predicate.OrganizationPerson
Until applies equality check predicate on the "until" field. It's identical to UntilEQ.
func UntilEQ ¶
func UntilEQ(v time.Time) predicate.OrganizationPerson
UntilEQ applies the EQ predicate on the "until" field.
func UntilGT ¶
func UntilGT(v time.Time) predicate.OrganizationPerson
UntilGT applies the GT predicate on the "until" field.
func UntilGTE ¶
func UntilGTE(v time.Time) predicate.OrganizationPerson
UntilGTE applies the GTE predicate on the "until" field.
func UntilIn ¶
func UntilIn(vs ...time.Time) predicate.OrganizationPerson
UntilIn applies the In predicate on the "until" field.
func UntilIsNil ¶
func UntilIsNil() predicate.OrganizationPerson
UntilIsNil applies the IsNil predicate on the "until" field.
func UntilLT ¶
func UntilLT(v time.Time) predicate.OrganizationPerson
UntilLT applies the LT predicate on the "until" field.
func UntilLTE ¶
func UntilLTE(v time.Time) predicate.OrganizationPerson
UntilLTE applies the LTE predicate on the "until" field.
func UntilNEQ ¶
func UntilNEQ(v time.Time) predicate.OrganizationPerson
UntilNEQ applies the NEQ predicate on the "until" field.
func UntilNotIn ¶
func UntilNotIn(vs ...time.Time) predicate.OrganizationPerson
UntilNotIn applies the NotIn predicate on the "until" field.
func UntilNotNil ¶
func UntilNotNil() predicate.OrganizationPerson
UntilNotNil applies the NotNil predicate on the "until" 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 OrganizationPerson queries.
func ByDateCreated ¶
func ByDateCreated(opts ...sql.OrderTermOption) OrderOption
ByDateCreated orders the results by the date_created field.
func ByDateUpdated ¶
func ByDateUpdated(opts ...sql.OrderTermOption) OrderOption
ByDateUpdated orders the results by the date_updated field.
func ByFrom ¶
func ByFrom(opts ...sql.OrderTermOption) OrderOption
ByFrom orders the results by the from field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByPersonID ¶
func ByPersonID(opts ...sql.OrderTermOption) OrderOption
ByPersonID orders the results by the person_id field.
func ByUntil ¶
func ByUntil(opts ...sql.OrderTermOption) OrderOption
ByUntil orders the results by the until field.