mqlog

package
v0.0.0-...-bfbcaf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the mqlog type in the database.
	Label = "mq_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMessageID holds the string denoting the message_id field in the database.
	FieldMessageID = "message_id"
	// FieldPriority holds the string denoting the priority field in the database.
	FieldPriority = "priority"
	// FieldIsProcessing holds the string denoting the is_processing field in the database.
	FieldIsProcessing = "is_processing"
	// 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"
	// Table holds the table name of the mqlog in the database.
	Table = "mq_log"
)

Variables

View Source
var (
	// DefaultIsProcessing holds the default value on creation for the "is_processing" field.
	DefaultIsProcessing bool
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for mqlog fields.

Functions

func And

func And(predicates ...predicate.MqLog) predicate.MqLog

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.MqLog

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.MqLog

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.MqLog

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.MqLog

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.MqLog

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.MqLog

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.MqLog

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.MqLog

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.MqLog

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ID

func ID(id uuid.UUID) predicate.MqLog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.MqLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.MqLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.MqLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.MqLog

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.MqLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.MqLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.MqLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.MqLog

IDNotIn applies the NotIn predicate on the ID field.

func IsProcessing

func IsProcessing(v bool) predicate.MqLog

IsProcessing applies equality check predicate on the "is_processing" field. It's identical to IsProcessingEQ.

func IsProcessingEQ

func IsProcessingEQ(v bool) predicate.MqLog

IsProcessingEQ applies the EQ predicate on the "is_processing" field.

func IsProcessingNEQ

func IsProcessingNEQ(v bool) predicate.MqLog

IsProcessingNEQ applies the NEQ predicate on the "is_processing" field.

func MessageID

func MessageID(v string) predicate.MqLog

MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.

func MessageIDContains

func MessageIDContains(v string) predicate.MqLog

MessageIDContains applies the Contains predicate on the "message_id" field.

func MessageIDContainsFold

func MessageIDContainsFold(v string) predicate.MqLog

MessageIDContainsFold applies the ContainsFold predicate on the "message_id" field.

func MessageIDEQ

func MessageIDEQ(v string) predicate.MqLog

MessageIDEQ applies the EQ predicate on the "message_id" field.

func MessageIDEqualFold

func MessageIDEqualFold(v string) predicate.MqLog

MessageIDEqualFold applies the EqualFold predicate on the "message_id" field.

func MessageIDGT

func MessageIDGT(v string) predicate.MqLog

MessageIDGT applies the GT predicate on the "message_id" field.

func MessageIDGTE

func MessageIDGTE(v string) predicate.MqLog

MessageIDGTE applies the GTE predicate on the "message_id" field.

func MessageIDHasPrefix

func MessageIDHasPrefix(v string) predicate.MqLog

MessageIDHasPrefix applies the HasPrefix predicate on the "message_id" field.

func MessageIDHasSuffix

func MessageIDHasSuffix(v string) predicate.MqLog

MessageIDHasSuffix applies the HasSuffix predicate on the "message_id" field.

func MessageIDIn

func MessageIDIn(vs ...string) predicate.MqLog

MessageIDIn applies the In predicate on the "message_id" field.

func MessageIDLT

func MessageIDLT(v string) predicate.MqLog

MessageIDLT applies the LT predicate on the "message_id" field.

func MessageIDLTE

func MessageIDLTE(v string) predicate.MqLog

MessageIDLTE applies the LTE predicate on the "message_id" field.

func MessageIDNEQ

func MessageIDNEQ(v string) predicate.MqLog

MessageIDNEQ applies the NEQ predicate on the "message_id" field.

func MessageIDNotIn

func MessageIDNotIn(vs ...string) predicate.MqLog

MessageIDNotIn applies the NotIn predicate on the "message_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.MqLog) predicate.MqLog

Or groups predicates with the OR operator between them.

func Priority

func Priority(v int) predicate.MqLog

Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.

func PriorityEQ

func PriorityEQ(v int) predicate.MqLog

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityGT

func PriorityGT(v int) predicate.MqLog

PriorityGT applies the GT predicate on the "priority" field.

func PriorityGTE

func PriorityGTE(v int) predicate.MqLog

PriorityGTE applies the GTE predicate on the "priority" field.

func PriorityIn

func PriorityIn(vs ...int) predicate.MqLog

PriorityIn applies the In predicate on the "priority" field.

func PriorityLT

func PriorityLT(v int) predicate.MqLog

PriorityLT applies the LT predicate on the "priority" field.

func PriorityLTE

func PriorityLTE(v int) predicate.MqLog

PriorityLTE applies the LTE predicate on the "priority" field.

func PriorityNEQ

func PriorityNEQ(v int) predicate.MqLog

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn

func PriorityNotIn(vs ...int) predicate.MqLog

PriorityNotIn applies the NotIn predicate on the "priority" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.MqLog

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.MqLog

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.MqLog

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.MqLog

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.MqLog

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.MqLog

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.MqLog

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.MqLog

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.MqLog

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL