report

package
v2.17.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultStatus enums.ReportStatus = "DRAFT"

Variables

View Source
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"}
)
View Source
var (
	Hooks        [14]ent.Hook
	Interceptors [4]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"

Columns holds all SQL columns for report fields.

Functions

func And

func And(predicates ...predicate.Report) predicate.Report

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Report

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Report

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Report

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Report

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Report

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Report

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Report

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Report

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Report

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

func CreatedBy

func CreatedBy(v string) predicate.Report

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

func CreatedByContains

func CreatedByContains(v string) predicate.Report

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Report

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Report

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Report

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

func CreatedByGT

func CreatedByGT(v string) predicate.Report

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Report

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Report

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Report

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Report

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

func CreatedByLT

func CreatedByLT(v string) predicate.Report

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Report

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Report

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Report

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Report

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Report

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Report

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Report

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Report

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Report

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Report

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Report

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Report

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

func DeletedBy

func DeletedBy(v string) predicate.Report

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

func DeletedByContains

func DeletedByContains(v string) predicate.Report

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Report

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Report

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Report

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

func DeletedByGT

func DeletedByGT(v string) predicate.Report

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Report

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Report

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Report

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Report

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

func DeletedByLT

func DeletedByLT(v string) predicate.Report

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Report

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Report

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Report

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

func DisplayID

func DisplayID(v string) predicate.Report

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.Report

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.Report

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.Report

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.Report

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.Report

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.Report

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.Report

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.Report

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

func DisplayIDIn(vs ...string) predicate.Report

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.Report

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.Report

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.Report

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

func DisplayIDNotIn(vs ...string) predicate.Report

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func HasBlockedGroups

func HasBlockedGroups() predicate.Report

HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.

func HasBlockedGroupsWith

func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Report

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

func HasEditors

func HasEditors() predicate.Report

HasEditors applies the HasEdge predicate on the "editors" edge.

func HasEditorsWith

func HasEditorsWith(preds ...predicate.Group) predicate.Report

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

func HasMembers

func HasMembers() predicate.Report

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 HasOwner

func HasOwner() predicate.Report

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

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

func HasReportKind() predicate.Report

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

func HasReportOwner() predicate.Report

HasReportOwner applies the HasEdge predicate on the "report_owner" edge.

func HasReportOwnerWith

func HasReportOwnerWith(preds ...predicate.User) predicate.Report

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

func HasUsers

func HasUsers() predicate.Report

HasUsers applies the HasEdge predicate on the "users" edge.

func HasUsersWith

func HasUsersWith(preds ...predicate.User) predicate.Report

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

func HasViewers

func HasViewers() predicate.Report

HasViewers applies the HasEdge predicate on the "viewers" edge.

func HasViewersWith

func HasViewersWith(preds ...predicate.Group) predicate.Report

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

func ID

func ID(id string) predicate.Report

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Report

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Report

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Report

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Report

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Report

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Report

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Report

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Report

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Report

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Report

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Report

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Report

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Report

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Report

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Report

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Report

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Report

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Report

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Report

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Report

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Report

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Report

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Report) predicate.Report

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Report

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.Report

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Report

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Report

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Report

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.Report

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Report

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Report

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Report

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Report

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.Report

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Report

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Report

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Report

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

func Query

func Query(v string) predicate.Report

Query applies equality check predicate on the "query" field. It's identical to QueryEQ.

func QueryContains

func QueryContains(v string) predicate.Report

QueryContains applies the Contains predicate on the "query" field.

func QueryContainsFold

func QueryContainsFold(v string) predicate.Report

QueryContainsFold applies the ContainsFold predicate on the "query" field.

func QueryEQ

func QueryEQ(v string) predicate.Report

QueryEQ applies the EQ predicate on the "query" field.

func QueryEqualFold

func QueryEqualFold(v string) predicate.Report

QueryEqualFold applies the EqualFold predicate on the "query" field.

func QueryGT

func QueryGT(v string) predicate.Report

QueryGT applies the GT predicate on the "query" field.

func QueryGTE

func QueryGTE(v string) predicate.Report

QueryGTE applies the GTE predicate on the "query" field.

func QueryHasPrefix

func QueryHasPrefix(v string) predicate.Report

QueryHasPrefix applies the HasPrefix predicate on the "query" field.

func QueryHasSuffix

func QueryHasSuffix(v string) predicate.Report

QueryHasSuffix applies the HasSuffix predicate on the "query" field.

func QueryIn

func QueryIn(vs ...string) predicate.Report

QueryIn applies the In predicate on the "query" field.

func QueryLT

func QueryLT(v string) predicate.Report

QueryLT applies the LT predicate on the "query" field.

func QueryLTE

func QueryLTE(v string) predicate.Report

QueryLTE applies the LTE predicate on the "query" field.

func QueryNEQ

func QueryNEQ(v string) predicate.Report

QueryNEQ applies the NEQ predicate on the "query" field.

func QueryNotIn

func QueryNotIn(vs ...string) predicate.Report

QueryNotIn applies the NotIn predicate on the "query" field.

func ReportKindID

func ReportKindID(v string) predicate.Report

ReportKindID applies equality check predicate on the "report_kind_id" field. It's identical to ReportKindIDEQ.

func ReportKindIDContains

func ReportKindIDContains(v string) predicate.Report

ReportKindIDContains applies the Contains predicate on the "report_kind_id" field.

func ReportKindIDContainsFold

func ReportKindIDContainsFold(v string) predicate.Report

ReportKindIDContainsFold applies the ContainsFold predicate on the "report_kind_id" field.

func ReportKindIDEQ

func ReportKindIDEQ(v string) predicate.Report

ReportKindIDEQ applies the EQ predicate on the "report_kind_id" field.

func ReportKindIDEqualFold

func ReportKindIDEqualFold(v string) predicate.Report

ReportKindIDEqualFold applies the EqualFold predicate on the "report_kind_id" field.

func ReportKindIDGT

func ReportKindIDGT(v string) predicate.Report

ReportKindIDGT applies the GT predicate on the "report_kind_id" field.

func ReportKindIDGTE

func ReportKindIDGTE(v string) predicate.Report

ReportKindIDGTE applies the GTE predicate on the "report_kind_id" field.

func ReportKindIDHasPrefix

func ReportKindIDHasPrefix(v string) predicate.Report

ReportKindIDHasPrefix applies the HasPrefix predicate on the "report_kind_id" field.

func ReportKindIDHasSuffix

func ReportKindIDHasSuffix(v string) predicate.Report

ReportKindIDHasSuffix applies the HasSuffix predicate on the "report_kind_id" field.

func ReportKindIDIn

func ReportKindIDIn(vs ...string) predicate.Report

ReportKindIDIn applies the In predicate on the "report_kind_id" field.

func ReportKindIDIsNil

func ReportKindIDIsNil() predicate.Report

ReportKindIDIsNil applies the IsNil predicate on the "report_kind_id" field.

func ReportKindIDLT

func ReportKindIDLT(v string) predicate.Report

ReportKindIDLT applies the LT predicate on the "report_kind_id" field.

func ReportKindIDLTE

func ReportKindIDLTE(v string) predicate.Report

ReportKindIDLTE applies the LTE predicate on the "report_kind_id" field.

func ReportKindIDNEQ

func ReportKindIDNEQ(v string) predicate.Report

ReportKindIDNEQ applies the NEQ predicate on the "report_kind_id" field.

func ReportKindIDNotIn

func ReportKindIDNotIn(vs ...string) predicate.Report

ReportKindIDNotIn applies the NotIn predicate on the "report_kind_id" field.

func ReportKindIDNotNil

func ReportKindIDNotNil() predicate.Report

ReportKindIDNotNil applies the NotNil predicate on the "report_kind_id" field.

func ReportKindName

func ReportKindName(v string) predicate.Report

ReportKindName applies equality check predicate on the "report_kind_name" field. It's identical to ReportKindNameEQ.

func ReportKindNameContains

func ReportKindNameContains(v string) predicate.Report

ReportKindNameContains applies the Contains predicate on the "report_kind_name" field.

func ReportKindNameContainsFold

func ReportKindNameContainsFold(v string) predicate.Report

ReportKindNameContainsFold applies the ContainsFold predicate on the "report_kind_name" field.

func ReportKindNameEQ

func ReportKindNameEQ(v string) predicate.Report

ReportKindNameEQ applies the EQ predicate on the "report_kind_name" field.

func ReportKindNameEqualFold

func ReportKindNameEqualFold(v string) predicate.Report

ReportKindNameEqualFold applies the EqualFold predicate on the "report_kind_name" field.

func ReportKindNameGT

func ReportKindNameGT(v string) predicate.Report

ReportKindNameGT applies the GT predicate on the "report_kind_name" field.

func ReportKindNameGTE

func ReportKindNameGTE(v string) predicate.Report

ReportKindNameGTE applies the GTE predicate on the "report_kind_name" field.

func ReportKindNameHasPrefix

func ReportKindNameHasPrefix(v string) predicate.Report

ReportKindNameHasPrefix applies the HasPrefix predicate on the "report_kind_name" field.

func ReportKindNameHasSuffix

func ReportKindNameHasSuffix(v string) predicate.Report

ReportKindNameHasSuffix applies the HasSuffix predicate on the "report_kind_name" field.

func ReportKindNameIn

func ReportKindNameIn(vs ...string) predicate.Report

ReportKindNameIn applies the In predicate on the "report_kind_name" field.

func ReportKindNameIsNil

func ReportKindNameIsNil() predicate.Report

ReportKindNameIsNil applies the IsNil predicate on the "report_kind_name" field.

func ReportKindNameLT

func ReportKindNameLT(v string) predicate.Report

ReportKindNameLT applies the LT predicate on the "report_kind_name" field.

func ReportKindNameLTE

func ReportKindNameLTE(v string) predicate.Report

ReportKindNameLTE applies the LTE predicate on the "report_kind_name" field.

func ReportKindNameNEQ

func ReportKindNameNEQ(v string) predicate.Report

ReportKindNameNEQ applies the NEQ predicate on the "report_kind_name" field.

func ReportKindNameNotIn

func ReportKindNameNotIn(vs ...string) predicate.Report

ReportKindNameNotIn applies the NotIn predicate on the "report_kind_name" field.

func ReportKindNameNotNil

func ReportKindNameNotNil() predicate.Report

ReportKindNameNotNil applies the NotNil predicate on the "report_kind_name" field.

func ReportOwnerID

func ReportOwnerID(v string) predicate.Report

ReportOwnerID applies equality check predicate on the "report_owner_id" field. It's identical to ReportOwnerIDEQ.

func ReportOwnerIDContains

func ReportOwnerIDContains(v string) predicate.Report

ReportOwnerIDContains applies the Contains predicate on the "report_owner_id" field.

func ReportOwnerIDContainsFold

func ReportOwnerIDContainsFold(v string) predicate.Report

ReportOwnerIDContainsFold applies the ContainsFold predicate on the "report_owner_id" field.

func ReportOwnerIDEQ

func ReportOwnerIDEQ(v string) predicate.Report

ReportOwnerIDEQ applies the EQ predicate on the "report_owner_id" field.

func ReportOwnerIDEqualFold

func ReportOwnerIDEqualFold(v string) predicate.Report

ReportOwnerIDEqualFold applies the EqualFold predicate on the "report_owner_id" field.

func ReportOwnerIDGT

func ReportOwnerIDGT(v string) predicate.Report

ReportOwnerIDGT applies the GT predicate on the "report_owner_id" field.

func ReportOwnerIDGTE

func ReportOwnerIDGTE(v string) predicate.Report

ReportOwnerIDGTE applies the GTE predicate on the "report_owner_id" field.

func ReportOwnerIDHasPrefix

func ReportOwnerIDHasPrefix(v string) predicate.Report

ReportOwnerIDHasPrefix applies the HasPrefix predicate on the "report_owner_id" field.

func ReportOwnerIDHasSuffix

func ReportOwnerIDHasSuffix(v string) predicate.Report

ReportOwnerIDHasSuffix applies the HasSuffix predicate on the "report_owner_id" field.

func ReportOwnerIDIn

func ReportOwnerIDIn(vs ...string) predicate.Report

ReportOwnerIDIn applies the In predicate on the "report_owner_id" field.

func ReportOwnerIDIsNil

func ReportOwnerIDIsNil() predicate.Report

ReportOwnerIDIsNil applies the IsNil predicate on the "report_owner_id" field.

func ReportOwnerIDLT

func ReportOwnerIDLT(v string) predicate.Report

ReportOwnerIDLT applies the LT predicate on the "report_owner_id" field.

func ReportOwnerIDLTE

func ReportOwnerIDLTE(v string) predicate.Report

ReportOwnerIDLTE applies the LTE predicate on the "report_owner_id" field.

func ReportOwnerIDNEQ

func ReportOwnerIDNEQ(v string) predicate.Report

ReportOwnerIDNEQ applies the NEQ predicate on the "report_owner_id" field.

func ReportOwnerIDNotIn

func ReportOwnerIDNotIn(vs ...string) predicate.Report

ReportOwnerIDNotIn applies the NotIn predicate on the "report_owner_id" field.

func ReportOwnerIDNotNil

func ReportOwnerIDNotNil() predicate.Report

ReportOwnerIDNotNil applies the NotNil predicate on the "report_owner_id" field.

func RequestorID

func RequestorID(v string) predicate.Report

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

func RequestorIDContains

func RequestorIDContains(v string) predicate.Report

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

func RequestorIDContainsFold

func RequestorIDContainsFold(v string) predicate.Report

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

func RequestorIDEQ

func RequestorIDEQ(v string) predicate.Report

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

func RequestorIDEqualFold

func RequestorIDEqualFold(v string) predicate.Report

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

func RequestorIDGT

func RequestorIDGT(v string) predicate.Report

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

func RequestorIDGTE

func RequestorIDGTE(v string) predicate.Report

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

func RequestorIDHasPrefix

func RequestorIDHasPrefix(v string) predicate.Report

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

func RequestorIDHasSuffix

func RequestorIDHasSuffix(v string) predicate.Report

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

func RequestorIDIn

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

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

func RequestorIDIsNil

func RequestorIDIsNil() predicate.Report

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

func RequestorIDLT

func RequestorIDLT(v string) predicate.Report

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

func RequestorIDLTE

func RequestorIDLTE(v string) predicate.Report

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

func RequestorIDNEQ

func RequestorIDNEQ(v string) predicate.Report

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

func RequestorIDNotIn

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

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

func RequestorIDNotNil

func RequestorIDNotNil() predicate.Report

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 TagsIsNil

func TagsIsNil() predicate.Report

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Report

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Report

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Report

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Report

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Report

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Report

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Report

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Report

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Report

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Report

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

func UpdatedBy

func UpdatedBy(v string) predicate.Report

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Report

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Report

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Report

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Report

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Report

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Report

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Report

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Report

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

func UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.Report

UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.Report

UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.Report

UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.Report

UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.Report

UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.Report

UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.Report

UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.Report

UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.Report

UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIn

func UpdatedByImpersonatorIn(vs ...string) predicate.Report

UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.Report

UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.Report

UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.Report

UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.Report

UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotIn

func UpdatedByImpersonatorNotIn(vs ...string) predicate.Report

UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.Report

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Report

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Report

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Report

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Report

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Report

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VariablesIsNil

func VariablesIsNil() predicate.Report

VariablesIsNil applies the IsNil predicate on the "variables" field.

func VariablesNotNil

func VariablesNotNil() predicate.Report

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

func VisibilityIsNil() predicate.Report

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

func VisibilityNotNil() predicate.Report

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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