Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EventStreamCursor) predicate.EventStreamCursor
- func ID(id string) predicate.EventStreamCursor
- func IDContainsFold(id string) predicate.EventStreamCursor
- func IDEQ(id string) predicate.EventStreamCursor
- func IDEqualFold(id string) predicate.EventStreamCursor
- func IDGT(id string) predicate.EventStreamCursor
- func IDGTE(id string) predicate.EventStreamCursor
- func IDIn(ids ...string) predicate.EventStreamCursor
- func IDLT(id string) predicate.EventStreamCursor
- func IDLTE(id string) predicate.EventStreamCursor
- func IDNEQ(id string) predicate.EventStreamCursor
- func IDNotIn(ids ...string) predicate.EventStreamCursor
- func LastID(v string) predicate.EventStreamCursor
- func LastIDContains(v string) predicate.EventStreamCursor
- func LastIDContainsFold(v string) predicate.EventStreamCursor
- func LastIDEQ(v string) predicate.EventStreamCursor
- func LastIDEqualFold(v string) predicate.EventStreamCursor
- func LastIDGT(v string) predicate.EventStreamCursor
- func LastIDGTE(v string) predicate.EventStreamCursor
- func LastIDHasPrefix(v string) predicate.EventStreamCursor
- func LastIDHasSuffix(v string) predicate.EventStreamCursor
- func LastIDIn(vs ...string) predicate.EventStreamCursor
- func LastIDIsNil() predicate.EventStreamCursor
- func LastIDLT(v string) predicate.EventStreamCursor
- func LastIDLTE(v string) predicate.EventStreamCursor
- func LastIDNEQ(v string) predicate.EventStreamCursor
- func LastIDNotIn(vs ...string) predicate.EventStreamCursor
- func LastIDNotNil() predicate.EventStreamCursor
- func LastSyncedAt(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtEQ(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtGT(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtGTE(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtIn(vs ...time.Time) predicate.EventStreamCursor
- func LastSyncedAtLT(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtLTE(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtNEQ(v time.Time) predicate.EventStreamCursor
- func LastSyncedAtNotIn(vs ...time.Time) predicate.EventStreamCursor
- func Not(p predicate.EventStreamCursor) predicate.EventStreamCursor
- func Or(predicates ...predicate.EventStreamCursor) predicate.EventStreamCursor
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the eventstreamcursor type in the database. Label = "event_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 eventstreamcursor in the database. Table = "event_stream_cursors" )
Variables ¶
var Columns = []string{ FieldID, FieldLastSyncedAt, FieldLastID, }
Columns holds all SQL columns for eventstreamcursor fields.
var ( // DefaultLastSyncedAt holds the default value on creation for the "last_synced_at" field. DefaultLastSyncedAt func() time.Time )
Functions ¶
func And ¶
func And(predicates ...predicate.EventStreamCursor) predicate.EventStreamCursor
And groups predicates with the AND operator between them.
func ID ¶
func ID(id string) predicate.EventStreamCursor
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.EventStreamCursor
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.EventStreamCursor
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.EventStreamCursor
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.EventStreamCursor
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.EventStreamCursor
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.EventStreamCursor
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.EventStreamCursor
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.EventStreamCursor
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.EventStreamCursor
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.EventStreamCursor
IDNotIn applies the NotIn predicate on the ID field.
func LastID ¶
func LastID(v string) predicate.EventStreamCursor
LastID applies equality check predicate on the "last_id" field. It's identical to LastIDEQ.
func LastIDContains ¶
func LastIDContains(v string) predicate.EventStreamCursor
LastIDContains applies the Contains predicate on the "last_id" field.
func LastIDContainsFold ¶
func LastIDContainsFold(v string) predicate.EventStreamCursor
LastIDContainsFold applies the ContainsFold predicate on the "last_id" field.
func LastIDEQ ¶
func LastIDEQ(v string) predicate.EventStreamCursor
LastIDEQ applies the EQ predicate on the "last_id" field.
func LastIDEqualFold ¶
func LastIDEqualFold(v string) predicate.EventStreamCursor
LastIDEqualFold applies the EqualFold predicate on the "last_id" field.
func LastIDGT ¶
func LastIDGT(v string) predicate.EventStreamCursor
LastIDGT applies the GT predicate on the "last_id" field.
func LastIDGTE ¶
func LastIDGTE(v string) predicate.EventStreamCursor
LastIDGTE applies the GTE predicate on the "last_id" field.
func LastIDHasPrefix ¶
func LastIDHasPrefix(v string) predicate.EventStreamCursor
LastIDHasPrefix applies the HasPrefix predicate on the "last_id" field.
func LastIDHasSuffix ¶
func LastIDHasSuffix(v string) predicate.EventStreamCursor
LastIDHasSuffix applies the HasSuffix predicate on the "last_id" field.
func LastIDIn ¶
func LastIDIn(vs ...string) predicate.EventStreamCursor
LastIDIn applies the In predicate on the "last_id" field.
func LastIDIsNil ¶
func LastIDIsNil() predicate.EventStreamCursor
LastIDIsNil applies the IsNil predicate on the "last_id" field.
func LastIDLT ¶
func LastIDLT(v string) predicate.EventStreamCursor
LastIDLT applies the LT predicate on the "last_id" field.
func LastIDLTE ¶
func LastIDLTE(v string) predicate.EventStreamCursor
LastIDLTE applies the LTE predicate on the "last_id" field.
func LastIDNEQ ¶
func LastIDNEQ(v string) predicate.EventStreamCursor
LastIDNEQ applies the NEQ predicate on the "last_id" field.
func LastIDNotIn ¶
func LastIDNotIn(vs ...string) predicate.EventStreamCursor
LastIDNotIn applies the NotIn predicate on the "last_id" field.
func LastIDNotNil ¶
func LastIDNotNil() predicate.EventStreamCursor
LastIDNotNil applies the NotNil predicate on the "last_id" field.
func LastSyncedAt ¶
func LastSyncedAt(v time.Time) predicate.EventStreamCursor
LastSyncedAt applies equality check predicate on the "last_synced_at" field. It's identical to LastSyncedAtEQ.
func LastSyncedAtEQ ¶
func LastSyncedAtEQ(v time.Time) predicate.EventStreamCursor
LastSyncedAtEQ applies the EQ predicate on the "last_synced_at" field.
func LastSyncedAtGT ¶
func LastSyncedAtGT(v time.Time) predicate.EventStreamCursor
LastSyncedAtGT applies the GT predicate on the "last_synced_at" field.
func LastSyncedAtGTE ¶
func LastSyncedAtGTE(v time.Time) predicate.EventStreamCursor
LastSyncedAtGTE applies the GTE predicate on the "last_synced_at" field.
func LastSyncedAtIn ¶
func LastSyncedAtIn(vs ...time.Time) predicate.EventStreamCursor
LastSyncedAtIn applies the In predicate on the "last_synced_at" field.
func LastSyncedAtLT ¶
func LastSyncedAtLT(v time.Time) predicate.EventStreamCursor
LastSyncedAtLT applies the LT predicate on the "last_synced_at" field.
func LastSyncedAtLTE ¶
func LastSyncedAtLTE(v time.Time) predicate.EventStreamCursor
LastSyncedAtLTE applies the LTE predicate on the "last_synced_at" field.
func LastSyncedAtNEQ ¶
func LastSyncedAtNEQ(v time.Time) predicate.EventStreamCursor
LastSyncedAtNEQ applies the NEQ predicate on the "last_synced_at" field.
func LastSyncedAtNotIn ¶
func LastSyncedAtNotIn(vs ...time.Time) predicate.EventStreamCursor
LastSyncedAtNotIn applies the NotIn predicate on the "last_synced_at" field.
func Not ¶
func Not(p predicate.EventStreamCursor) predicate.EventStreamCursor
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EventStreamCursor) predicate.EventStreamCursor
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EventStreamCursor 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.