Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Export) predicate.Export
- func CreatedAt(v time.Time) predicate.Export
- func CreatedAtEQ(v time.Time) predicate.Export
- func CreatedAtGT(v time.Time) predicate.Export
- func CreatedAtGTE(v time.Time) predicate.Export
- func CreatedAtIn(vs ...time.Time) predicate.Export
- func CreatedAtIsNil() predicate.Export
- func CreatedAtLT(v time.Time) predicate.Export
- func CreatedAtLTE(v time.Time) predicate.Export
- func CreatedAtNEQ(v time.Time) predicate.Export
- func CreatedAtNotIn(vs ...time.Time) predicate.Export
- func CreatedAtNotNil() predicate.Export
- func CreatedBy(v string) predicate.Export
- func CreatedByContains(v string) predicate.Export
- func CreatedByContainsFold(v string) predicate.Export
- func CreatedByEQ(v string) predicate.Export
- func CreatedByEqualFold(v string) predicate.Export
- func CreatedByGT(v string) predicate.Export
- func CreatedByGTE(v string) predicate.Export
- func CreatedByHasPrefix(v string) predicate.Export
- func CreatedByHasSuffix(v string) predicate.Export
- func CreatedByIn(vs ...string) predicate.Export
- func CreatedByIsNil() predicate.Export
- func CreatedByLT(v string) predicate.Export
- func CreatedByLTE(v string) predicate.Export
- func CreatedByNEQ(v string) predicate.Export
- func CreatedByNotIn(vs ...string) predicate.Export
- func CreatedByNotNil() predicate.Export
- func DeletedAt(v time.Time) predicate.Export
- func DeletedAtEQ(v time.Time) predicate.Export
- func DeletedAtGT(v time.Time) predicate.Export
- func DeletedAtGTE(v time.Time) predicate.Export
- func DeletedAtIn(vs ...time.Time) predicate.Export
- func DeletedAtIsNil() predicate.Export
- func DeletedAtLT(v time.Time) predicate.Export
- func DeletedAtLTE(v time.Time) predicate.Export
- func DeletedAtNEQ(v time.Time) predicate.Export
- func DeletedAtNotIn(vs ...time.Time) predicate.Export
- func DeletedAtNotNil() predicate.Export
- func DeletedBy(v string) predicate.Export
- func DeletedByContains(v string) predicate.Export
- func DeletedByContainsFold(v string) predicate.Export
- func DeletedByEQ(v string) predicate.Export
- func DeletedByEqualFold(v string) predicate.Export
- func DeletedByGT(v string) predicate.Export
- func DeletedByGTE(v string) predicate.Export
- func DeletedByHasPrefix(v string) predicate.Export
- func DeletedByHasSuffix(v string) predicate.Export
- func DeletedByIn(vs ...string) predicate.Export
- func DeletedByIsNil() predicate.Export
- func DeletedByLT(v string) predicate.Export
- func DeletedByLTE(v string) predicate.Export
- func DeletedByNEQ(v string) predicate.Export
- func DeletedByNotIn(vs ...string) predicate.Export
- func DeletedByNotNil() predicate.Export
- func ErrorMessage(v string) predicate.Export
- func ErrorMessageContains(v string) predicate.Export
- func ErrorMessageContainsFold(v string) predicate.Export
- func ErrorMessageEQ(v string) predicate.Export
- func ErrorMessageEqualFold(v string) predicate.Export
- func ErrorMessageGT(v string) predicate.Export
- func ErrorMessageGTE(v string) predicate.Export
- func ErrorMessageHasPrefix(v string) predicate.Export
- func ErrorMessageHasSuffix(v string) predicate.Export
- func ErrorMessageIn(vs ...string) predicate.Export
- func ErrorMessageIsNil() predicate.Export
- func ErrorMessageLT(v string) predicate.Export
- func ErrorMessageLTE(v string) predicate.Export
- func ErrorMessageNEQ(v string) predicate.Export
- func ErrorMessageNotIn(vs ...string) predicate.Export
- func ErrorMessageNotNil() predicate.Export
- func ExportTypeEQ(v enums.ExportType) predicate.Export
- func ExportTypeIn(vs ...enums.ExportType) predicate.Export
- func ExportTypeNEQ(v enums.ExportType) predicate.Export
- func ExportTypeNotIn(vs ...enums.ExportType) predicate.Export
- func ExportTypeValidator(et enums.ExportType) error
- func FieldsIsNil() predicate.Export
- func FieldsNotNil() predicate.Export
- func Filters(v string) predicate.Export
- func FiltersContains(v string) predicate.Export
- func FiltersContainsFold(v string) predicate.Export
- func FiltersEQ(v string) predicate.Export
- func FiltersEqualFold(v string) predicate.Export
- func FiltersGT(v string) predicate.Export
- func FiltersGTE(v string) predicate.Export
- func FiltersHasPrefix(v string) predicate.Export
- func FiltersHasSuffix(v string) predicate.Export
- func FiltersIn(vs ...string) predicate.Export
- func FiltersIsNil() predicate.Export
- func FiltersLT(v string) predicate.Export
- func FiltersLTE(v string) predicate.Export
- func FiltersNEQ(v string) predicate.Export
- func FiltersNotIn(vs ...string) predicate.Export
- func FiltersNotNil() predicate.Export
- func FormatEQ(v enums.ExportFormat) predicate.Export
- func FormatIn(vs ...enums.ExportFormat) predicate.Export
- func FormatNEQ(v enums.ExportFormat) predicate.Export
- func FormatNotIn(vs ...enums.ExportFormat) predicate.Export
- func FormatValidator(f enums.ExportFormat) error
- func HasEvents() predicate.Export
- func HasEventsWith(preds ...predicate.Event) predicate.Export
- func HasFiles() predicate.Export
- func HasFilesWith(preds ...predicate.File) predicate.Export
- func HasOwner() predicate.Export
- func HasOwnerWith(preds ...predicate.Organization) predicate.Export
- func ID(id string) predicate.Export
- func IDContainsFold(id string) predicate.Export
- func IDEQ(id string) predicate.Export
- func IDEqualFold(id string) predicate.Export
- func IDGT(id string) predicate.Export
- func IDGTE(id string) predicate.Export
- func IDIn(ids ...string) predicate.Export
- func IDLT(id string) predicate.Export
- func IDLTE(id string) predicate.Export
- func IDNEQ(id string) predicate.Export
- func IDNotIn(ids ...string) predicate.Export
- func Not(p predicate.Export) predicate.Export
- func Or(predicates ...predicate.Export) predicate.Export
- func OwnerID(v string) predicate.Export
- func OwnerIDContains(v string) predicate.Export
- func OwnerIDContainsFold(v string) predicate.Export
- func OwnerIDEQ(v string) predicate.Export
- func OwnerIDEqualFold(v string) predicate.Export
- func OwnerIDGT(v string) predicate.Export
- func OwnerIDGTE(v string) predicate.Export
- func OwnerIDHasPrefix(v string) predicate.Export
- func OwnerIDHasSuffix(v string) predicate.Export
- func OwnerIDIn(vs ...string) predicate.Export
- func OwnerIDIsNil() predicate.Export
- func OwnerIDLT(v string) predicate.Export
- func OwnerIDLTE(v string) predicate.Export
- func OwnerIDNEQ(v string) predicate.Export
- func OwnerIDNotIn(vs ...string) predicate.Export
- func OwnerIDNotNil() predicate.Export
- func RequestorID(v string) predicate.Export
- func RequestorIDContains(v string) predicate.Export
- func RequestorIDContainsFold(v string) predicate.Export
- func RequestorIDEQ(v string) predicate.Export
- func RequestorIDEqualFold(v string) predicate.Export
- func RequestorIDGT(v string) predicate.Export
- func RequestorIDGTE(v string) predicate.Export
- func RequestorIDHasPrefix(v string) predicate.Export
- func RequestorIDHasSuffix(v string) predicate.Export
- func RequestorIDIn(vs ...string) predicate.Export
- func RequestorIDIsNil() predicate.Export
- func RequestorIDLT(v string) predicate.Export
- func RequestorIDLTE(v string) predicate.Export
- func RequestorIDNEQ(v string) predicate.Export
- func RequestorIDNotIn(vs ...string) predicate.Export
- func RequestorIDNotNil() predicate.Export
- func StatusEQ(v enums.ExportStatus) predicate.Export
- func StatusIn(vs ...enums.ExportStatus) predicate.Export
- func StatusNEQ(v enums.ExportStatus) predicate.Export
- func StatusNotIn(vs ...enums.ExportStatus) predicate.Export
- func StatusValidator(s enums.ExportStatus) error
- func UpdatedAt(v time.Time) predicate.Export
- func UpdatedAtEQ(v time.Time) predicate.Export
- func UpdatedAtGT(v time.Time) predicate.Export
- func UpdatedAtGTE(v time.Time) predicate.Export
- func UpdatedAtIn(vs ...time.Time) predicate.Export
- func UpdatedAtIsNil() predicate.Export
- func UpdatedAtLT(v time.Time) predicate.Export
- func UpdatedAtLTE(v time.Time) predicate.Export
- func UpdatedAtNEQ(v time.Time) predicate.Export
- func UpdatedAtNotIn(vs ...time.Time) predicate.Export
- func UpdatedAtNotNil() predicate.Export
- func UpdatedBy(v string) predicate.Export
- func UpdatedByContains(v string) predicate.Export
- func UpdatedByContainsFold(v string) predicate.Export
- func UpdatedByEQ(v string) predicate.Export
- func UpdatedByEqualFold(v string) predicate.Export
- func UpdatedByGT(v string) predicate.Export
- func UpdatedByGTE(v string) predicate.Export
- func UpdatedByHasPrefix(v string) predicate.Export
- func UpdatedByHasSuffix(v string) predicate.Export
- func UpdatedByIn(vs ...string) predicate.Export
- func UpdatedByIsNil() predicate.Export
- func UpdatedByLT(v string) predicate.Export
- func UpdatedByLTE(v string) predicate.Export
- func UpdatedByNEQ(v string) predicate.Export
- func UpdatedByNotIn(vs ...string) predicate.Export
- func UpdatedByNotNil() predicate.Export
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByExportType(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByFilters(opts ...sql.OrderTermOption) OrderOption
- func ByFormat(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRequestorID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" )
const DefaultFormat enums.ExportFormat = "CSV"
const DefaultStatus enums.ExportStatus = "PENDING"
Variables ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldExportType, FieldFormat, FieldStatus, FieldRequestorID, FieldFields, FieldFilters, FieldErrorMessage, }
Columns holds all SQL columns for export fields.
Functions ¶
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 ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" 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 ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func ErrorMessage ¶ added in v0.23.8
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶ added in v0.23.8
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶ added in v0.23.8
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶ added in v0.23.8
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶ added in v0.23.8
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶ added in v0.23.8
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶ added in v0.23.8
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶ added in v0.23.8
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶ added in v0.23.8
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶ added in v0.23.8
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶ added in v0.23.8
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶ added in v0.23.8
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶ added in v0.23.8
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶ added in v0.23.8
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶ added in v0.23.8
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶ added in v0.23.8
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
FieldsIsNil applies the IsNil predicate on the "fields" field.
func FieldsNotNil ¶ added in v0.23.0
FieldsNotNil applies the NotNil predicate on the "fields" field.
func Filters ¶ added in v0.23.8
Filters applies equality check predicate on the "filters" field. It's identical to FiltersEQ.
func FiltersContains ¶ added in v0.23.8
FiltersContains applies the Contains predicate on the "filters" field.
func FiltersContainsFold ¶ added in v0.23.8
FiltersContainsFold applies the ContainsFold predicate on the "filters" field.
func FiltersEqualFold ¶ added in v0.23.8
FiltersEqualFold applies the EqualFold predicate on the "filters" field.
func FiltersGTE ¶ added in v0.23.8
FiltersGTE applies the GTE predicate on the "filters" field.
func FiltersHasPrefix ¶ added in v0.23.8
FiltersHasPrefix applies the HasPrefix predicate on the "filters" field.
func FiltersHasSuffix ¶ added in v0.23.8
FiltersHasSuffix applies the HasSuffix predicate on the "filters" field.
func FiltersIsNil ¶ added in v0.23.8
FiltersIsNil applies the IsNil predicate on the "filters" field.
func FiltersLTE ¶ added in v0.23.8
FiltersLTE applies the LTE predicate on the "filters" field.
func FiltersNEQ ¶ added in v0.23.8
FiltersNEQ applies the NEQ predicate on the "filters" field.
func FiltersNotIn ¶ added in v0.23.8
FiltersNotIn applies the NotIn predicate on the "filters" field.
func FiltersNotNil ¶ added in v0.23.8
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 HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func RequestorID ¶
RequestorID applies equality check predicate on the "requestor_id" field. It's identical to RequestorIDEQ.
func RequestorIDContains ¶
RequestorIDContains applies the Contains predicate on the "requestor_id" field.
func RequestorIDContainsFold ¶
RequestorIDContainsFold applies the ContainsFold predicate on the "requestor_id" field.
func RequestorIDEQ ¶
RequestorIDEQ applies the EQ predicate on the "requestor_id" field.
func RequestorIDEqualFold ¶
RequestorIDEqualFold applies the EqualFold predicate on the "requestor_id" field.
func RequestorIDGT ¶
RequestorIDGT applies the GT predicate on the "requestor_id" field.
func RequestorIDGTE ¶
RequestorIDGTE applies the GTE predicate on the "requestor_id" field.
func RequestorIDHasPrefix ¶
RequestorIDHasPrefix applies the HasPrefix predicate on the "requestor_id" field.
func RequestorIDHasSuffix ¶
RequestorIDHasSuffix applies the HasSuffix predicate on the "requestor_id" field.
func RequestorIDIn ¶
RequestorIDIn applies the In predicate on the "requestor_id" field.
func RequestorIDIsNil ¶
RequestorIDIsNil applies the IsNil predicate on the "requestor_id" field.
func RequestorIDLT ¶
RequestorIDLT applies the LT predicate on the "requestor_id" field.
func RequestorIDLTE ¶
RequestorIDLTE applies the LTE predicate on the "requestor_id" field.
func RequestorIDNEQ ¶
RequestorIDNEQ applies the NEQ predicate on the "requestor_id" field.
func RequestorIDNotIn ¶
RequestorIDNotIn applies the NotIn predicate on the "requestor_id" field.
func RequestorIDNotNil ¶
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 ¶
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 ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.