Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Session) predicate.Session
- func Duration(v int) predicate.Session
- func DurationEQ(v int) predicate.Session
- func DurationGT(v int) predicate.Session
- func DurationGTE(v int) predicate.Session
- func DurationIn(vs ...int) predicate.Session
- func DurationIsNil() predicate.Session
- func DurationLT(v int) predicate.Session
- func DurationLTE(v int) predicate.Session
- func DurationNEQ(v int) predicate.Session
- func DurationNotIn(vs ...int) predicate.Session
- func DurationNotNil() predicate.Session
- func FinishedAt(v time.Time) predicate.Session
- func FinishedAtEQ(v time.Time) predicate.Session
- func FinishedAtGT(v time.Time) predicate.Session
- func FinishedAtGTE(v time.Time) predicate.Session
- func FinishedAtIn(vs ...time.Time) predicate.Session
- func FinishedAtIsNil() predicate.Session
- func FinishedAtLT(v time.Time) predicate.Session
- func FinishedAtLTE(v time.Time) predicate.Session
- func FinishedAtNEQ(v time.Time) predicate.Session
- func FinishedAtNotIn(vs ...time.Time) predicate.Session
- func FinishedAtNotNil() predicate.Session
- func HasEvents() predicate.Session
- func HasEventsWith(preds ...predicate.Event) predicate.Session
- func ID(id uuid.UUID) predicate.Session
- func IDEQ(id uuid.UUID) predicate.Session
- func IDGT(id uuid.UUID) predicate.Session
- func IDGTE(id uuid.UUID) predicate.Session
- func IDIn(ids ...uuid.UUID) predicate.Session
- func IDLT(id uuid.UUID) predicate.Session
- func IDLTE(id uuid.UUID) predicate.Session
- func IDNEQ(id uuid.UUID) predicate.Session
- func IDNotIn(ids ...uuid.UUID) predicate.Session
- func IsBounce(v bool) predicate.Session
- func IsBounceEQ(v bool) predicate.Session
- func IsBounceNEQ(v bool) predicate.Session
- func IsFinished(v bool) predicate.Session
- func IsFinishedEQ(v bool) predicate.Session
- func IsFinishedNEQ(v bool) predicate.Session
- func IsUnique(v bool) predicate.Session
- func IsUniqueEQ(v bool) predicate.Session
- func IsUniqueNEQ(v bool) predicate.Session
- func NewUser(v bool) predicate.Session
- func NewUserEQ(v bool) predicate.Session
- func NewUserNEQ(v bool) predicate.Session
- func Not(p predicate.Session) predicate.Session
- func Or(predicates ...predicate.Session) predicate.Session
- func StartedAt(v time.Time) predicate.Session
- func StartedAtEQ(v time.Time) predicate.Session
- func StartedAtGT(v time.Time) predicate.Session
- func StartedAtGTE(v time.Time) predicate.Session
- func StartedAtIn(vs ...time.Time) predicate.Session
- func StartedAtLT(v time.Time) predicate.Session
- func StartedAtLTE(v time.Time) predicate.Session
- func StartedAtNEQ(v time.Time) predicate.Session
- func StartedAtNotIn(vs ...time.Time) predicate.Session
Constants ¶
const ( // Label holds the string label denoting the session type in the database. Label = "session" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNewUser holds the string denoting the new_user field in the database. FieldNewUser = "new_user" // FieldIsUnique holds the string denoting the is_unique field in the database. FieldIsUnique = "is_unique" // FieldIsBounce holds the string denoting the is_bounce field in the database. FieldIsBounce = "is_bounce" // FieldIsFinished holds the string denoting the is_finished field in the database. FieldIsFinished = "is_finished" // FieldDuration holds the string denoting the duration field in the database. FieldDuration = "duration" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldFinishedAt holds the string denoting the finished_at field in the database. FieldFinishedAt = "finished_at" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the session in the database. Table = "sessions" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_session" )
Variables ¶
var Columns = []string{ FieldID, FieldNewUser, FieldIsUnique, FieldIsBounce, FieldIsFinished, FieldDuration, FieldStartedAt, FieldFinishedAt, }
Columns holds all SQL columns for session fields.
Functions ¶
func Duration ¶
Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.
func DurationEQ ¶
DurationEQ applies the EQ predicate on the "duration" field.
func DurationGT ¶
DurationGT applies the GT predicate on the "duration" field.
func DurationGTE ¶
DurationGTE applies the GTE predicate on the "duration" field.
func DurationIn ¶
DurationIn applies the In predicate on the "duration" field.
func DurationIsNil ¶
DurationIsNil applies the IsNil predicate on the "duration" field.
func DurationLT ¶
DurationLT applies the LT predicate on the "duration" field.
func DurationLTE ¶
DurationLTE applies the LTE predicate on the "duration" field.
func DurationNEQ ¶
DurationNEQ applies the NEQ predicate on the "duration" field.
func DurationNotIn ¶
DurationNotIn applies the NotIn predicate on the "duration" field.
func DurationNotNil ¶
DurationNotNil applies the NotNil predicate on the "duration" field.
func FinishedAt ¶
FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.
func FinishedAtEQ ¶
FinishedAtEQ applies the EQ predicate on the "finished_at" field.
func FinishedAtGT ¶
FinishedAtGT applies the GT predicate on the "finished_at" field.
func FinishedAtGTE ¶
FinishedAtGTE applies the GTE predicate on the "finished_at" field.
func FinishedAtIn ¶
FinishedAtIn applies the In predicate on the "finished_at" field.
func FinishedAtIsNil ¶
FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.
func FinishedAtLT ¶
FinishedAtLT applies the LT predicate on the "finished_at" field.
func FinishedAtLTE ¶
FinishedAtLTE applies the LTE predicate on the "finished_at" field.
func FinishedAtNEQ ¶
FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.
func FinishedAtNotIn ¶
FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.
func FinishedAtNotNil ¶
FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func IsBounce ¶
IsBounce applies equality check predicate on the "is_bounce" field. It's identical to IsBounceEQ.
func IsBounceEQ ¶
IsBounceEQ applies the EQ predicate on the "is_bounce" field.
func IsBounceNEQ ¶
IsBounceNEQ applies the NEQ predicate on the "is_bounce" field.
func IsFinished ¶
IsFinished applies equality check predicate on the "is_finished" field. It's identical to IsFinishedEQ.
func IsFinishedEQ ¶
IsFinishedEQ applies the EQ predicate on the "is_finished" field.
func IsFinishedNEQ ¶
IsFinishedNEQ applies the NEQ predicate on the "is_finished" field.
func IsUnique ¶
IsUnique applies equality check predicate on the "is_unique" field. It's identical to IsUniqueEQ.
func IsUniqueEQ ¶
IsUniqueEQ applies the EQ predicate on the "is_unique" field.
func IsUniqueNEQ ¶
IsUniqueNEQ applies the NEQ predicate on the "is_unique" field.
func NewUser ¶
NewUser applies equality check predicate on the "new_user" field. It's identical to NewUserEQ.
func NewUserNEQ ¶
NewUserNEQ applies the NEQ predicate on the "new_user" field.
func StartedAt ¶
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtLT ¶
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
Types ¶
This section is empty.