package
0.102.4
Repository: https://github.com/holos-run/holos.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByCreatedByID orders the results by the created_by_id field.
ByCreatorField orders the results by creator field.
ByCueDefinition orders the results by the cue_definition field.
ByDisplayName orders the results by the display_name field.
ByEditorField orders the results by editor field.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByOrganizationField orders the results by organization field.
ByOrgID orders the results by the org_id field.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedByID orders the results by the updated_by_id field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
CreatedByID applies equality check predicate on the "created_by_id" field.
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
CreatedByIDIn applies the In predicate on the "created_by_id" field.
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
Cue applies equality check predicate on the "cue" field.
CueDefinition applies equality check predicate on the "cue_definition" field.
CueDefinitionContains applies the Contains predicate on the "cue_definition" field.
CueDefinitionContainsFold applies the ContainsFold predicate on the "cue_definition" field.
CueDefinitionEQ applies the EQ predicate on the "cue_definition" field.
CueDefinitionEqualFold applies the EqualFold predicate on the "cue_definition" field.
CueDefinitionGT applies the GT predicate on the "cue_definition" field.
CueDefinitionGTE applies the GTE predicate on the "cue_definition" field.
CueDefinitionHasPrefix applies the HasPrefix predicate on the "cue_definition" field.
CueDefinitionHasSuffix applies the HasSuffix predicate on the "cue_definition" field.
CueDefinitionIn applies the In predicate on the "cue_definition" field.
CueDefinitionIsNil applies the IsNil predicate on the "cue_definition" field.
CueDefinitionLT applies the LT predicate on the "cue_definition" field.
CueDefinitionLTE applies the LTE predicate on the "cue_definition" field.
CueDefinitionNEQ applies the NEQ predicate on the "cue_definition" field.
CueDefinitionNotIn applies the NotIn predicate on the "cue_definition" field.
CueDefinitionNotNil applies the NotNil predicate on the "cue_definition" field.
CueEQ applies the EQ predicate on the "cue" field.
CueGT applies the GT predicate on the "cue" field.
CueGTE applies the GTE predicate on the "cue" field.
CueIn applies the In predicate on the "cue" field.
CueIsNil applies the IsNil predicate on the "cue" field.
CueLT applies the LT predicate on the "cue" field.
CueLTE applies the LTE predicate on the "cue" field.
CueNEQ applies the NEQ predicate on the "cue" field.
CueNotIn applies the NotIn predicate on the "cue" field.
CueNotNil applies the NotNil predicate on the "cue" field.
DisplayName applies equality check predicate on the "display_name" field.
DisplayNameContains applies the Contains predicate on the "display_name" field.
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
DisplayNameEQ applies the EQ predicate on the "display_name" field.
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
DisplayNameGT applies the GT predicate on the "display_name" field.
DisplayNameGTE applies the GTE predicate on the "display_name" field.
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
DisplayNameIn applies the In predicate on the "display_name" field.
DisplayNameLT applies the LT predicate on the "display_name" field.
DisplayNameLTE applies the LTE predicate on the "display_name" field.
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
FormIsNil applies the IsNil predicate on the "form" field.
FormNotNil applies the NotNil predicate on the "form" field.
HasCreator applies the HasEdge predicate on the "creator" edge.
HasCreatorWith applies the HasEdge predicate on the "creator" edge with a given conditions (other predicates).
HasEditor applies the HasEdge predicate on the "editor" edge.
HasEditorWith applies the HasEdge predicate on the "editor" edge with a given conditions (other predicates).
HasOrganization applies the HasEdge predicate on the "organization" edge.
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
ModelIsNil applies the IsNil predicate on the "model" field.
ModelNotNil applies the NotNil predicate on the "model" field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
OrgID applies equality check predicate on the "org_id" field.
OrgIDEQ applies the EQ predicate on the "org_id" field.
OrgIDIn applies the In predicate on the "org_id" field.
OrgIDNEQ applies the NEQ predicate on the "org_id" field.
OrgIDNotIn applies the NotIn predicate on the "org_id" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UpdatedByID applies equality check predicate on the "updated_by_id" field.
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

CreatorColumn is the table column denoting the creator relation/edge.
CreatorInverseTable is the table name for the User entity.
CreatorTable is the table that holds the creator relation/edge.
EdgeCreator holds the string denoting the creator edge name in mutations.
EdgeEditor holds the string denoting the editor edge name in mutations.
EdgeOrganization holds the string denoting the organization edge name in mutations.
EditorColumn is the table column denoting the editor relation/edge.
EditorInverseTable is the table name for the User entity.
EditorTable is the table that holds the editor relation/edge.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedByID holds the string denoting the created_by_id field in the database.
FieldCue holds the string denoting the cue field in the database.
FieldCueDefinition holds the string denoting the cue_definition field in the database.
FieldDisplayName holds the string denoting the display_name field in the database.
FieldForm holds the string denoting the form field in the database.
FieldID holds the string denoting the id field in the database.
FieldModel holds the string denoting the model field in the database.
FieldName holds the string denoting the name field in the database.
FieldOrgID holds the string denoting the org_id field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedByID holds the string denoting the updated_by_id field in the database.
Label holds the string label denoting the platform type in the database.
OrganizationColumn is the table column denoting the organization relation/edge.
OrganizationInverseTable is the table name for the Organization entity.
OrganizationTable is the table that holds the organization relation/edge.
Table holds the table name of the platform in the database.

# Variables

Columns holds all SQL columns for platform fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
NameValidator is a validator for the "name" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the Platform queries.