organization

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 organization type in the database.
	Label = "organization"
	// 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"
	// FieldPublicID holds the string denoting the public_id field in the database.
	FieldPublicID = "public_id"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldIdentifierValues holds the string denoting the identifier_values field in the database.
	FieldIdentifierValues = "identifier_values"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldAcronym holds the string denoting the acronym field in the database.
	FieldAcronym = "acronym"
	// FieldNameDut holds the string denoting the name_dut field in the database.
	FieldNameDut = "name_dut"
	// FieldNameEng holds the string denoting the name_eng field in the database.
	FieldNameEng = "name_eng"
	// Table holds the table name of the organization in the database.
	Table = "organization"
)

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
	// DefaultPublicID holds the default value on creation for the "public_id" field.
	DefaultPublicID func() string
	// DefaultIdentifier holds the default value on creation for the "identifier" field.
	DefaultIdentifier []string
	// DefaultIdentifierValues holds the default value on creation for the "identifier_values" field.
	DefaultIdentifierValues []string
	// DefaultType holds the default value on creation for the "type" field.
	DefaultType string
)

Columns holds all SQL columns for organization fields.

Functions

func Acronym

func Acronym(v string) predicate.Organization

Acronym applies equality check predicate on the "acronym" field. It's identical to AcronymEQ.

func AcronymContains

func AcronymContains(v string) predicate.Organization

AcronymContains applies the Contains predicate on the "acronym" field.

func AcronymContainsFold

func AcronymContainsFold(v string) predicate.Organization

AcronymContainsFold applies the ContainsFold predicate on the "acronym" field.

func AcronymEQ

func AcronymEQ(v string) predicate.Organization

AcronymEQ applies the EQ predicate on the "acronym" field.

func AcronymEqualFold

func AcronymEqualFold(v string) predicate.Organization

AcronymEqualFold applies the EqualFold predicate on the "acronym" field.

func AcronymGT

func AcronymGT(v string) predicate.Organization

AcronymGT applies the GT predicate on the "acronym" field.

func AcronymGTE

func AcronymGTE(v string) predicate.Organization

AcronymGTE applies the GTE predicate on the "acronym" field.

func AcronymHasPrefix

func AcronymHasPrefix(v string) predicate.Organization

AcronymHasPrefix applies the HasPrefix predicate on the "acronym" field.

func AcronymHasSuffix

func AcronymHasSuffix(v string) predicate.Organization

AcronymHasSuffix applies the HasSuffix predicate on the "acronym" field.

func AcronymIn

func AcronymIn(vs ...string) predicate.Organization

AcronymIn applies the In predicate on the "acronym" field.

func AcronymIsNil

func AcronymIsNil() predicate.Organization

AcronymIsNil applies the IsNil predicate on the "acronym" field.

func AcronymLT

func AcronymLT(v string) predicate.Organization

AcronymLT applies the LT predicate on the "acronym" field.

func AcronymLTE

func AcronymLTE(v string) predicate.Organization

AcronymLTE applies the LTE predicate on the "acronym" field.

func AcronymNEQ

func AcronymNEQ(v string) predicate.Organization

AcronymNEQ applies the NEQ predicate on the "acronym" field.

func AcronymNotIn

func AcronymNotIn(vs ...string) predicate.Organization

AcronymNotIn applies the NotIn predicate on the "acronym" field.

func AcronymNotNil

func AcronymNotNil() predicate.Organization

AcronymNotNil applies the NotNil predicate on the "acronym" field.

func And

func And(predicates ...predicate.Organization) predicate.Organization

And groups predicates with the AND operator between them.

func DateCreated

func DateCreated(v time.Time) predicate.Organization

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

func DateCreatedEQ

func DateCreatedEQ(v time.Time) predicate.Organization

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

func DateCreatedGT

func DateCreatedGT(v time.Time) predicate.Organization

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

func DateCreatedGTE

func DateCreatedGTE(v time.Time) predicate.Organization

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

func DateCreatedIn

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

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

func DateCreatedLT

func DateCreatedLT(v time.Time) predicate.Organization

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

func DateCreatedLTE

func DateCreatedLTE(v time.Time) predicate.Organization

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

func DateCreatedNEQ

func DateCreatedNEQ(v time.Time) predicate.Organization

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

func DateCreatedNotIn

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

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

func DateUpdated

func DateUpdated(v time.Time) predicate.Organization

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

func DateUpdatedEQ

func DateUpdatedEQ(v time.Time) predicate.Organization

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

func DateUpdatedGT

func DateUpdatedGT(v time.Time) predicate.Organization

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

func DateUpdatedGTE

func DateUpdatedGTE(v time.Time) predicate.Organization

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

func DateUpdatedIn

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

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

func DateUpdatedLT

func DateUpdatedLT(v time.Time) predicate.Organization

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

func DateUpdatedLTE

func DateUpdatedLTE(v time.Time) predicate.Organization

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

func DateUpdatedNEQ

func DateUpdatedNEQ(v time.Time) predicate.Organization

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

func DateUpdatedNotIn

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

DateUpdatedNotIn applies the NotIn predicate on the "date_updated" field.

func ID

func ID(id int) predicate.Organization

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Organization

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Organization

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Organization

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Organization

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Organization

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Organization

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Organization

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Organization

IDNotIn applies the NotIn predicate on the ID field.

func IdentifierIsNil

func IdentifierIsNil() predicate.Organization

IdentifierIsNil applies the IsNil predicate on the "identifier" field.

func IdentifierNotNil

func IdentifierNotNil() predicate.Organization

IdentifierNotNil applies the NotNil predicate on the "identifier" field.

func IdentifierValuesIsNil

func IdentifierValuesIsNil() predicate.Organization

IdentifierValuesIsNil applies the IsNil predicate on the "identifier_values" field.

func IdentifierValuesNotNil

func IdentifierValuesNotNil() predicate.Organization

IdentifierValuesNotNil applies the NotNil predicate on the "identifier_values" field.

func NameDut

func NameDut(v string) predicate.Organization

NameDut applies equality check predicate on the "name_dut" field. It's identical to NameDutEQ.

func NameDutContains

func NameDutContains(v string) predicate.Organization

NameDutContains applies the Contains predicate on the "name_dut" field.

func NameDutContainsFold

func NameDutContainsFold(v string) predicate.Organization

NameDutContainsFold applies the ContainsFold predicate on the "name_dut" field.

func NameDutEQ

func NameDutEQ(v string) predicate.Organization

NameDutEQ applies the EQ predicate on the "name_dut" field.

func NameDutEqualFold

func NameDutEqualFold(v string) predicate.Organization

NameDutEqualFold applies the EqualFold predicate on the "name_dut" field.

func NameDutGT

func NameDutGT(v string) predicate.Organization

NameDutGT applies the GT predicate on the "name_dut" field.

func NameDutGTE

func NameDutGTE(v string) predicate.Organization

NameDutGTE applies the GTE predicate on the "name_dut" field.

func NameDutHasPrefix

func NameDutHasPrefix(v string) predicate.Organization

NameDutHasPrefix applies the HasPrefix predicate on the "name_dut" field.

func NameDutHasSuffix

func NameDutHasSuffix(v string) predicate.Organization

NameDutHasSuffix applies the HasSuffix predicate on the "name_dut" field.

func NameDutIn

func NameDutIn(vs ...string) predicate.Organization

NameDutIn applies the In predicate on the "name_dut" field.

func NameDutIsNil

func NameDutIsNil() predicate.Organization

NameDutIsNil applies the IsNil predicate on the "name_dut" field.

func NameDutLT

func NameDutLT(v string) predicate.Organization

NameDutLT applies the LT predicate on the "name_dut" field.

func NameDutLTE

func NameDutLTE(v string) predicate.Organization

NameDutLTE applies the LTE predicate on the "name_dut" field.

func NameDutNEQ

func NameDutNEQ(v string) predicate.Organization

NameDutNEQ applies the NEQ predicate on the "name_dut" field.

func NameDutNotIn

func NameDutNotIn(vs ...string) predicate.Organization

NameDutNotIn applies the NotIn predicate on the "name_dut" field.

func NameDutNotNil

func NameDutNotNil() predicate.Organization

NameDutNotNil applies the NotNil predicate on the "name_dut" field.

func NameEng

func NameEng(v string) predicate.Organization

NameEng applies equality check predicate on the "name_eng" field. It's identical to NameEngEQ.

func NameEngContains

func NameEngContains(v string) predicate.Organization

NameEngContains applies the Contains predicate on the "name_eng" field.

func NameEngContainsFold

func NameEngContainsFold(v string) predicate.Organization

NameEngContainsFold applies the ContainsFold predicate on the "name_eng" field.

func NameEngEQ

func NameEngEQ(v string) predicate.Organization

NameEngEQ applies the EQ predicate on the "name_eng" field.

func NameEngEqualFold

func NameEngEqualFold(v string) predicate.Organization

NameEngEqualFold applies the EqualFold predicate on the "name_eng" field.

func NameEngGT

func NameEngGT(v string) predicate.Organization

NameEngGT applies the GT predicate on the "name_eng" field.

func NameEngGTE

func NameEngGTE(v string) predicate.Organization

NameEngGTE applies the GTE predicate on the "name_eng" field.

func NameEngHasPrefix

func NameEngHasPrefix(v string) predicate.Organization

NameEngHasPrefix applies the HasPrefix predicate on the "name_eng" field.

func NameEngHasSuffix

func NameEngHasSuffix(v string) predicate.Organization

NameEngHasSuffix applies the HasSuffix predicate on the "name_eng" field.

func NameEngIn

func NameEngIn(vs ...string) predicate.Organization

NameEngIn applies the In predicate on the "name_eng" field.

func NameEngIsNil

func NameEngIsNil() predicate.Organization

NameEngIsNil applies the IsNil predicate on the "name_eng" field.

func NameEngLT

func NameEngLT(v string) predicate.Organization

NameEngLT applies the LT predicate on the "name_eng" field.

func NameEngLTE

func NameEngLTE(v string) predicate.Organization

NameEngLTE applies the LTE predicate on the "name_eng" field.

func NameEngNEQ

func NameEngNEQ(v string) predicate.Organization

NameEngNEQ applies the NEQ predicate on the "name_eng" field.

func NameEngNotIn

func NameEngNotIn(vs ...string) predicate.Organization

NameEngNotIn applies the NotIn predicate on the "name_eng" field.

func NameEngNotNil

func NameEngNotNil() predicate.Organization

NameEngNotNil applies the NotNil predicate on the "name_eng" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Organization) predicate.Organization

Or groups predicates with the OR operator between them.

func PublicID

func PublicID(v string) predicate.Organization

PublicID applies equality check predicate on the "public_id" field. It's identical to PublicIDEQ.

func PublicIDContains

func PublicIDContains(v string) predicate.Organization

PublicIDContains applies the Contains predicate on the "public_id" field.

func PublicIDContainsFold

func PublicIDContainsFold(v string) predicate.Organization

PublicIDContainsFold applies the ContainsFold predicate on the "public_id" field.

func PublicIDEQ

func PublicIDEQ(v string) predicate.Organization

PublicIDEQ applies the EQ predicate on the "public_id" field.

func PublicIDEqualFold

func PublicIDEqualFold(v string) predicate.Organization

PublicIDEqualFold applies the EqualFold predicate on the "public_id" field.

func PublicIDGT

func PublicIDGT(v string) predicate.Organization

PublicIDGT applies the GT predicate on the "public_id" field.

func PublicIDGTE

func PublicIDGTE(v string) predicate.Organization

PublicIDGTE applies the GTE predicate on the "public_id" field.

func PublicIDHasPrefix

func PublicIDHasPrefix(v string) predicate.Organization

PublicIDHasPrefix applies the HasPrefix predicate on the "public_id" field.

func PublicIDHasSuffix

func PublicIDHasSuffix(v string) predicate.Organization

PublicIDHasSuffix applies the HasSuffix predicate on the "public_id" field.

func PublicIDIn

func PublicIDIn(vs ...string) predicate.Organization

PublicIDIn applies the In predicate on the "public_id" field.

func PublicIDLT

func PublicIDLT(v string) predicate.Organization

PublicIDLT applies the LT predicate on the "public_id" field.

func PublicIDLTE

func PublicIDLTE(v string) predicate.Organization

PublicIDLTE applies the LTE predicate on the "public_id" field.

func PublicIDNEQ

func PublicIDNEQ(v string) predicate.Organization

PublicIDNEQ applies the NEQ predicate on the "public_id" field.

func PublicIDNotIn

func PublicIDNotIn(vs ...string) predicate.Organization

PublicIDNotIn applies the NotIn predicate on the "public_id" field.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Organization

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Organization

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Organization

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Organization

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Organization

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Organization

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Organization

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Organization

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Organization

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Organization

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Organization

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Organization

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Organization

TypeNotIn applies the NotIn predicate on the "type" 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 Organization queries.

func ByAcronym

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

ByAcronym orders the results by the acronym field.

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 ByID

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

ByID orders the results by the id field.

func ByNameDut

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

ByNameDut orders the results by the name_dut field.

func ByNameEng

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

ByNameEng orders the results by the name_eng field.

func ByPublicID

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

ByPublicID orders the results by the public_id field.

func ByType

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

ByType orders the results by the type field.

Jump to

Keyboard shortcuts

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