organizationperson

package
v0.0.0-...-f60b9ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for organizationperson fields.

Functions

func And

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

From applies equality check predicate on the "from" field. It's identical to FromEQ.

func FromEQ

FromEQ applies the EQ predicate on the "from" field.

func FromGT

FromGT applies the GT predicate on the "from" field.

func FromGTE

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

FromLT applies the LT predicate on the "from" field.

func FromLTE

FromLTE applies the LTE predicate on the "from" field.

func FromNEQ

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

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

Until applies equality check predicate on the "until" field. It's identical to UntilEQ.

func UntilEQ

UntilEQ applies the EQ predicate on the "until" field.

func UntilGT

UntilGT applies the GT predicate on the "until" field.

func UntilGTE

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

UntilLT applies the LT predicate on the "until" field.

func UntilLTE

UntilLTE applies the LTE predicate on the "until" field.

func UntilNEQ

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL