package
0.6.8
Repository: https://github.com/theopenlane/core.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByCreatedBy orders the results by the created_by field.
ByDeletedAt orders the results by the deleted_at field.
ByDeletedBy orders the results by the deleted_by field.
ByDescription orders the results by the description field.
ByDisplayName orders the results by the display_name field.
ByEntityTypeID orders the results by the entity_type_id field.
ByHistoryTime orders the results by the history_time field.
ByID orders the results by the id field.
ByMappingID orders the results by the mapping_id field.
ByName orders the results by the name field.
ByOperation orders the results by the operation field.
ByOwnerID orders the results by the owner_id field.
ByRef orders the results by the ref field.
ByStatus orders the results by the status field.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by 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.
CreatedAtIsNil applies the IsNil 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.
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
CreatedBy applies equality check predicate on the "created_by" field.
CreatedByContains applies the Contains predicate on the "created_by" field.
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
CreatedByEQ applies the EQ predicate on the "created_by" field.
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
CreatedByGT applies the GT predicate on the "created_by" field.
CreatedByGTE applies the GTE predicate on the "created_by" field.
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
CreatedByIn applies the In predicate on the "created_by" field.
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
CreatedByLT applies the LT predicate on the "created_by" field.
CreatedByLTE applies the LTE predicate on the "created_by" field.
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
DeletedBy applies equality check predicate on the "deleted_by" field.
DeletedByContains applies the Contains predicate on the "deleted_by" field.
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
DeletedByGT applies the GT predicate on the "deleted_by" field.
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
DeletedByIn applies the In predicate on the "deleted_by" field.
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
DeletedByLT applies the LT predicate on the "deleted_by" field.
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
Description applies equality check predicate on the "description" field.
DescriptionContains applies the Contains predicate on the "description" field.
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
DescriptionEQ applies the EQ predicate on the "description" field.
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
DescriptionGT applies the GT predicate on the "description" field.
DescriptionGTE applies the GTE predicate on the "description" field.
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
DescriptionIn applies the In predicate on the "description" field.
DescriptionIsNil applies the IsNil predicate on the "description" field.
DescriptionLT applies the LT predicate on the "description" field.
DescriptionLTE applies the LTE predicate on the "description" field.
DescriptionNEQ applies the NEQ predicate on the "description" field.
DescriptionNotIn applies the NotIn predicate on the "description" field.
DescriptionNotNil applies the NotNil predicate on the "description" 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.
DisplayNameIsNil applies the IsNil 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.
DisplayNameNotNil applies the NotNil predicate on the "display_name" field.
DomainsIsNil applies the IsNil predicate on the "domains" field.
DomainsNotNil applies the NotNil predicate on the "domains" field.
EntityTypeID applies equality check predicate on the "entity_type_id" field.
EntityTypeIDContains applies the Contains predicate on the "entity_type_id" field.
EntityTypeIDContainsFold applies the ContainsFold predicate on the "entity_type_id" field.
EntityTypeIDEQ applies the EQ predicate on the "entity_type_id" field.
EntityTypeIDEqualFold applies the EqualFold predicate on the "entity_type_id" field.
EntityTypeIDGT applies the GT predicate on the "entity_type_id" field.
EntityTypeIDGTE applies the GTE predicate on the "entity_type_id" field.
EntityTypeIDHasPrefix applies the HasPrefix predicate on the "entity_type_id" field.
EntityTypeIDHasSuffix applies the HasSuffix predicate on the "entity_type_id" field.
EntityTypeIDIn applies the In predicate on the "entity_type_id" field.
EntityTypeIDIsNil applies the IsNil predicate on the "entity_type_id" field.
EntityTypeIDLT applies the LT predicate on the "entity_type_id" field.
EntityTypeIDLTE applies the LTE predicate on the "entity_type_id" field.
EntityTypeIDNEQ applies the NEQ predicate on the "entity_type_id" field.
EntityTypeIDNotIn applies the NotIn predicate on the "entity_type_id" field.
EntityTypeIDNotNil applies the NotNil predicate on the "entity_type_id" field.
HistoryTime applies equality check predicate on the "history_time" field.
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
HistoryTimeGT applies the GT predicate on the "history_time" field.
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
HistoryTimeIn applies the In predicate on the "history_time" field.
HistoryTimeLT applies the LT predicate on the "history_time" field.
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
ID filters vertices based on their ID field.
IDContainsFold applies the ContainsFold predicate on the ID field.
IDEQ applies the EQ predicate on the ID field.
IDEqualFold applies the EqualFold 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.
MappingID applies equality check predicate on the "mapping_id" field.
MappingIDContains applies the Contains predicate on the "mapping_id" field.
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
MappingIDGT applies the GT predicate on the "mapping_id" field.
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
MappingIDIn applies the In predicate on the "mapping_id" field.
MappingIDLT applies the LT predicate on the "mapping_id" field.
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
MappingIDNotIn applies the NotIn predicate on the "mapping_id" 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.
NameIsNil applies the IsNil 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.
NameNotNil applies the NotNil predicate on the "name" field.
Not applies the not operator on the given predicate.
OperationEQ applies the EQ predicate on the "operation" field.
OperationIn applies the In predicate on the "operation" field.
OperationNEQ applies the NEQ predicate on the "operation" field.
OperationNotIn applies the NotIn predicate on the "operation" field.
OperationValidator is a validator for the "operation" field enum values.
Or groups predicates with the OR operator between them.
OwnerID applies equality check predicate on the "owner_id" field.
OwnerIDContains applies the Contains predicate on the "owner_id" field.
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
OwnerIDGT applies the GT predicate on the "owner_id" field.
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
OwnerIDIn applies the In predicate on the "owner_id" field.
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
OwnerIDLT applies the LT predicate on the "owner_id" field.
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
Ref applies equality check predicate on the "ref" field.
RefContains applies the Contains predicate on the "ref" field.
RefContainsFold applies the ContainsFold predicate on the "ref" field.
RefEQ applies the EQ predicate on the "ref" field.
RefEqualFold applies the EqualFold predicate on the "ref" field.
RefGT applies the GT predicate on the "ref" field.
RefGTE applies the GTE predicate on the "ref" field.
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
RefIn applies the In predicate on the "ref" field.
RefIsNil applies the IsNil predicate on the "ref" field.
RefLT applies the LT predicate on the "ref" field.
RefLTE applies the LTE predicate on the "ref" field.
RefNEQ applies the NEQ predicate on the "ref" field.
RefNotIn applies the NotIn predicate on the "ref" field.
RefNotNil applies the NotNil predicate on the "ref" field.
Status applies equality check predicate on the "status" field.
StatusContains applies the Contains predicate on the "status" field.
StatusContainsFold applies the ContainsFold predicate on the "status" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusEqualFold applies the EqualFold predicate on the "status" field.
StatusGT applies the GT predicate on the "status" field.
StatusGTE applies the GTE predicate on the "status" field.
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusIsNil applies the IsNil predicate on the "status" field.
StatusLT applies the LT predicate on the "status" field.
StatusLTE applies the LTE predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusNotNil applies the NotNil predicate on the "status" field.
TagsIsNil applies the IsNil predicate on the "tags" field.
TagsNotNil applies the NotNil predicate on the "tags" 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.
UpdatedAtIsNil applies the IsNil 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.
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
UpdatedBy applies equality check predicate on the "updated_by" field.
UpdatedByContains applies the Contains predicate on the "updated_by" field.
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
UpdatedByGT applies the GT predicate on the "updated_by" field.
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
UpdatedByIn applies the In predicate on the "updated_by" field.
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
UpdatedByLT applies the LT predicate on the "updated_by" field.
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedBy holds the string denoting the created_by field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldDeletedBy holds the string denoting the deleted_by field in the database.
FieldDescription holds the string denoting the description field in the database.
FieldDisplayName holds the string denoting the display_name field in the database.
FieldDomains holds the string denoting the domains field in the database.
FieldEntityTypeID holds the string denoting the entity_type_id field in the database.
FieldHistoryTime holds the string denoting the history_time field in the database.
FieldID holds the string denoting the id field in the database.
FieldMappingID holds the string denoting the mapping_id field in the database.
FieldName holds the string denoting the name field in the database.
FieldOperation holds the string denoting the operation field in the database.
FieldOwnerID holds the string denoting the owner_id field in the database.
FieldRef holds the string denoting the ref field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldTags holds the string denoting the tags field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedBy holds the string denoting the updated_by field in the database.
Label holds the string label denoting the entityhistory type in the database.
Table holds the table name of the entityhistory in the database.

# Variables

Columns holds all SQL columns for entityhistory fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultHistoryTime holds the default value on creation for the "history_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultMappingID holds the default value on creation for the "mapping_id" field.
DefaultStatus holds the default value on creation for the "status" field.
DefaultTags holds the default value on creation for the "tags" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the EntityHistory queries.