Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Report) predicate.Report
- func CreatedAt(v time.Time) predicate.Report
- func CreatedAtEQ(v time.Time) predicate.Report
- func CreatedAtGT(v time.Time) predicate.Report
- func CreatedAtGTE(v time.Time) predicate.Report
- func CreatedAtIn(vs ...time.Time) predicate.Report
- func CreatedAtIsNil() predicate.Report
- func CreatedAtLT(v time.Time) predicate.Report
- func CreatedAtLTE(v time.Time) predicate.Report
- func CreatedAtNEQ(v time.Time) predicate.Report
- func CreatedAtNotIn(vs ...time.Time) predicate.Report
- func CreatedAtNotNil() predicate.Report
- func CreatedBy(v string) predicate.Report
- func CreatedByContains(v string) predicate.Report
- func CreatedByContainsFold(v string) predicate.Report
- func CreatedByEQ(v string) predicate.Report
- func CreatedByEqualFold(v string) predicate.Report
- func CreatedByGT(v string) predicate.Report
- func CreatedByGTE(v string) predicate.Report
- func CreatedByHasPrefix(v string) predicate.Report
- func CreatedByHasSuffix(v string) predicate.Report
- func CreatedByIn(vs ...string) predicate.Report
- func CreatedByIsNil() predicate.Report
- func CreatedByLT(v string) predicate.Report
- func CreatedByLTE(v string) predicate.Report
- func CreatedByNEQ(v string) predicate.Report
- func CreatedByNotIn(vs ...string) predicate.Report
- func CreatedByNotNil() predicate.Report
- func DeletedAt(v time.Time) predicate.Report
- func DeletedAtEQ(v time.Time) predicate.Report
- func DeletedAtGT(v time.Time) predicate.Report
- func DeletedAtGTE(v time.Time) predicate.Report
- func DeletedAtIn(vs ...time.Time) predicate.Report
- func DeletedAtIsNil() predicate.Report
- func DeletedAtLT(v time.Time) predicate.Report
- func DeletedAtLTE(v time.Time) predicate.Report
- func DeletedAtNEQ(v time.Time) predicate.Report
- func DeletedAtNotIn(vs ...time.Time) predicate.Report
- func DeletedAtNotNil() predicate.Report
- func DeletedBy(v string) predicate.Report
- func DeletedByContains(v string) predicate.Report
- func DeletedByContainsFold(v string) predicate.Report
- func DeletedByEQ(v string) predicate.Report
- func DeletedByEqualFold(v string) predicate.Report
- func DeletedByGT(v string) predicate.Report
- func DeletedByGTE(v string) predicate.Report
- func DeletedByHasPrefix(v string) predicate.Report
- func DeletedByHasSuffix(v string) predicate.Report
- func DeletedByIn(vs ...string) predicate.Report
- func DeletedByIsNil() predicate.Report
- func DeletedByLT(v string) predicate.Report
- func DeletedByLTE(v string) predicate.Report
- func DeletedByNEQ(v string) predicate.Report
- func DeletedByNotIn(vs ...string) predicate.Report
- func DeletedByNotNil() predicate.Report
- func DisplayID(v string) predicate.Report
- func DisplayIDContains(v string) predicate.Report
- func DisplayIDContainsFold(v string) predicate.Report
- func DisplayIDEQ(v string) predicate.Report
- func DisplayIDEqualFold(v string) predicate.Report
- func DisplayIDGT(v string) predicate.Report
- func DisplayIDGTE(v string) predicate.Report
- func DisplayIDHasPrefix(v string) predicate.Report
- func DisplayIDHasSuffix(v string) predicate.Report
- func DisplayIDIn(vs ...string) predicate.Report
- func DisplayIDLT(v string) predicate.Report
- func DisplayIDLTE(v string) predicate.Report
- func DisplayIDNEQ(v string) predicate.Report
- func DisplayIDNotIn(vs ...string) predicate.Report
- func HasBlockedGroups() predicate.Report
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Report
- func HasEditors() predicate.Report
- func HasEditorsWith(preds ...predicate.Group) predicate.Report
- func HasMembers() predicate.Report
- func HasMembersWith(preds ...predicate.ReportMembership) predicate.Report
- func HasOwner() predicate.Report
- func HasOwnerWith(preds ...predicate.Organization) predicate.Report
- func HasReportKind() predicate.Report
- func HasReportKindWith(preds ...predicate.CustomTypeEnum) predicate.Report
- func HasReportOwner() predicate.Report
- func HasReportOwnerWith(preds ...predicate.User) predicate.Report
- func HasUsers() predicate.Report
- func HasUsersWith(preds ...predicate.User) predicate.Report
- func HasViewers() predicate.Report
- func HasViewersWith(preds ...predicate.Group) predicate.Report
- func ID(id string) predicate.Report
- func IDContainsFold(id string) predicate.Report
- func IDEQ(id string) predicate.Report
- func IDEqualFold(id string) predicate.Report
- func IDGT(id string) predicate.Report
- func IDGTE(id string) predicate.Report
- func IDIn(ids ...string) predicate.Report
- func IDLT(id string) predicate.Report
- func IDLTE(id string) predicate.Report
- func IDNEQ(id string) predicate.Report
- func IDNotIn(ids ...string) predicate.Report
- func Name(v string) predicate.Report
- func NameContains(v string) predicate.Report
- func NameContainsFold(v string) predicate.Report
- func NameEQ(v string) predicate.Report
- func NameEqualFold(v string) predicate.Report
- func NameGT(v string) predicate.Report
- func NameGTE(v string) predicate.Report
- func NameHasPrefix(v string) predicate.Report
- func NameHasSuffix(v string) predicate.Report
- func NameIn(vs ...string) predicate.Report
- func NameLT(v string) predicate.Report
- func NameLTE(v string) predicate.Report
- func NameNEQ(v string) predicate.Report
- func NameNotIn(vs ...string) predicate.Report
- func Not(p predicate.Report) predicate.Report
- func Or(predicates ...predicate.Report) predicate.Report
- func OwnerID(v string) predicate.Report
- func OwnerIDContains(v string) predicate.Report
- func OwnerIDContainsFold(v string) predicate.Report
- func OwnerIDEQ(v string) predicate.Report
- func OwnerIDEqualFold(v string) predicate.Report
- func OwnerIDGT(v string) predicate.Report
- func OwnerIDGTE(v string) predicate.Report
- func OwnerIDHasPrefix(v string) predicate.Report
- func OwnerIDHasSuffix(v string) predicate.Report
- func OwnerIDIn(vs ...string) predicate.Report
- func OwnerIDIsNil() predicate.Report
- func OwnerIDLT(v string) predicate.Report
- func OwnerIDLTE(v string) predicate.Report
- func OwnerIDNEQ(v string) predicate.Report
- func OwnerIDNotIn(vs ...string) predicate.Report
- func OwnerIDNotNil() predicate.Report
- func Query(v string) predicate.Report
- func QueryContains(v string) predicate.Report
- func QueryContainsFold(v string) predicate.Report
- func QueryEQ(v string) predicate.Report
- func QueryEqualFold(v string) predicate.Report
- func QueryGT(v string) predicate.Report
- func QueryGTE(v string) predicate.Report
- func QueryHasPrefix(v string) predicate.Report
- func QueryHasSuffix(v string) predicate.Report
- func QueryIn(vs ...string) predicate.Report
- func QueryLT(v string) predicate.Report
- func QueryLTE(v string) predicate.Report
- func QueryNEQ(v string) predicate.Report
- func QueryNotIn(vs ...string) predicate.Report
- func ReportKindID(v string) predicate.Report
- func ReportKindIDContains(v string) predicate.Report
- func ReportKindIDContainsFold(v string) predicate.Report
- func ReportKindIDEQ(v string) predicate.Report
- func ReportKindIDEqualFold(v string) predicate.Report
- func ReportKindIDGT(v string) predicate.Report
- func ReportKindIDGTE(v string) predicate.Report
- func ReportKindIDHasPrefix(v string) predicate.Report
- func ReportKindIDHasSuffix(v string) predicate.Report
- func ReportKindIDIn(vs ...string) predicate.Report
- func ReportKindIDIsNil() predicate.Report
- func ReportKindIDLT(v string) predicate.Report
- func ReportKindIDLTE(v string) predicate.Report
- func ReportKindIDNEQ(v string) predicate.Report
- func ReportKindIDNotIn(vs ...string) predicate.Report
- func ReportKindIDNotNil() predicate.Report
- func ReportKindName(v string) predicate.Report
- func ReportKindNameContains(v string) predicate.Report
- func ReportKindNameContainsFold(v string) predicate.Report
- func ReportKindNameEQ(v string) predicate.Report
- func ReportKindNameEqualFold(v string) predicate.Report
- func ReportKindNameGT(v string) predicate.Report
- func ReportKindNameGTE(v string) predicate.Report
- func ReportKindNameHasPrefix(v string) predicate.Report
- func ReportKindNameHasSuffix(v string) predicate.Report
- func ReportKindNameIn(vs ...string) predicate.Report
- func ReportKindNameIsNil() predicate.Report
- func ReportKindNameLT(v string) predicate.Report
- func ReportKindNameLTE(v string) predicate.Report
- func ReportKindNameNEQ(v string) predicate.Report
- func ReportKindNameNotIn(vs ...string) predicate.Report
- func ReportKindNameNotNil() predicate.Report
- func ReportOwnerID(v string) predicate.Report
- func ReportOwnerIDContains(v string) predicate.Report
- func ReportOwnerIDContainsFold(v string) predicate.Report
- func ReportOwnerIDEQ(v string) predicate.Report
- func ReportOwnerIDEqualFold(v string) predicate.Report
- func ReportOwnerIDGT(v string) predicate.Report
- func ReportOwnerIDGTE(v string) predicate.Report
- func ReportOwnerIDHasPrefix(v string) predicate.Report
- func ReportOwnerIDHasSuffix(v string) predicate.Report
- func ReportOwnerIDIn(vs ...string) predicate.Report
- func ReportOwnerIDIsNil() predicate.Report
- func ReportOwnerIDLT(v string) predicate.Report
- func ReportOwnerIDLTE(v string) predicate.Report
- func ReportOwnerIDNEQ(v string) predicate.Report
- func ReportOwnerIDNotIn(vs ...string) predicate.Report
- func ReportOwnerIDNotNil() predicate.Report
- func RequestorID(v string) predicate.Report
- func RequestorIDContains(v string) predicate.Report
- func RequestorIDContainsFold(v string) predicate.Report
- func RequestorIDEQ(v string) predicate.Report
- func RequestorIDEqualFold(v string) predicate.Report
- func RequestorIDGT(v string) predicate.Report
- func RequestorIDGTE(v string) predicate.Report
- func RequestorIDHasPrefix(v string) predicate.Report
- func RequestorIDHasSuffix(v string) predicate.Report
- func RequestorIDIn(vs ...string) predicate.Report
- func RequestorIDIsNil() predicate.Report
- func RequestorIDLT(v string) predicate.Report
- func RequestorIDLTE(v string) predicate.Report
- func RequestorIDNEQ(v string) predicate.Report
- func RequestorIDNotIn(vs ...string) predicate.Report
- func RequestorIDNotNil() predicate.Report
- func StatusEQ(v enums.ReportStatus) predicate.Report
- func StatusIn(vs ...enums.ReportStatus) predicate.Report
- func StatusNEQ(v enums.ReportStatus) predicate.Report
- func StatusNotIn(vs ...enums.ReportStatus) predicate.Report
- func StatusValidator(s enums.ReportStatus) error
- func TagsIsNil() predicate.Report
- func TagsNotNil() predicate.Report
- func UpdatedAt(v time.Time) predicate.Report
- func UpdatedAtEQ(v time.Time) predicate.Report
- func UpdatedAtGT(v time.Time) predicate.Report
- func UpdatedAtGTE(v time.Time) predicate.Report
- func UpdatedAtIn(vs ...time.Time) predicate.Report
- func UpdatedAtIsNil() predicate.Report
- func UpdatedAtLT(v time.Time) predicate.Report
- func UpdatedAtLTE(v time.Time) predicate.Report
- func UpdatedAtNEQ(v time.Time) predicate.Report
- func UpdatedAtNotIn(vs ...time.Time) predicate.Report
- func UpdatedAtNotNil() predicate.Report
- func UpdatedBy(v string) predicate.Report
- func UpdatedByContains(v string) predicate.Report
- func UpdatedByContainsFold(v string) predicate.Report
- func UpdatedByEQ(v string) predicate.Report
- func UpdatedByEqualFold(v string) predicate.Report
- func UpdatedByGT(v string) predicate.Report
- func UpdatedByGTE(v string) predicate.Report
- func UpdatedByHasPrefix(v string) predicate.Report
- func UpdatedByHasSuffix(v string) predicate.Report
- func UpdatedByImpersonator(v string) predicate.Report
- func UpdatedByImpersonatorContains(v string) predicate.Report
- func UpdatedByImpersonatorContainsFold(v string) predicate.Report
- func UpdatedByImpersonatorEQ(v string) predicate.Report
- func UpdatedByImpersonatorEqualFold(v string) predicate.Report
- func UpdatedByImpersonatorGT(v string) predicate.Report
- func UpdatedByImpersonatorGTE(v string) predicate.Report
- func UpdatedByImpersonatorHasPrefix(v string) predicate.Report
- func UpdatedByImpersonatorHasSuffix(v string) predicate.Report
- func UpdatedByImpersonatorIn(vs ...string) predicate.Report
- func UpdatedByImpersonatorIsNil() predicate.Report
- func UpdatedByImpersonatorLT(v string) predicate.Report
- func UpdatedByImpersonatorLTE(v string) predicate.Report
- func UpdatedByImpersonatorNEQ(v string) predicate.Report
- func UpdatedByImpersonatorNotIn(vs ...string) predicate.Report
- func UpdatedByImpersonatorNotNil() predicate.Report
- func UpdatedByIn(vs ...string) predicate.Report
- func UpdatedByIsNil() predicate.Report
- func UpdatedByLT(v string) predicate.Report
- func UpdatedByLTE(v string) predicate.Report
- func UpdatedByNEQ(v string) predicate.Report
- func UpdatedByNotIn(vs ...string) predicate.Report
- func UpdatedByNotNil() predicate.Report
- func ValidColumn(column string) bool
- func VariablesIsNil() predicate.Report
- func VariablesNotNil() predicate.Report
- func VisibilityEQ(v enums.ReportVisibility) predicate.Report
- func VisibilityIn(vs ...enums.ReportVisibility) predicate.Report
- func VisibilityIsNil() predicate.Report
- func VisibilityNEQ(v enums.ReportVisibility) predicate.Report
- func VisibilityNotIn(vs ...enums.ReportVisibility) predicate.Report
- func VisibilityNotNil() predicate.Report
- func VisibilityValidator(v enums.ReportVisibility) error
- 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 ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByQuery(opts ...sql.OrderTermOption) OrderOption
- func ByReportKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReportKindID(opts ...sql.OrderTermOption) OrderOption
- func ByReportKindName(opts ...sql.OrderTermOption) OrderOption
- func ByReportOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReportOwnerID(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
- func ByUpdatedByImpersonator(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
- func ByVisibility(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the report type in the database. Label = "report" // 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" // FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database. FieldUpdatedByImpersonator = "updated_by_impersonator" // 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" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldRequestorID holds the string denoting the requestor_id field in the database. FieldRequestorID = "requestor_id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldReportKindName holds the string denoting the report_kind_name field in the database. FieldReportKindName = "report_kind_name" // FieldReportKindID holds the string denoting the report_kind_id field in the database. FieldReportKindID = "report_kind_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldQuery holds the string denoting the query field in the database. FieldQuery = "query" // FieldVariables holds the string denoting the variables field in the database. FieldVariables = "variables" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldVisibility holds the string denoting the visibility field in the database. FieldVisibility = "visibility" // FieldReportOwnerID holds the string denoting the report_owner_id field in the database. FieldReportOwnerID = "report_owner_id" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // 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" // EdgeViewers holds the string denoting the viewers edge name in mutations. EdgeViewers = "viewers" // EdgeReportKind holds the string denoting the report_kind edge name in mutations. EdgeReportKind = "report_kind" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeReportOwner holds the string denoting the report_owner edge name in mutations. EdgeReportOwner = "report_owner" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // Table holds the table name of the report in the database. Table = "reports" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "reports" // 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" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "report_blocked_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" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "report_editors" // 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" // ViewersTable is the table that holds the viewers relation/edge. The primary key declared below. ViewersTable = "report_viewers" // ViewersInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ViewersInverseTable = "groups" // ReportKindTable is the table that holds the report_kind relation/edge. ReportKindTable = "reports" // ReportKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. ReportKindInverseTable = "custom_type_enums" // ReportKindColumn is the table column denoting the report_kind relation/edge. ReportKindColumn = "report_kind_id" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "report_memberships" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // ReportOwnerTable is the table that holds the report_owner relation/edge. ReportOwnerTable = "reports" // ReportOwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ReportOwnerInverseTable = "users" // ReportOwnerColumn is the table column denoting the report_owner relation/edge. ReportOwnerColumn = "report_owner_id" // MembersTable is the table that holds the members relation/edge. MembersTable = "report_memberships" // MembersInverseTable is the table name for the ReportMembership entity. // It exists in this package in order to avoid circular dependency with the "reportmembership" package. MembersInverseTable = "report_memberships" // MembersColumn is the table column denoting the members relation/edge. MembersColumn = "report_id" )
const DefaultStatus enums.ReportStatus = "DRAFT"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"report_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"report_id", "group_id"} // ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the // primary key for the viewers relation (M2M). ViewersPrimaryKey = []string{"report_id", "group_id"} // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "report_id"} )
var ( Hooks [14]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 // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // RequestorIDValidator is a validator for the "requestor_id" field. It is called by the builders before save. RequestorIDValidator func(string) error // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // QueryValidator is a validator for the "query" field. It is called by the builders before save. QueryValidator 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/v2/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldUpdatedByImpersonator, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldRequestorID, FieldOwnerID, FieldReportKindName, FieldReportKindID, FieldName, FieldQuery, FieldVariables, FieldStatus, FieldVisibility, FieldReportOwnerID, }
Columns holds all SQL columns for report 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 DisplayID ¶
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func HasBlockedGroups ¶
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasEditors ¶
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasMembers ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
func HasMembersWith(preds ...predicate.ReportMembership) predicate.Report
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Report
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasReportKind ¶
HasReportKind applies the HasEdge predicate on the "report_kind" edge.
func HasReportKindWith ¶
func HasReportKindWith(preds ...predicate.CustomTypeEnum) predicate.Report
HasReportKindWith applies the HasEdge predicate on the "report_kind" edge with a given conditions (other predicates).
func HasReportOwner ¶
HasReportOwner applies the HasEdge predicate on the "report_owner" edge.
func HasReportOwnerWith ¶
HasReportOwnerWith applies the HasEdge predicate on the "report_owner" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func HasViewers ¶
HasViewers applies the HasEdge predicate on the "viewers" edge.
func HasViewersWith ¶
HasViewersWith applies the HasEdge predicate on the "viewers" 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 NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" 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 Query ¶
Query applies equality check predicate on the "query" field. It's identical to QueryEQ.
func QueryContains ¶
QueryContains applies the Contains predicate on the "query" field.
func QueryContainsFold ¶
QueryContainsFold applies the ContainsFold predicate on the "query" field.
func QueryEqualFold ¶
QueryEqualFold applies the EqualFold predicate on the "query" field.
func QueryHasPrefix ¶
QueryHasPrefix applies the HasPrefix predicate on the "query" field.
func QueryHasSuffix ¶
QueryHasSuffix applies the HasSuffix predicate on the "query" field.
func QueryNotIn ¶
QueryNotIn applies the NotIn predicate on the "query" field.
func ReportKindID ¶
ReportKindID applies equality check predicate on the "report_kind_id" field. It's identical to ReportKindIDEQ.
func ReportKindIDContains ¶
ReportKindIDContains applies the Contains predicate on the "report_kind_id" field.
func ReportKindIDContainsFold ¶
ReportKindIDContainsFold applies the ContainsFold predicate on the "report_kind_id" field.
func ReportKindIDEQ ¶
ReportKindIDEQ applies the EQ predicate on the "report_kind_id" field.
func ReportKindIDEqualFold ¶
ReportKindIDEqualFold applies the EqualFold predicate on the "report_kind_id" field.
func ReportKindIDGT ¶
ReportKindIDGT applies the GT predicate on the "report_kind_id" field.
func ReportKindIDGTE ¶
ReportKindIDGTE applies the GTE predicate on the "report_kind_id" field.
func ReportKindIDHasPrefix ¶
ReportKindIDHasPrefix applies the HasPrefix predicate on the "report_kind_id" field.
func ReportKindIDHasSuffix ¶
ReportKindIDHasSuffix applies the HasSuffix predicate on the "report_kind_id" field.
func ReportKindIDIn ¶
ReportKindIDIn applies the In predicate on the "report_kind_id" field.
func ReportKindIDIsNil ¶
ReportKindIDIsNil applies the IsNil predicate on the "report_kind_id" field.
func ReportKindIDLT ¶
ReportKindIDLT applies the LT predicate on the "report_kind_id" field.
func ReportKindIDLTE ¶
ReportKindIDLTE applies the LTE predicate on the "report_kind_id" field.
func ReportKindIDNEQ ¶
ReportKindIDNEQ applies the NEQ predicate on the "report_kind_id" field.
func ReportKindIDNotIn ¶
ReportKindIDNotIn applies the NotIn predicate on the "report_kind_id" field.
func ReportKindIDNotNil ¶
ReportKindIDNotNil applies the NotNil predicate on the "report_kind_id" field.
func ReportKindName ¶
ReportKindName applies equality check predicate on the "report_kind_name" field. It's identical to ReportKindNameEQ.
func ReportKindNameContains ¶
ReportKindNameContains applies the Contains predicate on the "report_kind_name" field.
func ReportKindNameContainsFold ¶
ReportKindNameContainsFold applies the ContainsFold predicate on the "report_kind_name" field.
func ReportKindNameEQ ¶
ReportKindNameEQ applies the EQ predicate on the "report_kind_name" field.
func ReportKindNameEqualFold ¶
ReportKindNameEqualFold applies the EqualFold predicate on the "report_kind_name" field.
func ReportKindNameGT ¶
ReportKindNameGT applies the GT predicate on the "report_kind_name" field.
func ReportKindNameGTE ¶
ReportKindNameGTE applies the GTE predicate on the "report_kind_name" field.
func ReportKindNameHasPrefix ¶
ReportKindNameHasPrefix applies the HasPrefix predicate on the "report_kind_name" field.
func ReportKindNameHasSuffix ¶
ReportKindNameHasSuffix applies the HasSuffix predicate on the "report_kind_name" field.
func ReportKindNameIn ¶
ReportKindNameIn applies the In predicate on the "report_kind_name" field.
func ReportKindNameIsNil ¶
ReportKindNameIsNil applies the IsNil predicate on the "report_kind_name" field.
func ReportKindNameLT ¶
ReportKindNameLT applies the LT predicate on the "report_kind_name" field.
func ReportKindNameLTE ¶
ReportKindNameLTE applies the LTE predicate on the "report_kind_name" field.
func ReportKindNameNEQ ¶
ReportKindNameNEQ applies the NEQ predicate on the "report_kind_name" field.
func ReportKindNameNotIn ¶
ReportKindNameNotIn applies the NotIn predicate on the "report_kind_name" field.
func ReportKindNameNotNil ¶
ReportKindNameNotNil applies the NotNil predicate on the "report_kind_name" field.
func ReportOwnerID ¶
ReportOwnerID applies equality check predicate on the "report_owner_id" field. It's identical to ReportOwnerIDEQ.
func ReportOwnerIDContains ¶
ReportOwnerIDContains applies the Contains predicate on the "report_owner_id" field.
func ReportOwnerIDContainsFold ¶
ReportOwnerIDContainsFold applies the ContainsFold predicate on the "report_owner_id" field.
func ReportOwnerIDEQ ¶
ReportOwnerIDEQ applies the EQ predicate on the "report_owner_id" field.
func ReportOwnerIDEqualFold ¶
ReportOwnerIDEqualFold applies the EqualFold predicate on the "report_owner_id" field.
func ReportOwnerIDGT ¶
ReportOwnerIDGT applies the GT predicate on the "report_owner_id" field.
func ReportOwnerIDGTE ¶
ReportOwnerIDGTE applies the GTE predicate on the "report_owner_id" field.
func ReportOwnerIDHasPrefix ¶
ReportOwnerIDHasPrefix applies the HasPrefix predicate on the "report_owner_id" field.
func ReportOwnerIDHasSuffix ¶
ReportOwnerIDHasSuffix applies the HasSuffix predicate on the "report_owner_id" field.
func ReportOwnerIDIn ¶
ReportOwnerIDIn applies the In predicate on the "report_owner_id" field.
func ReportOwnerIDIsNil ¶
ReportOwnerIDIsNil applies the IsNil predicate on the "report_owner_id" field.
func ReportOwnerIDLT ¶
ReportOwnerIDLT applies the LT predicate on the "report_owner_id" field.
func ReportOwnerIDLTE ¶
ReportOwnerIDLTE applies the LTE predicate on the "report_owner_id" field.
func ReportOwnerIDNEQ ¶
ReportOwnerIDNEQ applies the NEQ predicate on the "report_owner_id" field.
func ReportOwnerIDNotIn ¶
ReportOwnerIDNotIn applies the NotIn predicate on the "report_owner_id" field.
func ReportOwnerIDNotNil ¶
ReportOwnerIDNotNil applies the NotNil predicate on the "report_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.ReportStatus) predicate.Report
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.ReportStatus) predicate.Report
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.ReportStatus) predicate.Report
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.ReportStatus) predicate.Report
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.ReportStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
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 UpdatedByImpersonator ¶
UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.
func UpdatedByImpersonatorContains ¶
UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorContainsFold ¶
UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorEQ ¶
UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorEqualFold ¶
UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorGT ¶
UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorGTE ¶
UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorHasPrefix ¶
UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorHasSuffix ¶
UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorIn ¶
UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorIsNil ¶
UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorLT ¶
UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorLTE ¶
UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNEQ ¶
UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNotIn ¶
UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNotNil ¶
UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" 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).
func VariablesIsNil ¶
VariablesIsNil applies the IsNil predicate on the "variables" field.
func VariablesNotNil ¶
VariablesNotNil applies the NotNil predicate on the "variables" field.
func VisibilityEQ ¶
func VisibilityEQ(v enums.ReportVisibility) predicate.Report
VisibilityEQ applies the EQ predicate on the "visibility" field.
func VisibilityIn ¶
func VisibilityIn(vs ...enums.ReportVisibility) predicate.Report
VisibilityIn applies the In predicate on the "visibility" field.
func VisibilityIsNil ¶
VisibilityIsNil applies the IsNil predicate on the "visibility" field.
func VisibilityNEQ ¶
func VisibilityNEQ(v enums.ReportVisibility) predicate.Report
VisibilityNEQ applies the NEQ predicate on the "visibility" field.
func VisibilityNotIn ¶
func VisibilityNotIn(vs ...enums.ReportVisibility) predicate.Report
VisibilityNotIn applies the NotIn predicate on the "visibility" field.
func VisibilityNotNil ¶
VisibilityNotNil applies the NotNil predicate on the "visibility" field.
func VisibilityValidator ¶
func VisibilityValidator(v enums.ReportVisibility) error
VisibilityValidator is a validator for the "visibility" field enum values. It is called by the builders before save.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Report queries.
func ByBlockedGroups ¶
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶
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 ByDisplayID ¶
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByEditors ¶
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMembers ¶
func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMembers orders the results by members terms.
func ByMembersCount ¶
func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
ByMembersCount orders the results by members count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByQuery ¶
func ByQuery(opts ...sql.OrderTermOption) OrderOption
ByQuery orders the results by the query field.
func ByReportKindField ¶
func ByReportKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByReportKindField orders the results by report_kind field.
func ByReportKindID ¶
func ByReportKindID(opts ...sql.OrderTermOption) OrderOption
ByReportKindID orders the results by the report_kind_id field.
func ByReportKindName ¶
func ByReportKindName(opts ...sql.OrderTermOption) OrderOption
ByReportKindName orders the results by the report_kind_name field.
func ByReportOwnerField ¶
func ByReportOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByReportOwnerField orders the results by report_owner field.
func ByReportOwnerID ¶
func ByReportOwnerID(opts ...sql.OrderTermOption) OrderOption
ByReportOwnerID orders the results by the report_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.
func ByUpdatedByImpersonator ¶
func ByUpdatedByImpersonator(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.
func ByViewers ¶
func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByViewers orders the results by viewers terms.
func ByViewersCount ¶
func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
ByViewersCount orders the results by viewers count.
func ByVisibility ¶
func ByVisibility(opts ...sql.OrderTermOption) OrderOption
ByVisibility orders the results by the visibility field.