resourcedomainbinding

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the resourcedomainbinding type in the database.
	Label = "resource_domain_binding"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedByID holds the string denoting the created_by_id field in the database.
	FieldCreatedByID = "created_by_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedByID holds the string denoting the updated_by_id field in the database.
	FieldUpdatedByID = "updated_by_id"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedByID holds the string denoting the deleted_by_id field in the database.
	FieldDeletedByID = "deleted_by_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldPublishedAt holds the string denoting the published_at field in the database.
	FieldPublishedAt = "published_at"
	// FieldArchivedAt holds the string denoting the archived_at field in the database.
	FieldArchivedAt = "archived_at"
	// FieldResourceType holds the string denoting the resource_type field in the database.
	FieldResourceType = "resource_type"
	// FieldResourceID holds the string denoting the resource_id field in the database.
	FieldResourceID = "resource_id"
	// FieldDomainID holds the string denoting the domain_id field in the database.
	FieldDomainID = "domain_id"
	// FieldAccessLevel holds the string denoting the access_level field in the database.
	FieldAccessLevel = "access_level"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeDomain holds the string denoting the domain edge name in mutations.
	EdgeDomain = "domain"
	// Table holds the table name of the resourcedomainbinding in the database.
	Table = "resource_domain_bindings"
	// DomainTable is the table that holds the domain relation/edge.
	DomainTable = "resource_domain_bindings"
	// DomainInverseTable is the table name for the Domain entity.
	// It exists in this package in order to avoid circular dependency with the "domain" package.
	DomainInverseTable = "domains"
	// DomainColumn is the table column denoting the domain relation/edge.
	DomainColumn = "domain_id"
)
View Source
const DefaultAccessLevel = AccessLevelRead

AccessLevelRead is the default value of the AccessLevel enum.

View Source
const DefaultStatus = StatusActive

StatusActive is the default value of the Status enum.

Variables

View Source
var (
	// 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
	// ResourceTypeValidator is a validator for the "resource_type" field. It is called by the builders before save.
	ResourceTypeValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for resourcedomainbinding fields.

Functions

func AccessLevelEQ

AccessLevelEQ applies the EQ predicate on the "access_level" field.

func AccessLevelIn

func AccessLevelIn(vs ...AccessLevel) predicate.ResourceDomainBinding

AccessLevelIn applies the In predicate on the "access_level" field.

func AccessLevelNEQ

AccessLevelNEQ applies the NEQ predicate on the "access_level" field.

func AccessLevelNotIn

func AccessLevelNotIn(vs ...AccessLevel) predicate.ResourceDomainBinding

AccessLevelNotIn applies the NotIn predicate on the "access_level" field.

func AccessLevelValidator

func AccessLevelValidator(al AccessLevel) error

AccessLevelValidator is a validator for the "access_level" field enum values. It is called by the builders before save.

func And

And groups predicates with the AND operator between them.

func ArchivedAt

ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.

func ArchivedAtEQ

func ArchivedAtEQ(v time.Time) predicate.ResourceDomainBinding

ArchivedAtEQ applies the EQ predicate on the "archived_at" field.

func ArchivedAtGT

func ArchivedAtGT(v time.Time) predicate.ResourceDomainBinding

ArchivedAtGT applies the GT predicate on the "archived_at" field.

func ArchivedAtGTE

func ArchivedAtGTE(v time.Time) predicate.ResourceDomainBinding

ArchivedAtGTE applies the GTE predicate on the "archived_at" field.

func ArchivedAtIn

func ArchivedAtIn(vs ...time.Time) predicate.ResourceDomainBinding

ArchivedAtIn applies the In predicate on the "archived_at" field.

func ArchivedAtIsNil

func ArchivedAtIsNil() predicate.ResourceDomainBinding

ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.

func ArchivedAtLT

func ArchivedAtLT(v time.Time) predicate.ResourceDomainBinding

ArchivedAtLT applies the LT predicate on the "archived_at" field.

func ArchivedAtLTE

func ArchivedAtLTE(v time.Time) predicate.ResourceDomainBinding

ArchivedAtLTE applies the LTE predicate on the "archived_at" field.

func ArchivedAtNEQ

func ArchivedAtNEQ(v time.Time) predicate.ResourceDomainBinding

ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.

func ArchivedAtNotIn

func ArchivedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding

ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.

func ArchivedAtNotNil

func ArchivedAtNotNil() predicate.ResourceDomainBinding

ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ResourceDomainBinding

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ResourceDomainBinding

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ResourceDomainBinding

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ResourceDomainBinding

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ResourceDomainBinding

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedByID

CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.

func CreatedByIDEQ

func CreatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.

func CreatedByIDGT

func CreatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDGT applies the GT predicate on the "created_by_id" field.

func CreatedByIDGTE

func CreatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.

func CreatedByIDIn

func CreatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDIn applies the In predicate on the "created_by_id" field.

func CreatedByIDIsNil

func CreatedByIDIsNil() predicate.ResourceDomainBinding

CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.

func CreatedByIDLT

func CreatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDLT applies the LT predicate on the "created_by_id" field.

func CreatedByIDLTE

func CreatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.

func CreatedByIDNEQ

func CreatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.

func CreatedByIDNotIn

func CreatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.

func CreatedByIDNotNil

func CreatedByIDNotNil() predicate.ResourceDomainBinding

CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ResourceDomainBinding

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.ResourceDomainBinding

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ResourceDomainBinding

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ResourceDomainBinding

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ResourceDomainBinding

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ResourceDomainBinding

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedByID

DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.

func DeletedByIDEQ

func DeletedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.

func DeletedByIDGT

func DeletedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.

func DeletedByIDGTE

func DeletedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.

func DeletedByIDIn

func DeletedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDIn applies the In predicate on the "deleted_by_id" field.

func DeletedByIDIsNil

func DeletedByIDIsNil() predicate.ResourceDomainBinding

DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.

func DeletedByIDLT

func DeletedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.

func DeletedByIDLTE

func DeletedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.

func DeletedByIDNEQ

func DeletedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.

func DeletedByIDNotIn

func DeletedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.

func DeletedByIDNotNil

func DeletedByIDNotNil() predicate.ResourceDomainBinding

DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.

func DomainID

DomainID applies equality check predicate on the "domain_id" field. It's identical to DomainIDEQ.

func DomainIDEQ

DomainIDEQ applies the EQ predicate on the "domain_id" field.

func DomainIDIn

func DomainIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

DomainIDIn applies the In predicate on the "domain_id" field.

func DomainIDNEQ

DomainIDNEQ applies the NEQ predicate on the "domain_id" field.

func DomainIDNotIn

func DomainIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

DomainIDNotIn applies the NotIn predicate on the "domain_id" field.

func HasDomain

func HasDomain() predicate.ResourceDomainBinding

HasDomain applies the HasEdge predicate on the "domain" edge.

func HasDomainWith

func HasDomainWith(preds ...predicate.Domain) predicate.ResourceDomainBinding

HasDomainWith applies the HasEdge predicate on the "domain" edge with a given conditions (other predicates).

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

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 ...uuid.UUID) predicate.ResourceDomainBinding

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 PublishedAt

PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.

func PublishedAtEQ

func PublishedAtEQ(v time.Time) predicate.ResourceDomainBinding

PublishedAtEQ applies the EQ predicate on the "published_at" field.

func PublishedAtGT

func PublishedAtGT(v time.Time) predicate.ResourceDomainBinding

PublishedAtGT applies the GT predicate on the "published_at" field.

func PublishedAtGTE

func PublishedAtGTE(v time.Time) predicate.ResourceDomainBinding

PublishedAtGTE applies the GTE predicate on the "published_at" field.

func PublishedAtIn

func PublishedAtIn(vs ...time.Time) predicate.ResourceDomainBinding

PublishedAtIn applies the In predicate on the "published_at" field.

func PublishedAtIsNil

func PublishedAtIsNil() predicate.ResourceDomainBinding

PublishedAtIsNil applies the IsNil predicate on the "published_at" field.

func PublishedAtLT

func PublishedAtLT(v time.Time) predicate.ResourceDomainBinding

PublishedAtLT applies the LT predicate on the "published_at" field.

func PublishedAtLTE

func PublishedAtLTE(v time.Time) predicate.ResourceDomainBinding

PublishedAtLTE applies the LTE predicate on the "published_at" field.

func PublishedAtNEQ

func PublishedAtNEQ(v time.Time) predicate.ResourceDomainBinding

PublishedAtNEQ applies the NEQ predicate on the "published_at" field.

func PublishedAtNotIn

func PublishedAtNotIn(vs ...time.Time) predicate.ResourceDomainBinding

PublishedAtNotIn applies the NotIn predicate on the "published_at" field.

func PublishedAtNotNil

func PublishedAtNotNil() predicate.ResourceDomainBinding

PublishedAtNotNil applies the NotNil predicate on the "published_at" field.

func ResourceID

ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.

func ResourceIDEQ

func ResourceIDEQ(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDEQ applies the EQ predicate on the "resource_id" field.

func ResourceIDGT

func ResourceIDGT(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDGT applies the GT predicate on the "resource_id" field.

func ResourceIDGTE

func ResourceIDGTE(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDGTE applies the GTE predicate on the "resource_id" field.

func ResourceIDIn

func ResourceIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

ResourceIDIn applies the In predicate on the "resource_id" field.

func ResourceIDLT

func ResourceIDLT(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDLT applies the LT predicate on the "resource_id" field.

func ResourceIDLTE

func ResourceIDLTE(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDLTE applies the LTE predicate on the "resource_id" field.

func ResourceIDNEQ

func ResourceIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding

ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.

func ResourceIDNotIn

func ResourceIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.

func ResourceType

func ResourceType(v string) predicate.ResourceDomainBinding

ResourceType applies equality check predicate on the "resource_type" field. It's identical to ResourceTypeEQ.

func ResourceTypeContains

func ResourceTypeContains(v string) predicate.ResourceDomainBinding

ResourceTypeContains applies the Contains predicate on the "resource_type" field.

func ResourceTypeContainsFold

func ResourceTypeContainsFold(v string) predicate.ResourceDomainBinding

ResourceTypeContainsFold applies the ContainsFold predicate on the "resource_type" field.

func ResourceTypeEQ

func ResourceTypeEQ(v string) predicate.ResourceDomainBinding

ResourceTypeEQ applies the EQ predicate on the "resource_type" field.

func ResourceTypeEqualFold

func ResourceTypeEqualFold(v string) predicate.ResourceDomainBinding

ResourceTypeEqualFold applies the EqualFold predicate on the "resource_type" field.

func ResourceTypeGT

func ResourceTypeGT(v string) predicate.ResourceDomainBinding

ResourceTypeGT applies the GT predicate on the "resource_type" field.

func ResourceTypeGTE

func ResourceTypeGTE(v string) predicate.ResourceDomainBinding

ResourceTypeGTE applies the GTE predicate on the "resource_type" field.

func ResourceTypeHasPrefix

func ResourceTypeHasPrefix(v string) predicate.ResourceDomainBinding

ResourceTypeHasPrefix applies the HasPrefix predicate on the "resource_type" field.

func ResourceTypeHasSuffix

func ResourceTypeHasSuffix(v string) predicate.ResourceDomainBinding

ResourceTypeHasSuffix applies the HasSuffix predicate on the "resource_type" field.

func ResourceTypeIn

func ResourceTypeIn(vs ...string) predicate.ResourceDomainBinding

ResourceTypeIn applies the In predicate on the "resource_type" field.

func ResourceTypeLT

func ResourceTypeLT(v string) predicate.ResourceDomainBinding

ResourceTypeLT applies the LT predicate on the "resource_type" field.

func ResourceTypeLTE

func ResourceTypeLTE(v string) predicate.ResourceDomainBinding

ResourceTypeLTE applies the LTE predicate on the "resource_type" field.

func ResourceTypeNEQ

func ResourceTypeNEQ(v string) predicate.ResourceDomainBinding

ResourceTypeNEQ applies the NEQ predicate on the "resource_type" field.

func ResourceTypeNotIn

func ResourceTypeNotIn(vs ...string) predicate.ResourceDomainBinding

ResourceTypeNotIn applies the NotIn predicate on the "resource_type" field.

func StatusEQ

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

func StatusIn

func StatusIn(vs ...Status) predicate.ResourceDomainBinding

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

func StatusNEQ

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

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.ResourceDomainBinding

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

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ResourceDomainBinding

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ResourceDomainBinding

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ResourceDomainBinding

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ResourceDomainBinding

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ResourceDomainBinding

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedByID

UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.

func UpdatedByIDEQ

func UpdatedByIDEQ(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.

func UpdatedByIDGT

func UpdatedByIDGT(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.

func UpdatedByIDGTE

func UpdatedByIDGTE(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.

func UpdatedByIDIn

func UpdatedByIDIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDIn applies the In predicate on the "updated_by_id" field.

func UpdatedByIDIsNil

func UpdatedByIDIsNil() predicate.ResourceDomainBinding

UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.

func UpdatedByIDLT

func UpdatedByIDLT(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.

func UpdatedByIDLTE

func UpdatedByIDLTE(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.

func UpdatedByIDNEQ

func UpdatedByIDNEQ(v uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.

func UpdatedByIDNotIn

func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.ResourceDomainBinding

UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.

func UpdatedByIDNotNil

func UpdatedByIDNotNil() predicate.ResourceDomainBinding

UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type AccessLevel

type AccessLevel string

AccessLevel defines the type for the "access_level" enum field.

const (
	AccessLevelRead   AccessLevel = "read"
	AccessLevelFork   AccessLevel = "fork"
	AccessLevelSync   AccessLevel = "sync"
	AccessLevelManage AccessLevel = "manage"
)

AccessLevel values.

func (AccessLevel) String

func (al AccessLevel) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ResourceDomainBinding queries.

func ByAccessLevel

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

ByAccessLevel orders the results by the access_level field.

func ByArchivedAt

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

ByArchivedAt orders the results by the archived_at field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedByID

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

ByCreatedByID orders the results by the created_by_id field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedByID

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

ByDeletedByID orders the results by the deleted_by_id field.

func ByDomainField

func ByDomainField(field string, opts ...sql.OrderTermOption) OrderOption

ByDomainField orders the results by domain field.

func ByDomainID

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

ByDomainID orders the results by the domain_id field.

func ByID

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

ByID orders the results by the id field.

func ByPublishedAt

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

ByPublishedAt orders the results by the published_at field.

func ByResourceID

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

ByResourceID orders the results by the resource_id field.

func ByResourceType

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

ByResourceType orders the results by the resource_type field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedByID

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

ByUpdatedByID orders the results by the updated_by_id field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusActive   Status = "active"
	StatusInactive Status = "inactive"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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