export

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the export type in the database.
	Label = "export"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldExportType holds the string denoting the export_type field in the database.
	FieldExportType = "export_type"
	// FieldFormat holds the string denoting the format field in the database.
	FieldFormat = "format"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldRequestorID holds the string denoting the requestor_id field in the database.
	FieldRequestorID = "requestor_id"
	// FieldFields holds the string denoting the fields field in the database.
	FieldFields = "fields"
	// FieldFilters holds the string denoting the filters field in the database.
	FieldFilters = "filters"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "files"
	// Table holds the table name of the export in the database.
	Table = "exports"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "exports"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "export_events"
	// FilesTable is the table that holds the files relation/edge.
	FilesTable = "files"
	// FilesInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	FilesInverseTable = "files"
	// FilesColumn is the table column denoting the files relation/edge.
	FilesColumn = "export_files"
)
View Source
const DefaultFormat enums.ExportFormat = "CSV"
View Source
const DefaultStatus enums.ExportStatus = "PENDING"

Variables

View Source
var (
	Hooks        [6]ent.Hook
	Interceptors [2]ent.Interceptor
	Policy       ent.Policy
	// 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
	// RequestorIDValidator is a validator for the "requestor_id" field. It is called by the builders before save.
	RequestorIDValidator func(string) error
	// DefaultFields holds the default value on creation for the "fields" field.
	DefaultFields []string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for export fields.

Functions

func And

func And(predicates ...predicate.Export) predicate.Export

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Export

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Export

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Export

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Export

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Export

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Export

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Export

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Export

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Export

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

func CreatedBy

func CreatedBy(v string) predicate.Export

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

func CreatedByContains

func CreatedByContains(v string) predicate.Export

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Export

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Export

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Export

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

func CreatedByGT

func CreatedByGT(v string) predicate.Export

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Export

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Export

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Export

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Export

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

func CreatedByLT

func CreatedByLT(v string) predicate.Export

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Export

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Export

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Export

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Export

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Export

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Export

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Export

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Export

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Export

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Export

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Export

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Export

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

func DeletedBy

func DeletedBy(v string) predicate.Export

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Export

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Export

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Export

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Export

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Export

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Export

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Export

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Export

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Export

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Export

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Export

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Export

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Export

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Export

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Export

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func ErrorMessage added in v0.23.8

func ErrorMessage(v string) predicate.Export

ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.

func ErrorMessageContains added in v0.23.8

func ErrorMessageContains(v string) predicate.Export

ErrorMessageContains applies the Contains predicate on the "error_message" field.

func ErrorMessageContainsFold added in v0.23.8

func ErrorMessageContainsFold(v string) predicate.Export

ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.

func ErrorMessageEQ added in v0.23.8

func ErrorMessageEQ(v string) predicate.Export

ErrorMessageEQ applies the EQ predicate on the "error_message" field.

func ErrorMessageEqualFold added in v0.23.8

func ErrorMessageEqualFold(v string) predicate.Export

ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.

func ErrorMessageGT added in v0.23.8

func ErrorMessageGT(v string) predicate.Export

ErrorMessageGT applies the GT predicate on the "error_message" field.

func ErrorMessageGTE added in v0.23.8

func ErrorMessageGTE(v string) predicate.Export

ErrorMessageGTE applies the GTE predicate on the "error_message" field.

func ErrorMessageHasPrefix added in v0.23.8

func ErrorMessageHasPrefix(v string) predicate.Export

ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.

func ErrorMessageHasSuffix added in v0.23.8

func ErrorMessageHasSuffix(v string) predicate.Export

ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.

func ErrorMessageIn added in v0.23.8

func ErrorMessageIn(vs ...string) predicate.Export

ErrorMessageIn applies the In predicate on the "error_message" field.

func ErrorMessageIsNil added in v0.23.8

func ErrorMessageIsNil() predicate.Export

ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.

func ErrorMessageLT added in v0.23.8

func ErrorMessageLT(v string) predicate.Export

ErrorMessageLT applies the LT predicate on the "error_message" field.

func ErrorMessageLTE added in v0.23.8

func ErrorMessageLTE(v string) predicate.Export

ErrorMessageLTE applies the LTE predicate on the "error_message" field.

func ErrorMessageNEQ added in v0.23.8

func ErrorMessageNEQ(v string) predicate.Export

ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.

func ErrorMessageNotIn added in v0.23.8

func ErrorMessageNotIn(vs ...string) predicate.Export

ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.

func ErrorMessageNotNil added in v0.23.8

func ErrorMessageNotNil() predicate.Export

ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.

func ExportTypeEQ

func ExportTypeEQ(v enums.ExportType) predicate.Export

ExportTypeEQ applies the EQ predicate on the "export_type" field.

func ExportTypeIn

func ExportTypeIn(vs ...enums.ExportType) predicate.Export

ExportTypeIn applies the In predicate on the "export_type" field.

func ExportTypeNEQ

func ExportTypeNEQ(v enums.ExportType) predicate.Export

ExportTypeNEQ applies the NEQ predicate on the "export_type" field.

func ExportTypeNotIn

func ExportTypeNotIn(vs ...enums.ExportType) predicate.Export

ExportTypeNotIn applies the NotIn predicate on the "export_type" field.

func ExportTypeValidator

func ExportTypeValidator(et enums.ExportType) error

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

func FieldsIsNil added in v0.23.0

func FieldsIsNil() predicate.Export

FieldsIsNil applies the IsNil predicate on the "fields" field.

func FieldsNotNil added in v0.23.0

func FieldsNotNil() predicate.Export

FieldsNotNil applies the NotNil predicate on the "fields" field.

func Filters added in v0.23.8

func Filters(v string) predicate.Export

Filters applies equality check predicate on the "filters" field. It's identical to FiltersEQ.

func FiltersContains added in v0.23.8

func FiltersContains(v string) predicate.Export

FiltersContains applies the Contains predicate on the "filters" field.

func FiltersContainsFold added in v0.23.8

func FiltersContainsFold(v string) predicate.Export

FiltersContainsFold applies the ContainsFold predicate on the "filters" field.

func FiltersEQ added in v0.23.8

func FiltersEQ(v string) predicate.Export

FiltersEQ applies the EQ predicate on the "filters" field.

func FiltersEqualFold added in v0.23.8

func FiltersEqualFold(v string) predicate.Export

FiltersEqualFold applies the EqualFold predicate on the "filters" field.

func FiltersGT added in v0.23.8

func FiltersGT(v string) predicate.Export

FiltersGT applies the GT predicate on the "filters" field.

func FiltersGTE added in v0.23.8

func FiltersGTE(v string) predicate.Export

FiltersGTE applies the GTE predicate on the "filters" field.

func FiltersHasPrefix added in v0.23.8

func FiltersHasPrefix(v string) predicate.Export

FiltersHasPrefix applies the HasPrefix predicate on the "filters" field.

func FiltersHasSuffix added in v0.23.8

func FiltersHasSuffix(v string) predicate.Export

FiltersHasSuffix applies the HasSuffix predicate on the "filters" field.

func FiltersIn added in v0.23.8

func FiltersIn(vs ...string) predicate.Export

FiltersIn applies the In predicate on the "filters" field.

func FiltersIsNil added in v0.23.8

func FiltersIsNil() predicate.Export

FiltersIsNil applies the IsNil predicate on the "filters" field.

func FiltersLT added in v0.23.8

func FiltersLT(v string) predicate.Export

FiltersLT applies the LT predicate on the "filters" field.

func FiltersLTE added in v0.23.8

func FiltersLTE(v string) predicate.Export

FiltersLTE applies the LTE predicate on the "filters" field.

func FiltersNEQ added in v0.23.8

func FiltersNEQ(v string) predicate.Export

FiltersNEQ applies the NEQ predicate on the "filters" field.

func FiltersNotIn added in v0.23.8

func FiltersNotIn(vs ...string) predicate.Export

FiltersNotIn applies the NotIn predicate on the "filters" field.

func FiltersNotNil added in v0.23.8

func FiltersNotNil() predicate.Export

FiltersNotNil applies the NotNil predicate on the "filters" field.

func FormatEQ

func FormatEQ(v enums.ExportFormat) predicate.Export

FormatEQ applies the EQ predicate on the "format" field.

func FormatIn

func FormatIn(vs ...enums.ExportFormat) predicate.Export

FormatIn applies the In predicate on the "format" field.

func FormatNEQ

func FormatNEQ(v enums.ExportFormat) predicate.Export

FormatNEQ applies the NEQ predicate on the "format" field.

func FormatNotIn

func FormatNotIn(vs ...enums.ExportFormat) predicate.Export

FormatNotIn applies the NotIn predicate on the "format" field.

func FormatValidator

func FormatValidator(f enums.ExportFormat) error

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

func HasEvents

func HasEvents() predicate.Export

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Export

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

func HasFiles

func HasFiles() predicate.Export

HasFiles applies the HasEdge predicate on the "files" edge.

func HasFilesWith

func HasFilesWith(preds ...predicate.File) predicate.Export

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

func HasOwner

func HasOwner() predicate.Export

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.Export

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

func ID

func ID(id string) predicate.Export

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Export

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Export

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Export

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Export

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Export

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Export

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Export

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Export

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Export) predicate.Export

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Export

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.Export

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Export

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Export

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Export

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.Export

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Export

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Export

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Export

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.Export

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Export

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.Export

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Export

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Export

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.Export

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Export

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func RequestorID

func RequestorID(v string) predicate.Export

RequestorID applies equality check predicate on the "requestor_id" field. It's identical to RequestorIDEQ.

func RequestorIDContains

func RequestorIDContains(v string) predicate.Export

RequestorIDContains applies the Contains predicate on the "requestor_id" field.

func RequestorIDContainsFold

func RequestorIDContainsFold(v string) predicate.Export

RequestorIDContainsFold applies the ContainsFold predicate on the "requestor_id" field.

func RequestorIDEQ

func RequestorIDEQ(v string) predicate.Export

RequestorIDEQ applies the EQ predicate on the "requestor_id" field.

func RequestorIDEqualFold

func RequestorIDEqualFold(v string) predicate.Export

RequestorIDEqualFold applies the EqualFold predicate on the "requestor_id" field.

func RequestorIDGT

func RequestorIDGT(v string) predicate.Export

RequestorIDGT applies the GT predicate on the "requestor_id" field.

func RequestorIDGTE

func RequestorIDGTE(v string) predicate.Export

RequestorIDGTE applies the GTE predicate on the "requestor_id" field.

func RequestorIDHasPrefix

func RequestorIDHasPrefix(v string) predicate.Export

RequestorIDHasPrefix applies the HasPrefix predicate on the "requestor_id" field.

func RequestorIDHasSuffix

func RequestorIDHasSuffix(v string) predicate.Export

RequestorIDHasSuffix applies the HasSuffix predicate on the "requestor_id" field.

func RequestorIDIn

func RequestorIDIn(vs ...string) predicate.Export

RequestorIDIn applies the In predicate on the "requestor_id" field.

func RequestorIDIsNil

func RequestorIDIsNil() predicate.Export

RequestorIDIsNil applies the IsNil predicate on the "requestor_id" field.

func RequestorIDLT

func RequestorIDLT(v string) predicate.Export

RequestorIDLT applies the LT predicate on the "requestor_id" field.

func RequestorIDLTE

func RequestorIDLTE(v string) predicate.Export

RequestorIDLTE applies the LTE predicate on the "requestor_id" field.

func RequestorIDNEQ

func RequestorIDNEQ(v string) predicate.Export

RequestorIDNEQ applies the NEQ predicate on the "requestor_id" field.

func RequestorIDNotIn

func RequestorIDNotIn(vs ...string) predicate.Export

RequestorIDNotIn applies the NotIn predicate on the "requestor_id" field.

func RequestorIDNotNil

func RequestorIDNotNil() predicate.Export

RequestorIDNotNil applies the NotNil predicate on the "requestor_id" field.

func StatusEQ

func StatusEQ(v enums.ExportStatus) predicate.Export

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

func StatusIn

func StatusIn(vs ...enums.ExportStatus) predicate.Export

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

func StatusNEQ

func StatusNEQ(v enums.ExportStatus) predicate.Export

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

func StatusNotIn

func StatusNotIn(vs ...enums.ExportStatus) predicate.Export

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

func StatusValidator

func StatusValidator(s enums.ExportStatus) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Export

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Export

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Export

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Export

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Export

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Export

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Export

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Export

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Export

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

func UpdatedBy

func UpdatedBy(v string) predicate.Export

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Export

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Export

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Export

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Export

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Export

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Export

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Export

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Export

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Export

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Export

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Export

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Export

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Export

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 Export 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 ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByErrorMessage added in v0.23.8

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

ByErrorMessage orders the results by the error_message field.

func ByEvents

func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByExportType

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

ByExportType orders the results by the export_type field.

func ByFiles

func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByFiles orders the results by files terms.

func ByFilesCount

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

ByFilesCount orders the results by files count.

func ByFilters added in v0.23.8

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

ByFilters orders the results by the filters field.

func ByFormat

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

ByFormat orders the results by the format field.

func ByID

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

ByID orders the results by the id field.

func ByOwnerField

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

ByOwnerField orders the results by owner field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByRequestorID

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

ByRequestorID orders the results by the requestor_id 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 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