package
0.0.0-20240430124035-aae10642ac46
Repository: https://github.com/orbit-ops/launchpad-core.git
Documentation: pkg.go.dev
# Functions
ActionEQ applies the EQ predicate on the "action" field.
ActionIn applies the In predicate on the "action" field.
ActionNEQ applies the NEQ predicate on the "action" field.
ActionNotIn applies the NotIn predicate on the "action" field.
ActionValidator is a validator for the "action" field enum values.
And groups predicates with the AND operator between them.
Author applies equality check predicate on the "author" field.
AuthorContains applies the Contains predicate on the "author" field.
AuthorContainsFold applies the ContainsFold predicate on the "author" field.
AuthorEQ applies the EQ predicate on the "author" field.
AuthorEqualFold applies the EqualFold predicate on the "author" field.
AuthorGT applies the GT predicate on the "author" field.
AuthorGTE applies the GTE predicate on the "author" field.
AuthorHasPrefix applies the HasPrefix predicate on the "author" field.
AuthorHasSuffix applies the HasSuffix predicate on the "author" field.
AuthorIn applies the In predicate on the "author" field.
AuthorLT applies the LT predicate on the "author" field.
AuthorLTE applies the LTE predicate on the "author" field.
AuthorNEQ applies the NEQ predicate on the "author" field.
AuthorNotIn applies the NotIn predicate on the "author" field.
ByAction orders the results by the action field.
ByAuthor orders the results by the author field.
ByID orders the results by the id field.
ByTimestamp orders the results by the timestamp field.
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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Timestamp applies equality check predicate on the "timestamp" field.
TimestampEQ applies the EQ predicate on the "timestamp" field.
TimestampGT applies the GT predicate on the "timestamp" field.
TimestampGTE applies the GTE predicate on the "timestamp" field.
TimestampIn applies the In predicate on the "timestamp" field.
TimestampLT applies the LT predicate on the "timestamp" field.
TimestampLTE applies the LTE predicate on the "timestamp" field.
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
Action values.
Action values.
Action values.
Action values.
Action values.
FieldAction holds the string denoting the action field in the database.
FieldAuthor holds the string denoting the author field in the database.
FieldID holds the string denoting the id field in the database.
FieldTimestamp holds the string denoting the timestamp field in the database.
Label holds the string label denoting the audit type in the database.
Table holds the table name of the audit in the database.
# Variables
AuthorValidator is a validator for the "author" field.
Columns holds all SQL columns for audit fields.
DefaultID holds the default value on creation for the "id" field.
# Type aliases
Action defines the type for the "action" enum field.
OrderOption defines the ordering options for the Audit queries.