Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TrustCenterDoc) predicate.TrustCenterDoc
- func CreatedAt(v time.Time) predicate.TrustCenterDoc
- func CreatedAtEQ(v time.Time) predicate.TrustCenterDoc
- func CreatedAtGT(v time.Time) predicate.TrustCenterDoc
- func CreatedAtGTE(v time.Time) predicate.TrustCenterDoc
- func CreatedAtIn(vs ...time.Time) predicate.TrustCenterDoc
- func CreatedAtIsNil() predicate.TrustCenterDoc
- func CreatedAtLT(v time.Time) predicate.TrustCenterDoc
- func CreatedAtLTE(v time.Time) predicate.TrustCenterDoc
- func CreatedAtNEQ(v time.Time) predicate.TrustCenterDoc
- func CreatedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
- func CreatedAtNotNil() predicate.TrustCenterDoc
- func CreatedBy(v string) predicate.TrustCenterDoc
- func CreatedByContains(v string) predicate.TrustCenterDoc
- func CreatedByContainsFold(v string) predicate.TrustCenterDoc
- func CreatedByEQ(v string) predicate.TrustCenterDoc
- func CreatedByEqualFold(v string) predicate.TrustCenterDoc
- func CreatedByGT(v string) predicate.TrustCenterDoc
- func CreatedByGTE(v string) predicate.TrustCenterDoc
- func CreatedByHasPrefix(v string) predicate.TrustCenterDoc
- func CreatedByHasSuffix(v string) predicate.TrustCenterDoc
- func CreatedByIn(vs ...string) predicate.TrustCenterDoc
- func CreatedByIsNil() predicate.TrustCenterDoc
- func CreatedByLT(v string) predicate.TrustCenterDoc
- func CreatedByLTE(v string) predicate.TrustCenterDoc
- func CreatedByNEQ(v string) predicate.TrustCenterDoc
- func CreatedByNotIn(vs ...string) predicate.TrustCenterDoc
- func CreatedByNotNil() predicate.TrustCenterDoc
- func DeletedAt(v time.Time) predicate.TrustCenterDoc
- func DeletedAtEQ(v time.Time) predicate.TrustCenterDoc
- func DeletedAtGT(v time.Time) predicate.TrustCenterDoc
- func DeletedAtGTE(v time.Time) predicate.TrustCenterDoc
- func DeletedAtIn(vs ...time.Time) predicate.TrustCenterDoc
- func DeletedAtIsNil() predicate.TrustCenterDoc
- func DeletedAtLT(v time.Time) predicate.TrustCenterDoc
- func DeletedAtLTE(v time.Time) predicate.TrustCenterDoc
- func DeletedAtNEQ(v time.Time) predicate.TrustCenterDoc
- func DeletedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
- func DeletedAtNotNil() predicate.TrustCenterDoc
- func DeletedBy(v string) predicate.TrustCenterDoc
- func DeletedByContains(v string) predicate.TrustCenterDoc
- func DeletedByContainsFold(v string) predicate.TrustCenterDoc
- func DeletedByEQ(v string) predicate.TrustCenterDoc
- func DeletedByEqualFold(v string) predicate.TrustCenterDoc
- func DeletedByGT(v string) predicate.TrustCenterDoc
- func DeletedByGTE(v string) predicate.TrustCenterDoc
- func DeletedByHasPrefix(v string) predicate.TrustCenterDoc
- func DeletedByHasSuffix(v string) predicate.TrustCenterDoc
- func DeletedByIn(vs ...string) predicate.TrustCenterDoc
- func DeletedByIsNil() predicate.TrustCenterDoc
- func DeletedByLT(v string) predicate.TrustCenterDoc
- func DeletedByLTE(v string) predicate.TrustCenterDoc
- func DeletedByNEQ(v string) predicate.TrustCenterDoc
- func DeletedByNotIn(vs ...string) predicate.TrustCenterDoc
- func DeletedByNotNil() predicate.TrustCenterDoc
- func FileID(v string) predicate.TrustCenterDoc
- func FileIDContains(v string) predicate.TrustCenterDoc
- func FileIDContainsFold(v string) predicate.TrustCenterDoc
- func FileIDEQ(v string) predicate.TrustCenterDoc
- func FileIDEqualFold(v string) predicate.TrustCenterDoc
- func FileIDGT(v string) predicate.TrustCenterDoc
- func FileIDGTE(v string) predicate.TrustCenterDoc
- func FileIDHasPrefix(v string) predicate.TrustCenterDoc
- func FileIDHasSuffix(v string) predicate.TrustCenterDoc
- func FileIDIn(vs ...string) predicate.TrustCenterDoc
- func FileIDIsNil() predicate.TrustCenterDoc
- func FileIDLT(v string) predicate.TrustCenterDoc
- func FileIDLTE(v string) predicate.TrustCenterDoc
- func FileIDNEQ(v string) predicate.TrustCenterDoc
- func FileIDNotIn(vs ...string) predicate.TrustCenterDoc
- func FileIDNotNil() predicate.TrustCenterDoc
- func HasBlockedGroups() predicate.TrustCenterDoc
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.TrustCenterDoc
- func HasEditors() predicate.TrustCenterDoc
- func HasEditorsWith(preds ...predicate.Group) predicate.TrustCenterDoc
- func HasFile() predicate.TrustCenterDoc
- func HasFileWith(preds ...predicate.File) predicate.TrustCenterDoc
- func HasOriginalFile() predicate.TrustCenterDoc
- func HasOriginalFileWith(preds ...predicate.File) predicate.TrustCenterDoc
- func HasStandard() predicate.TrustCenterDoc
- func HasStandardWith(preds ...predicate.Standard) predicate.TrustCenterDoc
- func HasTrustCenter() predicate.TrustCenterDoc
- func HasTrustCenterDocKind() predicate.TrustCenterDoc
- func HasTrustCenterDocKindWith(preds ...predicate.CustomTypeEnum) predicate.TrustCenterDoc
- func HasTrustCenterWith(preds ...predicate.TrustCenter) predicate.TrustCenterDoc
- func ID(id string) predicate.TrustCenterDoc
- func IDContainsFold(id string) predicate.TrustCenterDoc
- func IDEQ(id string) predicate.TrustCenterDoc
- func IDEqualFold(id string) predicate.TrustCenterDoc
- func IDGT(id string) predicate.TrustCenterDoc
- func IDGTE(id string) predicate.TrustCenterDoc
- func IDIn(ids ...string) predicate.TrustCenterDoc
- func IDLT(id string) predicate.TrustCenterDoc
- func IDLTE(id string) predicate.TrustCenterDoc
- func IDNEQ(id string) predicate.TrustCenterDoc
- func IDNotIn(ids ...string) predicate.TrustCenterDoc
- func Not(p predicate.TrustCenterDoc) predicate.TrustCenterDoc
- func Or(predicates ...predicate.TrustCenterDoc) predicate.TrustCenterDoc
- func OriginalFileID(v string) predicate.TrustCenterDoc
- func OriginalFileIDContains(v string) predicate.TrustCenterDoc
- func OriginalFileIDContainsFold(v string) predicate.TrustCenterDoc
- func OriginalFileIDEQ(v string) predicate.TrustCenterDoc
- func OriginalFileIDEqualFold(v string) predicate.TrustCenterDoc
- func OriginalFileIDGT(v string) predicate.TrustCenterDoc
- func OriginalFileIDGTE(v string) predicate.TrustCenterDoc
- func OriginalFileIDHasPrefix(v string) predicate.TrustCenterDoc
- func OriginalFileIDHasSuffix(v string) predicate.TrustCenterDoc
- func OriginalFileIDIn(vs ...string) predicate.TrustCenterDoc
- func OriginalFileIDIsNil() predicate.TrustCenterDoc
- func OriginalFileIDLT(v string) predicate.TrustCenterDoc
- func OriginalFileIDLTE(v string) predicate.TrustCenterDoc
- func OriginalFileIDNEQ(v string) predicate.TrustCenterDoc
- func OriginalFileIDNotIn(vs ...string) predicate.TrustCenterDoc
- func OriginalFileIDNotNil() predicate.TrustCenterDoc
- func StandardID(v string) predicate.TrustCenterDoc
- func StandardIDContains(v string) predicate.TrustCenterDoc
- func StandardIDContainsFold(v string) predicate.TrustCenterDoc
- func StandardIDEQ(v string) predicate.TrustCenterDoc
- func StandardIDEqualFold(v string) predicate.TrustCenterDoc
- func StandardIDGT(v string) predicate.TrustCenterDoc
- func StandardIDGTE(v string) predicate.TrustCenterDoc
- func StandardIDHasPrefix(v string) predicate.TrustCenterDoc
- func StandardIDHasSuffix(v string) predicate.TrustCenterDoc
- func StandardIDIn(vs ...string) predicate.TrustCenterDoc
- func StandardIDIsNil() predicate.TrustCenterDoc
- func StandardIDLT(v string) predicate.TrustCenterDoc
- func StandardIDLTE(v string) predicate.TrustCenterDoc
- func StandardIDNEQ(v string) predicate.TrustCenterDoc
- func StandardIDNotIn(vs ...string) predicate.TrustCenterDoc
- func StandardIDNotNil() predicate.TrustCenterDoc
- func TagsIsNil() predicate.TrustCenterDoc
- func TagsNotNil() predicate.TrustCenterDoc
- func Title(v string) predicate.TrustCenterDoc
- func TitleContains(v string) predicate.TrustCenterDoc
- func TitleContainsFold(v string) predicate.TrustCenterDoc
- func TitleEQ(v string) predicate.TrustCenterDoc
- func TitleEqualFold(v string) predicate.TrustCenterDoc
- func TitleGT(v string) predicate.TrustCenterDoc
- func TitleGTE(v string) predicate.TrustCenterDoc
- func TitleHasPrefix(v string) predicate.TrustCenterDoc
- func TitleHasSuffix(v string) predicate.TrustCenterDoc
- func TitleIn(vs ...string) predicate.TrustCenterDoc
- func TitleLT(v string) predicate.TrustCenterDoc
- func TitleLTE(v string) predicate.TrustCenterDoc
- func TitleNEQ(v string) predicate.TrustCenterDoc
- func TitleNotIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterDocKindID(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDContains(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDContainsFold(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDEQ(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDEqualFold(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDGT(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDGTE(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDHasPrefix(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDHasSuffix(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDIsNil() predicate.TrustCenterDoc
- func TrustCenterDocKindIDLT(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDLTE(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDNEQ(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDNotIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterDocKindIDNotNil() predicate.TrustCenterDoc
- func TrustCenterDocKindName(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameContains(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameContainsFold(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameEQ(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameEqualFold(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameGT(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameGTE(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameHasPrefix(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameHasSuffix(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameIsNil() predicate.TrustCenterDoc
- func TrustCenterDocKindNameLT(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameLTE(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameNEQ(v string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameNotIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterDocKindNameNotNil() predicate.TrustCenterDoc
- func TrustCenterID(v string) predicate.TrustCenterDoc
- func TrustCenterIDContains(v string) predicate.TrustCenterDoc
- func TrustCenterIDContainsFold(v string) predicate.TrustCenterDoc
- func TrustCenterIDEQ(v string) predicate.TrustCenterDoc
- func TrustCenterIDEqualFold(v string) predicate.TrustCenterDoc
- func TrustCenterIDGT(v string) predicate.TrustCenterDoc
- func TrustCenterIDGTE(v string) predicate.TrustCenterDoc
- func TrustCenterIDHasPrefix(v string) predicate.TrustCenterDoc
- func TrustCenterIDHasSuffix(v string) predicate.TrustCenterDoc
- func TrustCenterIDIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterIDIsNil() predicate.TrustCenterDoc
- func TrustCenterIDLT(v string) predicate.TrustCenterDoc
- func TrustCenterIDLTE(v string) predicate.TrustCenterDoc
- func TrustCenterIDNEQ(v string) predicate.TrustCenterDoc
- func TrustCenterIDNotIn(vs ...string) predicate.TrustCenterDoc
- func TrustCenterIDNotNil() predicate.TrustCenterDoc
- func UpdatedAt(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtEQ(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtGT(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtGTE(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtIn(vs ...time.Time) predicate.TrustCenterDoc
- func UpdatedAtIsNil() predicate.TrustCenterDoc
- func UpdatedAtLT(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtLTE(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtNEQ(v time.Time) predicate.TrustCenterDoc
- func UpdatedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
- func UpdatedAtNotNil() predicate.TrustCenterDoc
- func UpdatedBy(v string) predicate.TrustCenterDoc
- func UpdatedByContains(v string) predicate.TrustCenterDoc
- func UpdatedByContainsFold(v string) predicate.TrustCenterDoc
- func UpdatedByEQ(v string) predicate.TrustCenterDoc
- func UpdatedByEqualFold(v string) predicate.TrustCenterDoc
- func UpdatedByGT(v string) predicate.TrustCenterDoc
- func UpdatedByGTE(v string) predicate.TrustCenterDoc
- func UpdatedByHasPrefix(v string) predicate.TrustCenterDoc
- func UpdatedByHasSuffix(v string) predicate.TrustCenterDoc
- func UpdatedByIn(vs ...string) predicate.TrustCenterDoc
- func UpdatedByIsNil() predicate.TrustCenterDoc
- func UpdatedByLT(v string) predicate.TrustCenterDoc
- func UpdatedByLTE(v string) predicate.TrustCenterDoc
- func UpdatedByNEQ(v string) predicate.TrustCenterDoc
- func UpdatedByNotIn(vs ...string) predicate.TrustCenterDoc
- func UpdatedByNotNil() predicate.TrustCenterDoc
- func ValidColumn(column string) bool
- func VisibilityEQ(v enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
- func VisibilityIn(vs ...enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
- func VisibilityIsNil() predicate.TrustCenterDoc
- func VisibilityNEQ(v enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
- func VisibilityNotIn(vs ...enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
- func VisibilityNotNil() predicate.TrustCenterDoc
- func VisibilityValidator(v enums.TrustCenterDocumentVisibility) error
- func WatermarkStatusEQ(v enums.WatermarkStatus) predicate.TrustCenterDoc
- func WatermarkStatusIn(vs ...enums.WatermarkStatus) predicate.TrustCenterDoc
- func WatermarkStatusIsNil() predicate.TrustCenterDoc
- func WatermarkStatusNEQ(v enums.WatermarkStatus) predicate.TrustCenterDoc
- func WatermarkStatusNotIn(vs ...enums.WatermarkStatus) predicate.TrustCenterDoc
- func WatermarkStatusNotNil() predicate.TrustCenterDoc
- func WatermarkStatusValidator(ws enums.WatermarkStatus) error
- func WatermarkingEnabled(v bool) predicate.TrustCenterDoc
- func WatermarkingEnabledEQ(v bool) predicate.TrustCenterDoc
- func WatermarkingEnabledIsNil() predicate.TrustCenterDoc
- func WatermarkingEnabledNEQ(v bool) predicate.TrustCenterDoc
- func WatermarkingEnabledNotNil() predicate.TrustCenterDoc
- type OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) 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 ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFileID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOriginalFileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOriginalFileID(opts ...sql.OrderTermOption) OrderOption
- func ByStandardField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStandardID(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByTrustCenterDocKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTrustCenterDocKindID(opts ...sql.OrderTermOption) OrderOption
- func ByTrustCenterDocKindName(opts ...sql.OrderTermOption) OrderOption
- func ByTrustCenterField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTrustCenterID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVisibility(opts ...sql.OrderTermOption) OrderOption
- func ByWatermarkStatus(opts ...sql.OrderTermOption) OrderOption
- func ByWatermarkingEnabled(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the trustcenterdoc type in the database. Label = "trust_center_doc" // 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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldTrustCenterDocKindName holds the string denoting the trust_center_doc_kind_name field in the database. FieldTrustCenterDocKindName = "trust_center_doc_kind_name" // FieldTrustCenterDocKindID holds the string denoting the trust_center_doc_kind_id field in the database. FieldTrustCenterDocKindID = "trust_center_doc_kind_id" // FieldTrustCenterID holds the string denoting the trust_center_id field in the database. FieldTrustCenterID = "trust_center_id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldFileID holds the string denoting the file_id field in the database. FieldFileID = "file_id" // FieldOriginalFileID holds the string denoting the original_file_id field in the database. FieldOriginalFileID = "original_file_id" // FieldWatermarkingEnabled holds the string denoting the watermarking_enabled field in the database. FieldWatermarkingEnabled = "watermarking_enabled" // FieldWatermarkStatus holds the string denoting the watermark_status field in the database. FieldWatermarkStatus = "watermark_status" // FieldVisibility holds the string denoting the visibility field in the database. FieldVisibility = "visibility" // FieldStandardID holds the string denoting the standard_id field in the database. FieldStandardID = "standard_id" // EdgeTrustCenterDocKind holds the string denoting the trust_center_doc_kind edge name in mutations. EdgeTrustCenterDocKind = "trust_center_doc_kind" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeTrustCenter holds the string denoting the trust_center edge name in mutations. EdgeTrustCenter = "trust_center" // EdgeStandard holds the string denoting the standard edge name in mutations. EdgeStandard = "standard" // EdgeFile holds the string denoting the file edge name in mutations. EdgeFile = "file" // EdgeOriginalFile holds the string denoting the original_file edge name in mutations. EdgeOriginalFile = "original_file" // Table holds the table name of the trustcenterdoc in the database. Table = "trust_center_docs" // TrustCenterDocKindTable is the table that holds the trust_center_doc_kind relation/edge. TrustCenterDocKindTable = "trust_center_docs" // TrustCenterDocKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. TrustCenterDocKindInverseTable = "custom_type_enums" // TrustCenterDocKindColumn is the table column denoting the trust_center_doc_kind relation/edge. TrustCenterDocKindColumn = "trust_center_doc_kind_id" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. BlockedGroupsTable = "groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // BlockedGroupsColumn is the table column denoting the blocked_groups relation/edge. BlockedGroupsColumn = "trust_center_doc_blocked_groups" // EditorsTable is the table that holds the editors relation/edge. EditorsTable = "groups" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // EditorsColumn is the table column denoting the editors relation/edge. EditorsColumn = "trust_center_doc_editors" // TrustCenterTable is the table that holds the trust_center relation/edge. TrustCenterTable = "trust_center_docs" // TrustCenterInverseTable is the table name for the TrustCenter entity. // It exists in this package in order to avoid circular dependency with the "trustcenter" package. TrustCenterInverseTable = "trust_centers" // TrustCenterColumn is the table column denoting the trust_center relation/edge. TrustCenterColumn = "trust_center_id" // StandardTable is the table that holds the standard relation/edge. StandardTable = "trust_center_docs" // StandardInverseTable is the table name for the Standard entity. // It exists in this package in order to avoid circular dependency with the "standard" package. StandardInverseTable = "standards" // StandardColumn is the table column denoting the standard relation/edge. StandardColumn = "standard_id" // FileTable is the table that holds the file relation/edge. FileTable = "trust_center_docs" // FileInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FileInverseTable = "files" // FileColumn is the table column denoting the file relation/edge. FileColumn = "file_id" // OriginalFileTable is the table that holds the original_file relation/edge. OriginalFileTable = "trust_center_docs" // OriginalFileInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. OriginalFileInverseTable = "files" // OriginalFileColumn is the table column denoting the original_file relation/edge. OriginalFileColumn = "original_file_id" )
const DefaultVisibility enums.TrustCenterDocumentVisibility = "NOT_VISIBLE"
const DefaultWatermarkStatus enums.WatermarkStatus = "PENDING"
Variables ¶
var ( Hooks [10]ent.Hook Interceptors [3]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 // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // TrustCenterIDValidator is a validator for the "trust_center_id" field. It is called by the builders before save. TrustCenterIDValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // 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, FieldTags, FieldTrustCenterDocKindName, FieldTrustCenterDocKindID, FieldTrustCenterID, FieldTitle, FieldFileID, FieldOriginalFileID, FieldWatermarkingEnabled, FieldWatermarkStatus, FieldVisibility, FieldStandardID, }
Columns holds all SQL columns for trustcenterdoc fields.
var ForeignKeys = []string{
"trust_center_nda_request_trust_center_docs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "trust_center_docs" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.TrustCenterDoc) predicate.TrustCenterDoc
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.TrustCenterDoc
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.TrustCenterDoc
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.TrustCenterDoc
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.TrustCenterDoc
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.TrustCenterDoc
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.TrustCenterDoc
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.TrustCenterDoc
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.TrustCenterDoc
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.TrustCenterDoc
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.TrustCenterDoc
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.TrustCenterDoc
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.TrustCenterDoc
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.TrustCenterDoc
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.TrustCenterDoc
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.TrustCenterDoc
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.TrustCenterDoc
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.TrustCenterDoc
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.TrustCenterDoc
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.TrustCenterDoc
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.TrustCenterDoc
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.TrustCenterDoc
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.TrustCenterDoc
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.TrustCenterDoc
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.TrustCenterDoc
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.TrustCenterDoc
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.TrustCenterDoc
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.TrustCenterDoc
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.TrustCenterDoc
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.TrustCenterDoc
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.TrustCenterDoc
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.TrustCenterDoc
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.TrustCenterDoc
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.TrustCenterDoc
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.TrustCenterDoc
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.TrustCenterDoc
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.TrustCenterDoc
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.TrustCenterDoc
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.TrustCenterDoc
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.TrustCenterDoc
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.TrustCenterDoc
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.TrustCenterDoc
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.TrustCenterDoc
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.TrustCenterDoc
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.TrustCenterDoc
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.TrustCenterDoc
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.TrustCenterDoc
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.TrustCenterDoc
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.TrustCenterDoc
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.TrustCenterDoc
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.TrustCenterDoc
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.TrustCenterDoc
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.TrustCenterDoc
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func FileID ¶ added in v0.34.0
func FileID(v string) predicate.TrustCenterDoc
FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.
func FileIDContains ¶ added in v0.34.0
func FileIDContains(v string) predicate.TrustCenterDoc
FileIDContains applies the Contains predicate on the "file_id" field.
func FileIDContainsFold ¶ added in v0.34.0
func FileIDContainsFold(v string) predicate.TrustCenterDoc
FileIDContainsFold applies the ContainsFold predicate on the "file_id" field.
func FileIDEQ ¶ added in v0.34.0
func FileIDEQ(v string) predicate.TrustCenterDoc
FileIDEQ applies the EQ predicate on the "file_id" field.
func FileIDEqualFold ¶ added in v0.34.0
func FileIDEqualFold(v string) predicate.TrustCenterDoc
FileIDEqualFold applies the EqualFold predicate on the "file_id" field.
func FileIDGT ¶ added in v0.34.0
func FileIDGT(v string) predicate.TrustCenterDoc
FileIDGT applies the GT predicate on the "file_id" field.
func FileIDGTE ¶ added in v0.34.0
func FileIDGTE(v string) predicate.TrustCenterDoc
FileIDGTE applies the GTE predicate on the "file_id" field.
func FileIDHasPrefix ¶ added in v0.34.0
func FileIDHasPrefix(v string) predicate.TrustCenterDoc
FileIDHasPrefix applies the HasPrefix predicate on the "file_id" field.
func FileIDHasSuffix ¶ added in v0.34.0
func FileIDHasSuffix(v string) predicate.TrustCenterDoc
FileIDHasSuffix applies the HasSuffix predicate on the "file_id" field.
func FileIDIn ¶ added in v0.34.0
func FileIDIn(vs ...string) predicate.TrustCenterDoc
FileIDIn applies the In predicate on the "file_id" field.
func FileIDIsNil ¶ added in v0.34.0
func FileIDIsNil() predicate.TrustCenterDoc
FileIDIsNil applies the IsNil predicate on the "file_id" field.
func FileIDLT ¶ added in v0.34.0
func FileIDLT(v string) predicate.TrustCenterDoc
FileIDLT applies the LT predicate on the "file_id" field.
func FileIDLTE ¶ added in v0.34.0
func FileIDLTE(v string) predicate.TrustCenterDoc
FileIDLTE applies the LTE predicate on the "file_id" field.
func FileIDNEQ ¶ added in v0.34.0
func FileIDNEQ(v string) predicate.TrustCenterDoc
FileIDNEQ applies the NEQ predicate on the "file_id" field.
func FileIDNotIn ¶ added in v0.34.0
func FileIDNotIn(vs ...string) predicate.TrustCenterDoc
FileIDNotIn applies the NotIn predicate on the "file_id" field.
func FileIDNotNil ¶ added in v0.34.0
func FileIDNotNil() predicate.TrustCenterDoc
FileIDNotNil applies the NotNil predicate on the "file_id" field.
func HasBlockedGroups ¶ added in v1.3.0
func HasBlockedGroups() predicate.TrustCenterDoc
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v1.3.0
func HasBlockedGroupsWith(preds ...predicate.Group) predicate.TrustCenterDoc
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasEditors ¶ added in v1.3.0
func HasEditors() predicate.TrustCenterDoc
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v1.3.0
func HasEditorsWith(preds ...predicate.Group) predicate.TrustCenterDoc
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasFile ¶ added in v0.34.0
func HasFile() predicate.TrustCenterDoc
HasFile applies the HasEdge predicate on the "file" edge.
func HasFileWith ¶ added in v0.34.0
func HasFileWith(preds ...predicate.File) predicate.TrustCenterDoc
HasFileWith applies the HasEdge predicate on the "file" edge with a given conditions (other predicates).
func HasOriginalFile ¶ added in v0.34.6
func HasOriginalFile() predicate.TrustCenterDoc
HasOriginalFile applies the HasEdge predicate on the "original_file" edge.
func HasOriginalFileWith ¶ added in v0.34.6
func HasOriginalFileWith(preds ...predicate.File) predicate.TrustCenterDoc
HasOriginalFileWith applies the HasEdge predicate on the "original_file" edge with a given conditions (other predicates).
func HasStandard ¶ added in v0.47.4
func HasStandard() predicate.TrustCenterDoc
HasStandard applies the HasEdge predicate on the "standard" edge.
func HasStandardWith ¶ added in v0.47.4
func HasStandardWith(preds ...predicate.Standard) predicate.TrustCenterDoc
HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).
func HasTrustCenter ¶ added in v0.34.0
func HasTrustCenter() predicate.TrustCenterDoc
HasTrustCenter applies the HasEdge predicate on the "trust_center" edge.
func HasTrustCenterDocKind ¶ added in v1.3.5
func HasTrustCenterDocKind() predicate.TrustCenterDoc
HasTrustCenterDocKind applies the HasEdge predicate on the "trust_center_doc_kind" edge.
func HasTrustCenterDocKindWith ¶ added in v1.3.5
func HasTrustCenterDocKindWith(preds ...predicate.CustomTypeEnum) predicate.TrustCenterDoc
HasTrustCenterDocKindWith applies the HasEdge predicate on the "trust_center_doc_kind" edge with a given conditions (other predicates).
func HasTrustCenterWith ¶ added in v0.34.0
func HasTrustCenterWith(preds ...predicate.TrustCenter) predicate.TrustCenterDoc
HasTrustCenterWith applies the HasEdge predicate on the "trust_center" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.TrustCenterDoc
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.TrustCenterDoc
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.TrustCenterDoc
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.TrustCenterDoc
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.TrustCenterDoc
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.TrustCenterDoc
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.TrustCenterDoc
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.TrustCenterDoc
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.TrustCenterDoc
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.TrustCenterDoc
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.TrustCenterDoc) predicate.TrustCenterDoc
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TrustCenterDoc) predicate.TrustCenterDoc
Or groups predicates with the OR operator between them.
func OriginalFileID ¶ added in v0.34.6
func OriginalFileID(v string) predicate.TrustCenterDoc
OriginalFileID applies equality check predicate on the "original_file_id" field. It's identical to OriginalFileIDEQ.
func OriginalFileIDContains ¶ added in v0.34.6
func OriginalFileIDContains(v string) predicate.TrustCenterDoc
OriginalFileIDContains applies the Contains predicate on the "original_file_id" field.
func OriginalFileIDContainsFold ¶ added in v0.34.6
func OriginalFileIDContainsFold(v string) predicate.TrustCenterDoc
OriginalFileIDContainsFold applies the ContainsFold predicate on the "original_file_id" field.
func OriginalFileIDEQ ¶ added in v0.34.6
func OriginalFileIDEQ(v string) predicate.TrustCenterDoc
OriginalFileIDEQ applies the EQ predicate on the "original_file_id" field.
func OriginalFileIDEqualFold ¶ added in v0.34.6
func OriginalFileIDEqualFold(v string) predicate.TrustCenterDoc
OriginalFileIDEqualFold applies the EqualFold predicate on the "original_file_id" field.
func OriginalFileIDGT ¶ added in v0.34.6
func OriginalFileIDGT(v string) predicate.TrustCenterDoc
OriginalFileIDGT applies the GT predicate on the "original_file_id" field.
func OriginalFileIDGTE ¶ added in v0.34.6
func OriginalFileIDGTE(v string) predicate.TrustCenterDoc
OriginalFileIDGTE applies the GTE predicate on the "original_file_id" field.
func OriginalFileIDHasPrefix ¶ added in v0.34.6
func OriginalFileIDHasPrefix(v string) predicate.TrustCenterDoc
OriginalFileIDHasPrefix applies the HasPrefix predicate on the "original_file_id" field.
func OriginalFileIDHasSuffix ¶ added in v0.34.6
func OriginalFileIDHasSuffix(v string) predicate.TrustCenterDoc
OriginalFileIDHasSuffix applies the HasSuffix predicate on the "original_file_id" field.
func OriginalFileIDIn ¶ added in v0.34.6
func OriginalFileIDIn(vs ...string) predicate.TrustCenterDoc
OriginalFileIDIn applies the In predicate on the "original_file_id" field.
func OriginalFileIDIsNil ¶ added in v0.34.6
func OriginalFileIDIsNil() predicate.TrustCenterDoc
OriginalFileIDIsNil applies the IsNil predicate on the "original_file_id" field.
func OriginalFileIDLT ¶ added in v0.34.6
func OriginalFileIDLT(v string) predicate.TrustCenterDoc
OriginalFileIDLT applies the LT predicate on the "original_file_id" field.
func OriginalFileIDLTE ¶ added in v0.34.6
func OriginalFileIDLTE(v string) predicate.TrustCenterDoc
OriginalFileIDLTE applies the LTE predicate on the "original_file_id" field.
func OriginalFileIDNEQ ¶ added in v0.34.6
func OriginalFileIDNEQ(v string) predicate.TrustCenterDoc
OriginalFileIDNEQ applies the NEQ predicate on the "original_file_id" field.
func OriginalFileIDNotIn ¶ added in v0.34.6
func OriginalFileIDNotIn(vs ...string) predicate.TrustCenterDoc
OriginalFileIDNotIn applies the NotIn predicate on the "original_file_id" field.
func OriginalFileIDNotNil ¶ added in v0.34.6
func OriginalFileIDNotNil() predicate.TrustCenterDoc
OriginalFileIDNotNil applies the NotNil predicate on the "original_file_id" field.
func StandardID ¶ added in v0.47.4
func StandardID(v string) predicate.TrustCenterDoc
StandardID applies equality check predicate on the "standard_id" field. It's identical to StandardIDEQ.
func StandardIDContains ¶ added in v0.47.4
func StandardIDContains(v string) predicate.TrustCenterDoc
StandardIDContains applies the Contains predicate on the "standard_id" field.
func StandardIDContainsFold ¶ added in v0.47.4
func StandardIDContainsFold(v string) predicate.TrustCenterDoc
StandardIDContainsFold applies the ContainsFold predicate on the "standard_id" field.
func StandardIDEQ ¶ added in v0.47.4
func StandardIDEQ(v string) predicate.TrustCenterDoc
StandardIDEQ applies the EQ predicate on the "standard_id" field.
func StandardIDEqualFold ¶ added in v0.47.4
func StandardIDEqualFold(v string) predicate.TrustCenterDoc
StandardIDEqualFold applies the EqualFold predicate on the "standard_id" field.
func StandardIDGT ¶ added in v0.47.4
func StandardIDGT(v string) predicate.TrustCenterDoc
StandardIDGT applies the GT predicate on the "standard_id" field.
func StandardIDGTE ¶ added in v0.47.4
func StandardIDGTE(v string) predicate.TrustCenterDoc
StandardIDGTE applies the GTE predicate on the "standard_id" field.
func StandardIDHasPrefix ¶ added in v0.47.4
func StandardIDHasPrefix(v string) predicate.TrustCenterDoc
StandardIDHasPrefix applies the HasPrefix predicate on the "standard_id" field.
func StandardIDHasSuffix ¶ added in v0.47.4
func StandardIDHasSuffix(v string) predicate.TrustCenterDoc
StandardIDHasSuffix applies the HasSuffix predicate on the "standard_id" field.
func StandardIDIn ¶ added in v0.47.4
func StandardIDIn(vs ...string) predicate.TrustCenterDoc
StandardIDIn applies the In predicate on the "standard_id" field.
func StandardIDIsNil ¶ added in v0.47.4
func StandardIDIsNil() predicate.TrustCenterDoc
StandardIDIsNil applies the IsNil predicate on the "standard_id" field.
func StandardIDLT ¶ added in v0.47.4
func StandardIDLT(v string) predicate.TrustCenterDoc
StandardIDLT applies the LT predicate on the "standard_id" field.
func StandardIDLTE ¶ added in v0.47.4
func StandardIDLTE(v string) predicate.TrustCenterDoc
StandardIDLTE applies the LTE predicate on the "standard_id" field.
func StandardIDNEQ ¶ added in v0.47.4
func StandardIDNEQ(v string) predicate.TrustCenterDoc
StandardIDNEQ applies the NEQ predicate on the "standard_id" field.
func StandardIDNotIn ¶ added in v0.47.4
func StandardIDNotIn(vs ...string) predicate.TrustCenterDoc
StandardIDNotIn applies the NotIn predicate on the "standard_id" field.
func StandardIDNotNil ¶ added in v0.47.4
func StandardIDNotNil() predicate.TrustCenterDoc
StandardIDNotNil applies the NotNil predicate on the "standard_id" field.
func TagsIsNil ¶
func TagsIsNil() predicate.TrustCenterDoc
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.TrustCenterDoc
TagsNotNil applies the NotNil predicate on the "tags" field.
func Title ¶ added in v0.34.0
func Title(v string) predicate.TrustCenterDoc
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶ added in v0.34.0
func TitleContains(v string) predicate.TrustCenterDoc
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶ added in v0.34.0
func TitleContainsFold(v string) predicate.TrustCenterDoc
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶ added in v0.34.0
func TitleEQ(v string) predicate.TrustCenterDoc
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶ added in v0.34.0
func TitleEqualFold(v string) predicate.TrustCenterDoc
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶ added in v0.34.0
func TitleGT(v string) predicate.TrustCenterDoc
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶ added in v0.34.0
func TitleGTE(v string) predicate.TrustCenterDoc
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶ added in v0.34.0
func TitleHasPrefix(v string) predicate.TrustCenterDoc
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶ added in v0.34.0
func TitleHasSuffix(v string) predicate.TrustCenterDoc
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶ added in v0.34.0
func TitleIn(vs ...string) predicate.TrustCenterDoc
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶ added in v0.34.0
func TitleLT(v string) predicate.TrustCenterDoc
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶ added in v0.34.0
func TitleLTE(v string) predicate.TrustCenterDoc
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶ added in v0.34.0
func TitleNEQ(v string) predicate.TrustCenterDoc
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶ added in v0.34.0
func TitleNotIn(vs ...string) predicate.TrustCenterDoc
TitleNotIn applies the NotIn predicate on the "title" field.
func TrustCenterDocKindID ¶ added in v1.3.5
func TrustCenterDocKindID(v string) predicate.TrustCenterDoc
TrustCenterDocKindID applies equality check predicate on the "trust_center_doc_kind_id" field. It's identical to TrustCenterDocKindIDEQ.
func TrustCenterDocKindIDContains ¶ added in v1.3.5
func TrustCenterDocKindIDContains(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDContains applies the Contains predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDContainsFold ¶ added in v1.3.5
func TrustCenterDocKindIDContainsFold(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDContainsFold applies the ContainsFold predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDEQ ¶ added in v1.3.5
func TrustCenterDocKindIDEQ(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDEQ applies the EQ predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDEqualFold ¶ added in v1.3.5
func TrustCenterDocKindIDEqualFold(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDEqualFold applies the EqualFold predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDGT ¶ added in v1.3.5
func TrustCenterDocKindIDGT(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDGT applies the GT predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDGTE ¶ added in v1.3.5
func TrustCenterDocKindIDGTE(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDGTE applies the GTE predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDHasPrefix ¶ added in v1.3.5
func TrustCenterDocKindIDHasPrefix(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDHasPrefix applies the HasPrefix predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDHasSuffix ¶ added in v1.3.5
func TrustCenterDocKindIDHasSuffix(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDHasSuffix applies the HasSuffix predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDIn ¶ added in v1.3.5
func TrustCenterDocKindIDIn(vs ...string) predicate.TrustCenterDoc
TrustCenterDocKindIDIn applies the In predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDIsNil ¶ added in v1.3.5
func TrustCenterDocKindIDIsNil() predicate.TrustCenterDoc
TrustCenterDocKindIDIsNil applies the IsNil predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDLT ¶ added in v1.3.5
func TrustCenterDocKindIDLT(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDLT applies the LT predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDLTE ¶ added in v1.3.5
func TrustCenterDocKindIDLTE(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDLTE applies the LTE predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDNEQ ¶ added in v1.3.5
func TrustCenterDocKindIDNEQ(v string) predicate.TrustCenterDoc
TrustCenterDocKindIDNEQ applies the NEQ predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDNotIn ¶ added in v1.3.5
func TrustCenterDocKindIDNotIn(vs ...string) predicate.TrustCenterDoc
TrustCenterDocKindIDNotIn applies the NotIn predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindIDNotNil ¶ added in v1.3.5
func TrustCenterDocKindIDNotNil() predicate.TrustCenterDoc
TrustCenterDocKindIDNotNil applies the NotNil predicate on the "trust_center_doc_kind_id" field.
func TrustCenterDocKindName ¶ added in v1.3.5
func TrustCenterDocKindName(v string) predicate.TrustCenterDoc
TrustCenterDocKindName applies equality check predicate on the "trust_center_doc_kind_name" field. It's identical to TrustCenterDocKindNameEQ.
func TrustCenterDocKindNameContains ¶ added in v1.3.5
func TrustCenterDocKindNameContains(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameContains applies the Contains predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameContainsFold ¶ added in v1.3.5
func TrustCenterDocKindNameContainsFold(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameContainsFold applies the ContainsFold predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameEQ ¶ added in v1.3.5
func TrustCenterDocKindNameEQ(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameEQ applies the EQ predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameEqualFold ¶ added in v1.3.5
func TrustCenterDocKindNameEqualFold(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameEqualFold applies the EqualFold predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameGT ¶ added in v1.3.5
func TrustCenterDocKindNameGT(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameGT applies the GT predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameGTE ¶ added in v1.3.5
func TrustCenterDocKindNameGTE(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameGTE applies the GTE predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameHasPrefix ¶ added in v1.3.5
func TrustCenterDocKindNameHasPrefix(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameHasPrefix applies the HasPrefix predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameHasSuffix ¶ added in v1.3.5
func TrustCenterDocKindNameHasSuffix(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameHasSuffix applies the HasSuffix predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameIn ¶ added in v1.3.5
func TrustCenterDocKindNameIn(vs ...string) predicate.TrustCenterDoc
TrustCenterDocKindNameIn applies the In predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameIsNil ¶ added in v1.3.5
func TrustCenterDocKindNameIsNil() predicate.TrustCenterDoc
TrustCenterDocKindNameIsNil applies the IsNil predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameLT ¶ added in v1.3.5
func TrustCenterDocKindNameLT(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameLT applies the LT predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameLTE ¶ added in v1.3.5
func TrustCenterDocKindNameLTE(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameLTE applies the LTE predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameNEQ ¶ added in v1.3.5
func TrustCenterDocKindNameNEQ(v string) predicate.TrustCenterDoc
TrustCenterDocKindNameNEQ applies the NEQ predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameNotIn ¶ added in v1.3.5
func TrustCenterDocKindNameNotIn(vs ...string) predicate.TrustCenterDoc
TrustCenterDocKindNameNotIn applies the NotIn predicate on the "trust_center_doc_kind_name" field.
func TrustCenterDocKindNameNotNil ¶ added in v1.3.5
func TrustCenterDocKindNameNotNil() predicate.TrustCenterDoc
TrustCenterDocKindNameNotNil applies the NotNil predicate on the "trust_center_doc_kind_name" field.
func TrustCenterID ¶ added in v0.34.0
func TrustCenterID(v string) predicate.TrustCenterDoc
TrustCenterID applies equality check predicate on the "trust_center_id" field. It's identical to TrustCenterIDEQ.
func TrustCenterIDContains ¶ added in v0.34.0
func TrustCenterIDContains(v string) predicate.TrustCenterDoc
TrustCenterIDContains applies the Contains predicate on the "trust_center_id" field.
func TrustCenterIDContainsFold ¶ added in v0.34.0
func TrustCenterIDContainsFold(v string) predicate.TrustCenterDoc
TrustCenterIDContainsFold applies the ContainsFold predicate on the "trust_center_id" field.
func TrustCenterIDEQ ¶ added in v0.34.0
func TrustCenterIDEQ(v string) predicate.TrustCenterDoc
TrustCenterIDEQ applies the EQ predicate on the "trust_center_id" field.
func TrustCenterIDEqualFold ¶ added in v0.34.0
func TrustCenterIDEqualFold(v string) predicate.TrustCenterDoc
TrustCenterIDEqualFold applies the EqualFold predicate on the "trust_center_id" field.
func TrustCenterIDGT ¶ added in v0.34.0
func TrustCenterIDGT(v string) predicate.TrustCenterDoc
TrustCenterIDGT applies the GT predicate on the "trust_center_id" field.
func TrustCenterIDGTE ¶ added in v0.34.0
func TrustCenterIDGTE(v string) predicate.TrustCenterDoc
TrustCenterIDGTE applies the GTE predicate on the "trust_center_id" field.
func TrustCenterIDHasPrefix ¶ added in v0.34.0
func TrustCenterIDHasPrefix(v string) predicate.TrustCenterDoc
TrustCenterIDHasPrefix applies the HasPrefix predicate on the "trust_center_id" field.
func TrustCenterIDHasSuffix ¶ added in v0.34.0
func TrustCenterIDHasSuffix(v string) predicate.TrustCenterDoc
TrustCenterIDHasSuffix applies the HasSuffix predicate on the "trust_center_id" field.
func TrustCenterIDIn ¶ added in v0.34.0
func TrustCenterIDIn(vs ...string) predicate.TrustCenterDoc
TrustCenterIDIn applies the In predicate on the "trust_center_id" field.
func TrustCenterIDIsNil ¶ added in v0.34.0
func TrustCenterIDIsNil() predicate.TrustCenterDoc
TrustCenterIDIsNil applies the IsNil predicate on the "trust_center_id" field.
func TrustCenterIDLT ¶ added in v0.34.0
func TrustCenterIDLT(v string) predicate.TrustCenterDoc
TrustCenterIDLT applies the LT predicate on the "trust_center_id" field.
func TrustCenterIDLTE ¶ added in v0.34.0
func TrustCenterIDLTE(v string) predicate.TrustCenterDoc
TrustCenterIDLTE applies the LTE predicate on the "trust_center_id" field.
func TrustCenterIDNEQ ¶ added in v0.34.0
func TrustCenterIDNEQ(v string) predicate.TrustCenterDoc
TrustCenterIDNEQ applies the NEQ predicate on the "trust_center_id" field.
func TrustCenterIDNotIn ¶ added in v0.34.0
func TrustCenterIDNotIn(vs ...string) predicate.TrustCenterDoc
TrustCenterIDNotIn applies the NotIn predicate on the "trust_center_id" field.
func TrustCenterIDNotNil ¶ added in v0.34.0
func TrustCenterIDNotNil() predicate.TrustCenterDoc
TrustCenterIDNotNil applies the NotNil predicate on the "trust_center_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.TrustCenterDoc
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.TrustCenterDoc
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.TrustCenterDoc
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.TrustCenterDoc
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.TrustCenterDoc
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.TrustCenterDoc
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.TrustCenterDoc
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.TrustCenterDoc
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.TrustCenterDoc
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.TrustCenterDoc
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.TrustCenterDoc
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.TrustCenterDoc
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.TrustCenterDoc
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.TrustCenterDoc
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.TrustCenterDoc
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.TrustCenterDoc
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.TrustCenterDoc
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.TrustCenterDoc
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.TrustCenterDoc
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.TrustCenterDoc
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.TrustCenterDoc
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.TrustCenterDoc
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.TrustCenterDoc
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.TrustCenterDoc
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.TrustCenterDoc
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.TrustCenterDoc
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.TrustCenterDoc
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).
func VisibilityEQ ¶ added in v0.34.0
func VisibilityEQ(v enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
VisibilityEQ applies the EQ predicate on the "visibility" field.
func VisibilityIn ¶ added in v0.34.0
func VisibilityIn(vs ...enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
VisibilityIn applies the In predicate on the "visibility" field.
func VisibilityIsNil ¶ added in v0.34.0
func VisibilityIsNil() predicate.TrustCenterDoc
VisibilityIsNil applies the IsNil predicate on the "visibility" field.
func VisibilityNEQ ¶ added in v0.34.0
func VisibilityNEQ(v enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
VisibilityNEQ applies the NEQ predicate on the "visibility" field.
func VisibilityNotIn ¶ added in v0.34.0
func VisibilityNotIn(vs ...enums.TrustCenterDocumentVisibility) predicate.TrustCenterDoc
VisibilityNotIn applies the NotIn predicate on the "visibility" field.
func VisibilityNotNil ¶ added in v0.34.0
func VisibilityNotNil() predicate.TrustCenterDoc
VisibilityNotNil applies the NotNil predicate on the "visibility" field.
func VisibilityValidator ¶ added in v0.34.0
func VisibilityValidator(v enums.TrustCenterDocumentVisibility) error
VisibilityValidator is a validator for the "visibility" field enum values. It is called by the builders before save.
func WatermarkStatusEQ ¶ added in v0.34.6
func WatermarkStatusEQ(v enums.WatermarkStatus) predicate.TrustCenterDoc
WatermarkStatusEQ applies the EQ predicate on the "watermark_status" field.
func WatermarkStatusIn ¶ added in v0.34.6
func WatermarkStatusIn(vs ...enums.WatermarkStatus) predicate.TrustCenterDoc
WatermarkStatusIn applies the In predicate on the "watermark_status" field.
func WatermarkStatusIsNil ¶ added in v0.34.6
func WatermarkStatusIsNil() predicate.TrustCenterDoc
WatermarkStatusIsNil applies the IsNil predicate on the "watermark_status" field.
func WatermarkStatusNEQ ¶ added in v0.34.6
func WatermarkStatusNEQ(v enums.WatermarkStatus) predicate.TrustCenterDoc
WatermarkStatusNEQ applies the NEQ predicate on the "watermark_status" field.
func WatermarkStatusNotIn ¶ added in v0.34.6
func WatermarkStatusNotIn(vs ...enums.WatermarkStatus) predicate.TrustCenterDoc
WatermarkStatusNotIn applies the NotIn predicate on the "watermark_status" field.
func WatermarkStatusNotNil ¶ added in v0.34.6
func WatermarkStatusNotNil() predicate.TrustCenterDoc
WatermarkStatusNotNil applies the NotNil predicate on the "watermark_status" field.
func WatermarkStatusValidator ¶ added in v0.34.6
func WatermarkStatusValidator(ws enums.WatermarkStatus) error
WatermarkStatusValidator is a validator for the "watermark_status" field enum values. It is called by the builders before save.
func WatermarkingEnabled ¶ added in v0.34.6
func WatermarkingEnabled(v bool) predicate.TrustCenterDoc
WatermarkingEnabled applies equality check predicate on the "watermarking_enabled" field. It's identical to WatermarkingEnabledEQ.
func WatermarkingEnabledEQ ¶ added in v0.34.6
func WatermarkingEnabledEQ(v bool) predicate.TrustCenterDoc
WatermarkingEnabledEQ applies the EQ predicate on the "watermarking_enabled" field.
func WatermarkingEnabledIsNil ¶ added in v0.50.1
func WatermarkingEnabledIsNil() predicate.TrustCenterDoc
WatermarkingEnabledIsNil applies the IsNil predicate on the "watermarking_enabled" field.
func WatermarkingEnabledNEQ ¶ added in v0.34.6
func WatermarkingEnabledNEQ(v bool) predicate.TrustCenterDoc
WatermarkingEnabledNEQ applies the NEQ predicate on the "watermarking_enabled" field.
func WatermarkingEnabledNotNil ¶ added in v0.50.1
func WatermarkingEnabledNotNil() predicate.TrustCenterDoc
WatermarkingEnabledNotNil applies the NotNil predicate on the "watermarking_enabled" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the TrustCenterDoc queries.
func ByBlockedGroups ¶ added in v1.3.0
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v1.3.0
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
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 ByEditors ¶ added in v1.3.0
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v1.3.0
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByFileField ¶ added in v0.34.0
func ByFileField(field string, opts ...sql.OrderTermOption) OrderOption
ByFileField orders the results by file field.
func ByFileID ¶ added in v0.34.0
func ByFileID(opts ...sql.OrderTermOption) OrderOption
ByFileID orders the results by the file_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOriginalFileField ¶ added in v0.34.6
func ByOriginalFileField(field string, opts ...sql.OrderTermOption) OrderOption
ByOriginalFileField orders the results by original_file field.
func ByOriginalFileID ¶ added in v0.34.6
func ByOriginalFileID(opts ...sql.OrderTermOption) OrderOption
ByOriginalFileID orders the results by the original_file_id field.
func ByStandardField ¶ added in v0.47.4
func ByStandardField(field string, opts ...sql.OrderTermOption) OrderOption
ByStandardField orders the results by standard field.
func ByStandardID ¶ added in v0.47.4
func ByStandardID(opts ...sql.OrderTermOption) OrderOption
ByStandardID orders the results by the standard_id field.
func ByTitle ¶ added in v0.34.0
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByTrustCenterDocKindField ¶ added in v1.3.5
func ByTrustCenterDocKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByTrustCenterDocKindField orders the results by trust_center_doc_kind field.
func ByTrustCenterDocKindID ¶ added in v1.3.5
func ByTrustCenterDocKindID(opts ...sql.OrderTermOption) OrderOption
ByTrustCenterDocKindID orders the results by the trust_center_doc_kind_id field.
func ByTrustCenterDocKindName ¶ added in v1.3.5
func ByTrustCenterDocKindName(opts ...sql.OrderTermOption) OrderOption
ByTrustCenterDocKindName orders the results by the trust_center_doc_kind_name field.
func ByTrustCenterField ¶ added in v0.34.0
func ByTrustCenterField(field string, opts ...sql.OrderTermOption) OrderOption
ByTrustCenterField orders the results by trust_center field.
func ByTrustCenterID ¶ added in v0.34.0
func ByTrustCenterID(opts ...sql.OrderTermOption) OrderOption
ByTrustCenterID orders the results by the trust_center_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByVisibility ¶ added in v0.34.0
func ByVisibility(opts ...sql.OrderTermOption) OrderOption
ByVisibility orders the results by the visibility field.
func ByWatermarkStatus ¶ added in v0.34.6
func ByWatermarkStatus(opts ...sql.OrderTermOption) OrderOption
ByWatermarkStatus orders the results by the watermark_status field.
func ByWatermarkingEnabled ¶ added in v0.34.6
func ByWatermarkingEnabled(opts ...sql.OrderTermOption) OrderOption
ByWatermarkingEnabled orders the results by the watermarking_enabled field.