auditstreamcursor

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the auditstreamcursor type in the database.
	Label = "audit_stream_cursor"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldLastSyncedAt holds the string denoting the last_synced_at field in the database.
	FieldLastSyncedAt = "last_synced_at"
	// FieldLastID holds the string denoting the last_id field in the database.
	FieldLastID = "last_id"
	// Table holds the table name of the auditstreamcursor in the database.
	Table = "audit_stream_cursors"
)

Variables

Columns holds all SQL columns for auditstreamcursor fields.

View Source
var (
	// DefaultLastSyncedAt holds the default value on creation for the "last_synced_at" field.
	DefaultLastSyncedAt func() time.Time
)

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.AuditStreamCursor

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.AuditStreamCursor

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.AuditStreamCursor

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.AuditStreamCursor

IDNotIn applies the NotIn predicate on the ID field.

func LastID

LastID applies equality check predicate on the "last_id" field. It's identical to LastIDEQ.

func LastIDContains

func LastIDContains(v string) predicate.AuditStreamCursor

LastIDContains applies the Contains predicate on the "last_id" field.

func LastIDContainsFold

func LastIDContainsFold(v string) predicate.AuditStreamCursor

LastIDContainsFold applies the ContainsFold predicate on the "last_id" field.

func LastIDEQ

LastIDEQ applies the EQ predicate on the "last_id" field.

func LastIDEqualFold

func LastIDEqualFold(v string) predicate.AuditStreamCursor

LastIDEqualFold applies the EqualFold predicate on the "last_id" field.

func LastIDGT

LastIDGT applies the GT predicate on the "last_id" field.

func LastIDGTE

func LastIDGTE(v string) predicate.AuditStreamCursor

LastIDGTE applies the GTE predicate on the "last_id" field.

func LastIDHasPrefix

func LastIDHasPrefix(v string) predicate.AuditStreamCursor

LastIDHasPrefix applies the HasPrefix predicate on the "last_id" field.

func LastIDHasSuffix

func LastIDHasSuffix(v string) predicate.AuditStreamCursor

LastIDHasSuffix applies the HasSuffix predicate on the "last_id" field.

func LastIDIn

func LastIDIn(vs ...string) predicate.AuditStreamCursor

LastIDIn applies the In predicate on the "last_id" field.

func LastIDIsNil

func LastIDIsNil() predicate.AuditStreamCursor

LastIDIsNil applies the IsNil predicate on the "last_id" field.

func LastIDLT

LastIDLT applies the LT predicate on the "last_id" field.

func LastIDLTE

func LastIDLTE(v string) predicate.AuditStreamCursor

LastIDLTE applies the LTE predicate on the "last_id" field.

func LastIDNEQ

func LastIDNEQ(v string) predicate.AuditStreamCursor

LastIDNEQ applies the NEQ predicate on the "last_id" field.

func LastIDNotIn

func LastIDNotIn(vs ...string) predicate.AuditStreamCursor

LastIDNotIn applies the NotIn predicate on the "last_id" field.

func LastIDNotNil

func LastIDNotNil() predicate.AuditStreamCursor

LastIDNotNil applies the NotNil predicate on the "last_id" field.

func LastSyncedAt

func LastSyncedAt(v time.Time) predicate.AuditStreamCursor

LastSyncedAt applies equality check predicate on the "last_synced_at" field. It's identical to LastSyncedAtEQ.

func LastSyncedAtEQ

func LastSyncedAtEQ(v time.Time) predicate.AuditStreamCursor

LastSyncedAtEQ applies the EQ predicate on the "last_synced_at" field.

func LastSyncedAtGT

func LastSyncedAtGT(v time.Time) predicate.AuditStreamCursor

LastSyncedAtGT applies the GT predicate on the "last_synced_at" field.

func LastSyncedAtGTE

func LastSyncedAtGTE(v time.Time) predicate.AuditStreamCursor

LastSyncedAtGTE applies the GTE predicate on the "last_synced_at" field.

func LastSyncedAtIn

func LastSyncedAtIn(vs ...time.Time) predicate.AuditStreamCursor

LastSyncedAtIn applies the In predicate on the "last_synced_at" field.

func LastSyncedAtLT

func LastSyncedAtLT(v time.Time) predicate.AuditStreamCursor

LastSyncedAtLT applies the LT predicate on the "last_synced_at" field.

func LastSyncedAtLTE

func LastSyncedAtLTE(v time.Time) predicate.AuditStreamCursor

LastSyncedAtLTE applies the LTE predicate on the "last_synced_at" field.

func LastSyncedAtNEQ

func LastSyncedAtNEQ(v time.Time) predicate.AuditStreamCursor

LastSyncedAtNEQ applies the NEQ predicate on the "last_synced_at" field.

func LastSyncedAtNotIn

func LastSyncedAtNotIn(vs ...time.Time) predicate.AuditStreamCursor

LastSyncedAtNotIn applies the NotIn predicate on the "last_synced_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AuditStreamCursor queries.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLastID

func ByLastID(opts ...sql.OrderTermOption) OrderOption

ByLastID orders the results by the last_id field.

func ByLastSyncedAt

func ByLastSyncedAt(opts ...sql.OrderTermOption) OrderOption

ByLastSyncedAt orders the results by the last_synced_at field.

Jump to

Keyboard shortcuts

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