Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Entity) predicate.Entity
- func CanonicalEntityID(v string) predicate.Entity
- func CanonicalEntityIDContains(v string) predicate.Entity
- func CanonicalEntityIDContainsFold(v string) predicate.Entity
- func CanonicalEntityIDEQ(v string) predicate.Entity
- func CanonicalEntityIDEqualFold(v string) predicate.Entity
- func CanonicalEntityIDGT(v string) predicate.Entity
- func CanonicalEntityIDGTE(v string) predicate.Entity
- func CanonicalEntityIDHasPrefix(v string) predicate.Entity
- func CanonicalEntityIDHasSuffix(v string) predicate.Entity
- func CanonicalEntityIDIn(vs ...string) predicate.Entity
- func CanonicalEntityIDIsNil() predicate.Entity
- func CanonicalEntityIDLT(v string) predicate.Entity
- func CanonicalEntityIDLTE(v string) predicate.Entity
- func CanonicalEntityIDNEQ(v string) predicate.Entity
- func CanonicalEntityIDNotIn(vs ...string) predicate.Entity
- func CanonicalEntityIDNotNil() predicate.Entity
- func CreatedAt(v time.Time) predicate.Entity
- func CreatedAtEQ(v time.Time) predicate.Entity
- func CreatedAtGT(v time.Time) predicate.Entity
- func CreatedAtGTE(v time.Time) predicate.Entity
- func CreatedAtIn(vs ...time.Time) predicate.Entity
- func CreatedAtLT(v time.Time) predicate.Entity
- func CreatedAtLTE(v time.Time) predicate.Entity
- func CreatedAtNEQ(v time.Time) predicate.Entity
- func CreatedAtNotIn(vs ...time.Time) predicate.Entity
- func DisplayName(v string) predicate.Entity
- func DisplayNameContains(v string) predicate.Entity
- func DisplayNameContainsFold(v string) predicate.Entity
- func DisplayNameEQ(v string) predicate.Entity
- func DisplayNameEqualFold(v string) predicate.Entity
- func DisplayNameGT(v string) predicate.Entity
- func DisplayNameGTE(v string) predicate.Entity
- func DisplayNameHasPrefix(v string) predicate.Entity
- func DisplayNameHasSuffix(v string) predicate.Entity
- func DisplayNameIn(vs ...string) predicate.Entity
- func DisplayNameLT(v string) predicate.Entity
- func DisplayNameLTE(v string) predicate.Entity
- func DisplayNameNEQ(v string) predicate.Entity
- func DisplayNameNotIn(vs ...string) predicate.Entity
- func EntityID(v string) predicate.Entity
- func EntityIDContains(v string) predicate.Entity
- func EntityIDContainsFold(v string) predicate.Entity
- func EntityIDEQ(v string) predicate.Entity
- func EntityIDEqualFold(v string) predicate.Entity
- func EntityIDGT(v string) predicate.Entity
- func EntityIDGTE(v string) predicate.Entity
- func EntityIDHasPrefix(v string) predicate.Entity
- func EntityIDHasSuffix(v string) predicate.Entity
- func EntityIDIn(vs ...string) predicate.Entity
- func EntityIDLT(v string) predicate.Entity
- func EntityIDLTE(v string) predicate.Entity
- func EntityIDNEQ(v string) predicate.Entity
- func EntityIDNotIn(vs ...string) predicate.Entity
- func HasNormalizedIdentifiers() predicate.Entity
- func HasNormalizedIdentifiersWith(preds ...predicate.EntityIdentifier) predicate.Entity
- func HasNormalizedResourceRefs() predicate.Entity
- func HasNormalizedResourceRefsWith(preds ...predicate.EntityResourceRef) predicate.Entity
- func HasUser() predicate.Entity
- func HasUserWith(preds ...predicate.User) predicate.Entity
- func HasWorkspace() predicate.Entity
- func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.Entity
- func ID(id uuid.UUID) predicate.Entity
- func IDEQ(id uuid.UUID) predicate.Entity
- func IDGT(id uuid.UUID) predicate.Entity
- func IDGTE(id uuid.UUID) predicate.Entity
- func IDIn(ids ...uuid.UUID) predicate.Entity
- func IDLT(id uuid.UUID) predicate.Entity
- func IDLTE(id uuid.UUID) predicate.Entity
- func IDNEQ(id uuid.UUID) predicate.Entity
- func IDNotIn(ids ...uuid.UUID) predicate.Entity
- func Kind(v string) predicate.Entity
- func KindContains(v string) predicate.Entity
- func KindContainsFold(v string) predicate.Entity
- func KindEQ(v string) predicate.Entity
- func KindEqualFold(v string) predicate.Entity
- func KindGT(v string) predicate.Entity
- func KindGTE(v string) predicate.Entity
- func KindHasPrefix(v string) predicate.Entity
- func KindHasSuffix(v string) predicate.Entity
- func KindIn(vs ...string) predicate.Entity
- func KindLT(v string) predicate.Entity
- func KindLTE(v string) predicate.Entity
- func KindNEQ(v string) predicate.Entity
- func KindNotIn(vs ...string) predicate.Entity
- func Not(p predicate.Entity) predicate.Entity
- func OneLineSummary(v string) predicate.Entity
- func OneLineSummaryContains(v string) predicate.Entity
- func OneLineSummaryContainsFold(v string) predicate.Entity
- func OneLineSummaryEQ(v string) predicate.Entity
- func OneLineSummaryEqualFold(v string) predicate.Entity
- func OneLineSummaryGT(v string) predicate.Entity
- func OneLineSummaryGTE(v string) predicate.Entity
- func OneLineSummaryHasPrefix(v string) predicate.Entity
- func OneLineSummaryHasSuffix(v string) predicate.Entity
- func OneLineSummaryIn(vs ...string) predicate.Entity
- func OneLineSummaryIsNil() predicate.Entity
- func OneLineSummaryLT(v string) predicate.Entity
- func OneLineSummaryLTE(v string) predicate.Entity
- func OneLineSummaryNEQ(v string) predicate.Entity
- func OneLineSummaryNotIn(vs ...string) predicate.Entity
- func OneLineSummaryNotNil() predicate.Entity
- func Or(predicates ...predicate.Entity) predicate.Entity
- func Status(v string) predicate.Entity
- func StatusContains(v string) predicate.Entity
- func StatusContainsFold(v string) predicate.Entity
- func StatusEQ(v string) predicate.Entity
- func StatusEqualFold(v string) predicate.Entity
- func StatusGT(v string) predicate.Entity
- func StatusGTE(v string) predicate.Entity
- func StatusHasPrefix(v string) predicate.Entity
- func StatusHasSuffix(v string) predicate.Entity
- func StatusIn(vs ...string) predicate.Entity
- func StatusLT(v string) predicate.Entity
- func StatusLTE(v string) predicate.Entity
- func StatusNEQ(v string) predicate.Entity
- func StatusNotIn(vs ...string) predicate.Entity
- func UpdatedAt(v time.Time) predicate.Entity
- func UpdatedAtEQ(v time.Time) predicate.Entity
- func UpdatedAtGT(v time.Time) predicate.Entity
- func UpdatedAtGTE(v time.Time) predicate.Entity
- func UpdatedAtIn(vs ...time.Time) predicate.Entity
- func UpdatedAtLT(v time.Time) predicate.Entity
- func UpdatedAtLTE(v time.Time) predicate.Entity
- func UpdatedAtNEQ(v time.Time) predicate.Entity
- func UpdatedAtNotIn(vs ...time.Time) predicate.Entity
- func ValidColumn(column string) bool
- func Version(v int) predicate.Entity
- func VersionEQ(v int) predicate.Entity
- func VersionGT(v int) predicate.Entity
- func VersionGTE(v int) predicate.Entity
- func VersionIn(vs ...int) predicate.Entity
- func VersionLT(v int) predicate.Entity
- func VersionLTE(v int) predicate.Entity
- func VersionNEQ(v int) predicate.Entity
- func VersionNotIn(vs ...int) predicate.Entity
- type OrderOption
- func ByCanonicalEntityID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByEntityID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByNormalizedIdentifiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNormalizedIdentifiersCount(opts ...sql.OrderTermOption) OrderOption
- func ByNormalizedResourceRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNormalizedResourceRefsCount(opts ...sql.OrderTermOption) OrderOption
- func ByOneLineSummary(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the entity type in the database. Label = "entity" // 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" // FieldEntityID holds the string denoting the entity_id field in the database. FieldEntityID = "entity_id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldResourceRefs holds the string denoting the resource_refs field in the database. FieldResourceRefs = "resource_refs" // FieldIdentifiers holds the string denoting the identifiers field in the database. FieldIdentifiers = "identifiers" // FieldOneLineSummary holds the string denoting the one_line_summary field in the database. FieldOneLineSummary = "one_line_summary" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCanonicalEntityID holds the string denoting the canonical_entity_id field in the database. FieldCanonicalEntityID = "canonical_entity_id" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeNormalizedResourceRefs holds the string denoting the normalized_resource_refs edge name in mutations. EdgeNormalizedResourceRefs = "normalized_resource_refs" // EdgeNormalizedIdentifiers holds the string denoting the normalized_identifiers edge name in mutations. EdgeNormalizedIdentifiers = "normalized_identifiers" // Table holds the table name of the entity in the database. Table = "entities" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "entities" // WorkspaceInverseTable is the table name for the RevenueWorkspace entity. // It exists in this package in order to avoid circular dependency with the "revenueworkspace" package. WorkspaceInverseTable = "revenue_workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "revenue_workspace_id" // UserTable is the table that holds the user relation/edge. UserTable = "entities" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_entities" // NormalizedResourceRefsTable is the table that holds the normalized_resource_refs relation/edge. NormalizedResourceRefsTable = "entity_resource_refs" // NormalizedResourceRefsInverseTable is the table name for the EntityResourceRef entity. // It exists in this package in order to avoid circular dependency with the "entityresourceref" package. NormalizedResourceRefsInverseTable = "entity_resource_refs" // NormalizedResourceRefsColumn is the table column denoting the normalized_resource_refs relation/edge. NormalizedResourceRefsColumn = "entity_normalized_resource_refs" // NormalizedIdentifiersTable is the table that holds the normalized_identifiers relation/edge. NormalizedIdentifiersTable = "entity_identifiers" // NormalizedIdentifiersInverseTable is the table name for the EntityIdentifier entity. // It exists in this package in order to avoid circular dependency with the "entityidentifier" package. NormalizedIdentifiersInverseTable = "entity_identifiers" // NormalizedIdentifiersColumn is the table column denoting the normalized_identifiers relation/edge. NormalizedIdentifiersColumn = "entity_normalized_identifiers" )
Variables ¶
var ( Hooks [1]ent.Hook 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 // EntityIDValidator is a validator for the "entity_id" field. It is called by the builders before save. EntityIDValidator func(string) error // KindValidator is a validator for the "kind" field. It is called by the builders before save. KindValidator func(string) error // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator func(string) error // DefaultResourceRefs holds the default value on creation for the "resource_refs" field. DefaultResourceRefs []string // DefaultIdentifiers holds the default value on creation for the "identifiers" field. DefaultIdentifiers map[string][]string // OneLineSummaryValidator is a validator for the "one_line_summary" field. It is called by the builders before save. OneLineSummaryValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // StatusValidator is a validator for the "status" field. It is called by the builders before save. StatusValidator func(string) error // CanonicalEntityIDValidator is a validator for the "canonical_entity_id" field. It is called by the builders before save. CanonicalEntityIDValidator func(string) error // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion int // VersionValidator is a validator for the "version" field. It is called by the builders before save. VersionValidator func(int) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
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/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldEntityID, FieldKind, FieldDisplayName, FieldResourceRefs, FieldIdentifiers, FieldOneLineSummary, FieldStatus, FieldCanonicalEntityID, FieldVersion, }
Columns holds all SQL columns for entity fields.
var ForeignKeys = []string{
"revenue_workspace_id",
"user_entities",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "entities" table and are not defined as standalone fields in the schema.
Functions ¶
func CanonicalEntityID ¶
CanonicalEntityID applies equality check predicate on the "canonical_entity_id" field. It's identical to CanonicalEntityIDEQ.
func CanonicalEntityIDContains ¶
CanonicalEntityIDContains applies the Contains predicate on the "canonical_entity_id" field.
func CanonicalEntityIDContainsFold ¶
CanonicalEntityIDContainsFold applies the ContainsFold predicate on the "canonical_entity_id" field.
func CanonicalEntityIDEQ ¶
CanonicalEntityIDEQ applies the EQ predicate on the "canonical_entity_id" field.
func CanonicalEntityIDEqualFold ¶
CanonicalEntityIDEqualFold applies the EqualFold predicate on the "canonical_entity_id" field.
func CanonicalEntityIDGT ¶
CanonicalEntityIDGT applies the GT predicate on the "canonical_entity_id" field.
func CanonicalEntityIDGTE ¶
CanonicalEntityIDGTE applies the GTE predicate on the "canonical_entity_id" field.
func CanonicalEntityIDHasPrefix ¶
CanonicalEntityIDHasPrefix applies the HasPrefix predicate on the "canonical_entity_id" field.
func CanonicalEntityIDHasSuffix ¶
CanonicalEntityIDHasSuffix applies the HasSuffix predicate on the "canonical_entity_id" field.
func CanonicalEntityIDIn ¶
CanonicalEntityIDIn applies the In predicate on the "canonical_entity_id" field.
func CanonicalEntityIDIsNil ¶
CanonicalEntityIDIsNil applies the IsNil predicate on the "canonical_entity_id" field.
func CanonicalEntityIDLT ¶
CanonicalEntityIDLT applies the LT predicate on the "canonical_entity_id" field.
func CanonicalEntityIDLTE ¶
CanonicalEntityIDLTE applies the LTE predicate on the "canonical_entity_id" field.
func CanonicalEntityIDNEQ ¶
CanonicalEntityIDNEQ applies the NEQ predicate on the "canonical_entity_id" field.
func CanonicalEntityIDNotIn ¶
CanonicalEntityIDNotIn applies the NotIn predicate on the "canonical_entity_id" field.
func CanonicalEntityIDNotNil ¶
CanonicalEntityIDNotNil applies the NotNil predicate on the "canonical_entity_id" field.
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 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 DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func EntityID ¶
EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.
func EntityIDContains ¶
EntityIDContains applies the Contains predicate on the "entity_id" field.
func EntityIDContainsFold ¶
EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.
func EntityIDEQ ¶
EntityIDEQ applies the EQ predicate on the "entity_id" field.
func EntityIDEqualFold ¶
EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.
func EntityIDGT ¶
EntityIDGT applies the GT predicate on the "entity_id" field.
func EntityIDGTE ¶
EntityIDGTE applies the GTE predicate on the "entity_id" field.
func EntityIDHasPrefix ¶
EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.
func EntityIDHasSuffix ¶
EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.
func EntityIDIn ¶
EntityIDIn applies the In predicate on the "entity_id" field.
func EntityIDLT ¶
EntityIDLT applies the LT predicate on the "entity_id" field.
func EntityIDLTE ¶
EntityIDLTE applies the LTE predicate on the "entity_id" field.
func EntityIDNEQ ¶
EntityIDNEQ applies the NEQ predicate on the "entity_id" field.
func EntityIDNotIn ¶
EntityIDNotIn applies the NotIn predicate on the "entity_id" field.
func HasNormalizedIdentifiers ¶
HasNormalizedIdentifiers applies the HasEdge predicate on the "normalized_identifiers" edge.
func HasNormalizedIdentifiersWith ¶
func HasNormalizedIdentifiersWith(preds ...predicate.EntityIdentifier) predicate.Entity
HasNormalizedIdentifiersWith applies the HasEdge predicate on the "normalized_identifiers" edge with a given conditions (other predicates).
func HasNormalizedResourceRefs ¶
HasNormalizedResourceRefs applies the HasEdge predicate on the "normalized_resource_refs" edge.
func HasNormalizedResourceRefsWith ¶
func HasNormalizedResourceRefsWith(preds ...predicate.EntityResourceRef) predicate.Entity
HasNormalizedResourceRefsWith applies the HasEdge predicate on the "normalized_resource_refs" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasWorkspace ¶
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.Entity
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func KindContains ¶
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEqualFold ¶
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindHasPrefix ¶
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func OneLineSummary ¶
OneLineSummary applies equality check predicate on the "one_line_summary" field. It's identical to OneLineSummaryEQ.
func OneLineSummaryContains ¶
OneLineSummaryContains applies the Contains predicate on the "one_line_summary" field.
func OneLineSummaryContainsFold ¶
OneLineSummaryContainsFold applies the ContainsFold predicate on the "one_line_summary" field.
func OneLineSummaryEQ ¶
OneLineSummaryEQ applies the EQ predicate on the "one_line_summary" field.
func OneLineSummaryEqualFold ¶
OneLineSummaryEqualFold applies the EqualFold predicate on the "one_line_summary" field.
func OneLineSummaryGT ¶
OneLineSummaryGT applies the GT predicate on the "one_line_summary" field.
func OneLineSummaryGTE ¶
OneLineSummaryGTE applies the GTE predicate on the "one_line_summary" field.
func OneLineSummaryHasPrefix ¶
OneLineSummaryHasPrefix applies the HasPrefix predicate on the "one_line_summary" field.
func OneLineSummaryHasSuffix ¶
OneLineSummaryHasSuffix applies the HasSuffix predicate on the "one_line_summary" field.
func OneLineSummaryIn ¶
OneLineSummaryIn applies the In predicate on the "one_line_summary" field.
func OneLineSummaryIsNil ¶
OneLineSummaryIsNil applies the IsNil predicate on the "one_line_summary" field.
func OneLineSummaryLT ¶
OneLineSummaryLT applies the LT predicate on the "one_line_summary" field.
func OneLineSummaryLTE ¶
OneLineSummaryLTE applies the LTE predicate on the "one_line_summary" field.
func OneLineSummaryNEQ ¶
OneLineSummaryNEQ applies the NEQ predicate on the "one_line_summary" field.
func OneLineSummaryNotIn ¶
OneLineSummaryNotIn applies the NotIn predicate on the "one_line_summary" field.
func OneLineSummaryNotNil ¶
OneLineSummaryNotNil applies the NotNil predicate on the "one_line_summary" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Entity queries.
func ByCanonicalEntityID ¶
func ByCanonicalEntityID(opts ...sql.OrderTermOption) OrderOption
ByCanonicalEntityID orders the results by the canonical_entity_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDisplayName ¶
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByEntityID ¶
func ByEntityID(opts ...sql.OrderTermOption) OrderOption
ByEntityID orders the results by the entity_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByNormalizedIdentifiers ¶
func ByNormalizedIdentifiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNormalizedIdentifiers orders the results by normalized_identifiers terms.
func ByNormalizedIdentifiersCount ¶
func ByNormalizedIdentifiersCount(opts ...sql.OrderTermOption) OrderOption
ByNormalizedIdentifiersCount orders the results by normalized_identifiers count.
func ByNormalizedResourceRefs ¶
func ByNormalizedResourceRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNormalizedResourceRefs orders the results by normalized_resource_refs terms.
func ByNormalizedResourceRefsCount ¶
func ByNormalizedResourceRefsCount(opts ...sql.OrderTermOption) OrderOption
ByNormalizedResourceRefsCount orders the results by normalized_resource_refs count.
func ByOneLineSummary ¶
func ByOneLineSummary(opts ...sql.OrderTermOption) OrderOption
ByOneLineSummary orders the results by the one_line_summary 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 ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.