organizationparent

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 organizationparent type in the database.
	Label = "organization_parent"
	// 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"
	// FieldParentOrganizationID holds the string denoting the parent_organization_id field in the database.
	FieldParentOrganizationID = "parent_organization_id"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_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 organizationparent in the database.
	Table = "organization_parent"
)

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 organizationparent fields.

Functions

func And

And groups predicates with the AND operator between them.

func DateCreated

func DateCreated(v time.Time) predicate.OrganizationParent

DateCreated applies equality check predicate on the "date_created" field. It's identical to DateCreatedEQ.

func DateCreatedEQ

func DateCreatedEQ(v time.Time) predicate.OrganizationParent

DateCreatedEQ applies the EQ predicate on the "date_created" field.

func DateCreatedGT

func DateCreatedGT(v time.Time) predicate.OrganizationParent

DateCreatedGT applies the GT predicate on the "date_created" field.

func DateCreatedGTE

func DateCreatedGTE(v time.Time) predicate.OrganizationParent

DateCreatedGTE applies the GTE predicate on the "date_created" field.

func DateCreatedIn

func DateCreatedIn(vs ...time.Time) predicate.OrganizationParent

DateCreatedIn applies the In predicate on the "date_created" field.

func DateCreatedLT

func DateCreatedLT(v time.Time) predicate.OrganizationParent

DateCreatedLT applies the LT predicate on the "date_created" field.

func DateCreatedLTE

func DateCreatedLTE(v time.Time) predicate.OrganizationParent

DateCreatedLTE applies the LTE predicate on the "date_created" field.

func DateCreatedNEQ

func DateCreatedNEQ(v time.Time) predicate.OrganizationParent

DateCreatedNEQ applies the NEQ predicate on the "date_created" field.

func DateCreatedNotIn

func DateCreatedNotIn(vs ...time.Time) predicate.OrganizationParent

DateCreatedNotIn applies the NotIn predicate on the "date_created" field.

func DateUpdated

func DateUpdated(v time.Time) predicate.OrganizationParent

DateUpdated applies equality check predicate on the "date_updated" field. It's identical to DateUpdatedEQ.

func DateUpdatedEQ

func DateUpdatedEQ(v time.Time) predicate.OrganizationParent

DateUpdatedEQ applies the EQ predicate on the "date_updated" field.

func DateUpdatedGT

func DateUpdatedGT(v time.Time) predicate.OrganizationParent

DateUpdatedGT applies the GT predicate on the "date_updated" field.

func DateUpdatedGTE

func DateUpdatedGTE(v time.Time) predicate.OrganizationParent

DateUpdatedGTE applies the GTE predicate on the "date_updated" field.

func DateUpdatedIn

func DateUpdatedIn(vs ...time.Time) predicate.OrganizationParent

DateUpdatedIn applies the In predicate on the "date_updated" field.

func DateUpdatedLT

func DateUpdatedLT(v time.Time) predicate.OrganizationParent

DateUpdatedLT applies the LT predicate on the "date_updated" field.

func DateUpdatedLTE

func DateUpdatedLTE(v time.Time) predicate.OrganizationParent

DateUpdatedLTE applies the LTE predicate on the "date_updated" field.

func DateUpdatedNEQ

func DateUpdatedNEQ(v time.Time) predicate.OrganizationParent

DateUpdatedNEQ applies the NEQ predicate on the "date_updated" field.

func DateUpdatedNotIn

func DateUpdatedNotIn(vs ...time.Time) predicate.OrganizationParent

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.OrganizationParent

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.OrganizationParent

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.OrganizationParent

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.OrganizationParent

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.OrganizationParent

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDEQ

func OrganizationIDEQ(v int) predicate.OrganizationParent

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDGT

func OrganizationIDGT(v int) predicate.OrganizationParent

OrganizationIDGT applies the GT predicate on the "organization_id" field.

func OrganizationIDGTE

func OrganizationIDGTE(v int) predicate.OrganizationParent

OrganizationIDGTE applies the GTE predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...int) predicate.OrganizationParent

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDLT

func OrganizationIDLT(v int) predicate.OrganizationParent

OrganizationIDLT applies the LT predicate on the "organization_id" field.

func OrganizationIDLTE

func OrganizationIDLTE(v int) predicate.OrganizationParent

OrganizationIDLTE applies the LTE predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v int) predicate.OrganizationParent

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...int) predicate.OrganizationParent

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func ParentOrganizationID

func ParentOrganizationID(v int) predicate.OrganizationParent

ParentOrganizationID applies equality check predicate on the "parent_organization_id" field. It's identical to ParentOrganizationIDEQ.

func ParentOrganizationIDEQ

func ParentOrganizationIDEQ(v int) predicate.OrganizationParent

ParentOrganizationIDEQ applies the EQ predicate on the "parent_organization_id" field.

func ParentOrganizationIDGT

func ParentOrganizationIDGT(v int) predicate.OrganizationParent

ParentOrganizationIDGT applies the GT predicate on the "parent_organization_id" field.

func ParentOrganizationIDGTE

func ParentOrganizationIDGTE(v int) predicate.OrganizationParent

ParentOrganizationIDGTE applies the GTE predicate on the "parent_organization_id" field.

func ParentOrganizationIDIn

func ParentOrganizationIDIn(vs ...int) predicate.OrganizationParent

ParentOrganizationIDIn applies the In predicate on the "parent_organization_id" field.

func ParentOrganizationIDLT

func ParentOrganizationIDLT(v int) predicate.OrganizationParent

ParentOrganizationIDLT applies the LT predicate on the "parent_organization_id" field.

func ParentOrganizationIDLTE

func ParentOrganizationIDLTE(v int) predicate.OrganizationParent

ParentOrganizationIDLTE applies the LTE predicate on the "parent_organization_id" field.

func ParentOrganizationIDNEQ

func ParentOrganizationIDNEQ(v int) predicate.OrganizationParent

ParentOrganizationIDNEQ applies the NEQ predicate on the "parent_organization_id" field.

func ParentOrganizationIDNotIn

func ParentOrganizationIDNotIn(vs ...int) predicate.OrganizationParent

ParentOrganizationIDNotIn applies the NotIn predicate on the "parent_organization_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.OrganizationParent

UntilIn applies the In predicate on the "until" field.

func UntilIsNil

func UntilIsNil() predicate.OrganizationParent

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.OrganizationParent

UntilNotIn applies the NotIn predicate on the "until" field.

func UntilNotNil

func UntilNotNil() predicate.OrganizationParent

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 OrganizationParent 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 ByParentOrganizationID

func ByParentOrganizationID(opts ...sql.OrderTermOption) OrderOption

ByParentOrganizationID orders the results by the parent_organization_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