Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AuditStreamCursor) predicate.AuditStreamCursor
- func ID(id string) predicate.AuditStreamCursor
- func IDContainsFold(id string) predicate.AuditStreamCursor
- func IDEQ(id string) predicate.AuditStreamCursor
- func IDEqualFold(id string) predicate.AuditStreamCursor
- func IDGT(id string) predicate.AuditStreamCursor
- func IDGTE(id string) predicate.AuditStreamCursor
- func IDIn(ids ...string) predicate.AuditStreamCursor
- func IDLT(id string) predicate.AuditStreamCursor
- func IDLTE(id string) predicate.AuditStreamCursor
- func IDNEQ(id string) predicate.AuditStreamCursor
- func IDNotIn(ids ...string) predicate.AuditStreamCursor
- func LastID(v string) predicate.AuditStreamCursor
- func LastIDContains(v string) predicate.AuditStreamCursor
- func LastIDContainsFold(v string) predicate.AuditStreamCursor
- func LastIDEQ(v string) predicate.AuditStreamCursor
- func LastIDEqualFold(v string) predicate.AuditStreamCursor
- func LastIDGT(v string) predicate.AuditStreamCursor
- func LastIDGTE(v string) predicate.AuditStreamCursor
- func LastIDHasPrefix(v string) predicate.AuditStreamCursor
- func LastIDHasSuffix(v string) predicate.AuditStreamCursor
- func LastIDIn(vs ...string) predicate.AuditStreamCursor
- func LastIDIsNil() predicate.AuditStreamCursor
- func LastIDLT(v string) predicate.AuditStreamCursor
- func LastIDLTE(v string) predicate.AuditStreamCursor
- func LastIDNEQ(v string) predicate.AuditStreamCursor
- func LastIDNotIn(vs ...string) predicate.AuditStreamCursor
- func LastIDNotNil() predicate.AuditStreamCursor
- func LastSyncedAt(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtEQ(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtGT(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtGTE(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtIn(vs ...time.Time) predicate.AuditStreamCursor
- func LastSyncedAtLT(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtLTE(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtNEQ(v time.Time) predicate.AuditStreamCursor
- func LastSyncedAtNotIn(vs ...time.Time) predicate.AuditStreamCursor
- func Not(p predicate.AuditStreamCursor) predicate.AuditStreamCursor
- func Or(predicates ...predicate.AuditStreamCursor) predicate.AuditStreamCursor
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldLastSyncedAt, FieldLastID, }
Columns holds all SQL columns for auditstreamcursor 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.AuditStreamCursor) predicate.AuditStreamCursor
And groups predicates with the AND operator between them.
func ID ¶
func ID(id string) predicate.AuditStreamCursor
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 ¶
func IDEQ(id string) predicate.AuditStreamCursor
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 ¶
func IDGT(id string) predicate.AuditStreamCursor
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.AuditStreamCursor
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 ¶
func IDLT(id string) predicate.AuditStreamCursor
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.AuditStreamCursor
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.AuditStreamCursor
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 ¶
func LastID(v string) predicate.AuditStreamCursor
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 ¶
func LastIDEQ(v string) predicate.AuditStreamCursor
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 ¶
func LastIDGT(v string) predicate.AuditStreamCursor
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 ¶
func LastIDLT(v string) predicate.AuditStreamCursor
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 ¶
func Not(p predicate.AuditStreamCursor) predicate.AuditStreamCursor
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AuditStreamCursor) predicate.AuditStreamCursor
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 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.