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.
ByEmailConfirmed orders the results by the email_confirmed field.
ByHistoryTime orders the results by the history_time field.
ByID orders the results by the id field.
ByIsTfaEnabled orders the results by the is_tfa_enabled field.
ByIsWebauthnAllowed orders the results by the is_webauthn_allowed field.
ByLocked orders the results by the locked field.
ByMappingID orders the results by the mapping_id field.
ByOperation orders the results by the operation field.
ByPhoneNumber orders the results by the phone_number field.
ByRef orders the results by the ref field.
BySilencedAt orders the results by the silenced_at field.
ByStatus orders the results by the status field.
BySuspendedAt orders the results by the suspended_at field.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
ByUserID orders the results by the user_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.
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.
EmailConfirmed applies equality check predicate on the "email_confirmed" field.
EmailConfirmedEQ applies the EQ predicate on the "email_confirmed" field.
EmailConfirmedNEQ applies the NEQ predicate on the "email_confirmed" 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.
IsTfaEnabled applies equality check predicate on the "is_tfa_enabled" field.
IsTfaEnabledEQ applies the EQ predicate on the "is_tfa_enabled" field.
IsTfaEnabledIsNil applies the IsNil predicate on the "is_tfa_enabled" field.
IsTfaEnabledNEQ applies the NEQ predicate on the "is_tfa_enabled" field.
IsTfaEnabledNotNil applies the NotNil predicate on the "is_tfa_enabled" field.
IsWebauthnAllowed applies equality check predicate on the "is_webauthn_allowed" field.
IsWebauthnAllowedEQ applies the EQ predicate on the "is_webauthn_allowed" field.
IsWebauthnAllowedIsNil applies the IsNil predicate on the "is_webauthn_allowed" field.
IsWebauthnAllowedNEQ applies the NEQ predicate on the "is_webauthn_allowed" field.
IsWebauthnAllowedNotNil applies the NotNil predicate on the "is_webauthn_allowed" field.
Locked applies equality check predicate on the "locked" field.
LockedEQ applies the EQ predicate on the "locked" field.
LockedNEQ applies the NEQ predicate on the "locked" 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.
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.
PhoneNumber applies equality check predicate on the "phone_number" field.
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
PhoneNumberGT applies the GT predicate on the "phone_number" field.
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
PhoneNumberIn applies the In predicate on the "phone_number" field.
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
PhoneNumberLT applies the LT predicate on the "phone_number" field.
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" 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.
SilencedAt applies equality check predicate on the "silenced_at" field.
SilencedAtEQ applies the EQ predicate on the "silenced_at" field.
SilencedAtGT applies the GT predicate on the "silenced_at" field.
SilencedAtGTE applies the GTE predicate on the "silenced_at" field.
SilencedAtIn applies the In predicate on the "silenced_at" field.
SilencedAtIsNil applies the IsNil predicate on the "silenced_at" field.
SilencedAtLT applies the LT predicate on the "silenced_at" field.
SilencedAtLTE applies the LTE predicate on the "silenced_at" field.
SilencedAtNEQ applies the NEQ predicate on the "silenced_at" field.
SilencedAtNotIn applies the NotIn predicate on the "silenced_at" field.
SilencedAtNotNil applies the NotNil predicate on the "silenced_at" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusValidator is a validator for the "status" field enum values.
SuspendedAt applies equality check predicate on the "suspended_at" field.
SuspendedAtEQ applies the EQ predicate on the "suspended_at" field.
SuspendedAtGT applies the GT predicate on the "suspended_at" field.
SuspendedAtGTE applies the GTE predicate on the "suspended_at" field.
SuspendedAtIn applies the In predicate on the "suspended_at" field.
SuspendedAtIsNil applies the IsNil predicate on the "suspended_at" field.
SuspendedAtLT applies the LT predicate on the "suspended_at" field.
SuspendedAtLTE applies the LTE predicate on the "suspended_at" field.
SuspendedAtNEQ applies the NEQ predicate on the "suspended_at" field.
SuspendedAtNotIn applies the NotIn predicate on the "suspended_at" field.
SuspendedAtNotNil applies the NotNil predicate on the "suspended_at" 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.
UserID applies equality check predicate on the "user_id" field.
UserIDContains applies the Contains predicate on the "user_id" field.
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDIsNil applies the IsNil predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
UserIDNotNil applies the NotNil predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

No description provided by the author
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.
FieldEmailConfirmed holds the string denoting the email_confirmed 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.
FieldIsTfaEnabled holds the string denoting the is_tfa_enabled field in the database.
FieldIsWebauthnAllowed holds the string denoting the is_webauthn_allowed field in the database.
FieldLocked holds the string denoting the locked field in the database.
FieldMappingID holds the string denoting the mapping_id field in the database.
FieldOperation holds the string denoting the operation field in the database.
FieldPhoneNumber holds the string denoting the phone_number field in the database.
FieldRef holds the string denoting the ref field in the database.
FieldSilencedAt holds the string denoting the silenced_at field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldSuspendedAt holds the string denoting the suspended_at 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.
FieldUserID holds the string denoting the user_id field in the database.
Label holds the string label denoting the usersettinghistory type in the database.
Table holds the table name of the usersettinghistory in the database.

# Variables

Columns holds all SQL columns for usersettinghistory fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultEmailConfirmed holds the default value on creation for the "email_confirmed" field.
DefaultHistoryTime holds the default value on creation for the "history_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultIsTfaEnabled holds the default value on creation for the "is_tfa_enabled" field.
DefaultIsWebauthnAllowed holds the default value on creation for the "is_webauthn_allowed" field.
DefaultLocked holds the default value on creation for the "locked" field.
DefaultMappingID holds the default value on creation for the "mapping_id" 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.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the UserSettingHistory queries.