group

package
v1.0.52 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the group type in the database.
	Label = "group"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldEntityType holds the string denoting the entity_type field in the database.
	FieldEntityType = "entity_type"
	// FieldLookupKey holds the string denoting the lookup_key field in the database.
	FieldLookupKey = "lookup_key"
	// Table holds the table name of the group in the database.
	Table = "groups"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultEntityType holds the default value on creation for the "entity_type" field.
	DefaultEntityType string
)

Columns holds all SQL columns for group fields.

Functions

func And

func And(predicates ...predicate.Group) predicate.Group

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Group

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Group

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Group

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Group

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Group

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Group

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Group

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Group

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Group

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Group

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Group

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Group

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Group

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Group

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Group

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Group

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Group

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Group

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Group

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Group

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Group

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Group

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Group

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Group

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Group

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func EntityType

func EntityType(v string) predicate.Group

EntityType applies equality check predicate on the "entity_type" field. It's identical to EntityTypeEQ.

func EntityTypeContains

func EntityTypeContains(v string) predicate.Group

EntityTypeContains applies the Contains predicate on the "entity_type" field.

func EntityTypeContainsFold

func EntityTypeContainsFold(v string) predicate.Group

EntityTypeContainsFold applies the ContainsFold predicate on the "entity_type" field.

func EntityTypeEQ

func EntityTypeEQ(v string) predicate.Group

EntityTypeEQ applies the EQ predicate on the "entity_type" field.

func EntityTypeEqualFold

func EntityTypeEqualFold(v string) predicate.Group

EntityTypeEqualFold applies the EqualFold predicate on the "entity_type" field.

func EntityTypeGT

func EntityTypeGT(v string) predicate.Group

EntityTypeGT applies the GT predicate on the "entity_type" field.

func EntityTypeGTE

func EntityTypeGTE(v string) predicate.Group

EntityTypeGTE applies the GTE predicate on the "entity_type" field.

func EntityTypeHasPrefix

func EntityTypeHasPrefix(v string) predicate.Group

EntityTypeHasPrefix applies the HasPrefix predicate on the "entity_type" field.

func EntityTypeHasSuffix

func EntityTypeHasSuffix(v string) predicate.Group

EntityTypeHasSuffix applies the HasSuffix predicate on the "entity_type" field.

func EntityTypeIn

func EntityTypeIn(vs ...string) predicate.Group

EntityTypeIn applies the In predicate on the "entity_type" field.

func EntityTypeLT

func EntityTypeLT(v string) predicate.Group

EntityTypeLT applies the LT predicate on the "entity_type" field.

func EntityTypeLTE

func EntityTypeLTE(v string) predicate.Group

EntityTypeLTE applies the LTE predicate on the "entity_type" field.

func EntityTypeNEQ

func EntityTypeNEQ(v string) predicate.Group

EntityTypeNEQ applies the NEQ predicate on the "entity_type" field.

func EntityTypeNotIn

func EntityTypeNotIn(vs ...string) predicate.Group

EntityTypeNotIn applies the NotIn predicate on the "entity_type" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Group

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Group

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Group

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Group

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Group

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Group

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Group

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Group

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Group

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.Group

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Group

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Group

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Group

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Group

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.Group

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Group

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func ID

func ID(id string) predicate.Group

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Group

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Group

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Group

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Group

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Group

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Group

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Group

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Group

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Group

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Group

IDNotIn applies the NotIn predicate on the ID field.

func LookupKey

func LookupKey(v string) predicate.Group

LookupKey applies equality check predicate on the "lookup_key" field. It's identical to LookupKeyEQ.

func LookupKeyContains

func LookupKeyContains(v string) predicate.Group

LookupKeyContains applies the Contains predicate on the "lookup_key" field.

func LookupKeyContainsFold

func LookupKeyContainsFold(v string) predicate.Group

LookupKeyContainsFold applies the ContainsFold predicate on the "lookup_key" field.

func LookupKeyEQ

func LookupKeyEQ(v string) predicate.Group

LookupKeyEQ applies the EQ predicate on the "lookup_key" field.

func LookupKeyEqualFold

func LookupKeyEqualFold(v string) predicate.Group

LookupKeyEqualFold applies the EqualFold predicate on the "lookup_key" field.

func LookupKeyGT

func LookupKeyGT(v string) predicate.Group

LookupKeyGT applies the GT predicate on the "lookup_key" field.

func LookupKeyGTE

func LookupKeyGTE(v string) predicate.Group

LookupKeyGTE applies the GTE predicate on the "lookup_key" field.

func LookupKeyHasPrefix

func LookupKeyHasPrefix(v string) predicate.Group

LookupKeyHasPrefix applies the HasPrefix predicate on the "lookup_key" field.

func LookupKeyHasSuffix

func LookupKeyHasSuffix(v string) predicate.Group

LookupKeyHasSuffix applies the HasSuffix predicate on the "lookup_key" field.

func LookupKeyIn

func LookupKeyIn(vs ...string) predicate.Group

LookupKeyIn applies the In predicate on the "lookup_key" field.

func LookupKeyIsNil

func LookupKeyIsNil() predicate.Group

LookupKeyIsNil applies the IsNil predicate on the "lookup_key" field.

func LookupKeyLT

func LookupKeyLT(v string) predicate.Group

LookupKeyLT applies the LT predicate on the "lookup_key" field.

func LookupKeyLTE

func LookupKeyLTE(v string) predicate.Group

LookupKeyLTE applies the LTE predicate on the "lookup_key" field.

func LookupKeyNEQ

func LookupKeyNEQ(v string) predicate.Group

LookupKeyNEQ applies the NEQ predicate on the "lookup_key" field.

func LookupKeyNotIn

func LookupKeyNotIn(vs ...string) predicate.Group

LookupKeyNotIn applies the NotIn predicate on the "lookup_key" field.

func LookupKeyNotNil

func LookupKeyNotNil() predicate.Group

LookupKeyNotNil applies the NotNil predicate on the "lookup_key" field.

func MetadataIsNil

func MetadataIsNil() predicate.Group

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Group

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.Group

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Group

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Group

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Group

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Group

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Group

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Group

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Group

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Group

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Group

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Group

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Group

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Group

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Group

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Group) predicate.Group

Or groups predicates with the OR operator between them.

func Status

func Status(v string) predicate.Group

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Group

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Group

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Group

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Group

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Group

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Group

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Group

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Group

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Group

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Group

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Group

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Group

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Group

StatusNotIn applies the NotIn predicate on the "status" field.

func TenantID

func TenantID(v string) predicate.Group

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.Group

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Group

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.Group

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Group

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.Group

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.Group

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Group

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Group

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.Group

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.Group

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.Group

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Group

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.Group

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Group

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Group

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Group

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Group

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Group

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Group

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Group

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Group

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Group

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Group

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Group

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Group

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Group

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Group

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Group

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Group

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Group

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Group

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Group

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Group

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Group

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Group

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Group

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Group

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Group

UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 Group queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByEntityType

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

ByEntityType orders the results by the entity_type field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByID

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

ByID orders the results by the id field.

func ByLookupKey

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

ByLookupKey orders the results by the lookup_key field.

func ByName

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

ByName orders the results by the name field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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