Documentation
¶
Index ¶
- Constants
- Variables
- func AgentName(v string) predicate.SessionProvenance
- func AgentNameContains(v string) predicate.SessionProvenance
- func AgentNameContainsFold(v string) predicate.SessionProvenance
- func AgentNameEQ(v string) predicate.SessionProvenance
- func AgentNameEqualFold(v string) predicate.SessionProvenance
- func AgentNameGT(v string) predicate.SessionProvenance
- func AgentNameGTE(v string) predicate.SessionProvenance
- func AgentNameHasPrefix(v string) predicate.SessionProvenance
- func AgentNameHasSuffix(v string) predicate.SessionProvenance
- func AgentNameIn(vs ...string) predicate.SessionProvenance
- func AgentNameLT(v string) predicate.SessionProvenance
- func AgentNameLTE(v string) predicate.SessionProvenance
- func AgentNameNEQ(v string) predicate.SessionProvenance
- func AgentNameNotIn(vs ...string) predicate.SessionProvenance
- func And(predicates ...predicate.SessionProvenance) predicate.SessionProvenance
- func ClosedAt(v time.Time) predicate.SessionProvenance
- func ClosedAtEQ(v time.Time) predicate.SessionProvenance
- func ClosedAtGT(v time.Time) predicate.SessionProvenance
- func ClosedAtGTE(v time.Time) predicate.SessionProvenance
- func ClosedAtIn(vs ...time.Time) predicate.SessionProvenance
- func ClosedAtIsNil() predicate.SessionProvenance
- func ClosedAtLT(v time.Time) predicate.SessionProvenance
- func ClosedAtLTE(v time.Time) predicate.SessionProvenance
- func ClosedAtNEQ(v time.Time) predicate.SessionProvenance
- func ClosedAtNotIn(vs ...time.Time) predicate.SessionProvenance
- func ClosedAtNotNil() predicate.SessionProvenance
- func CreatedAt(v time.Time) predicate.SessionProvenance
- func CreatedAtEQ(v time.Time) predicate.SessionProvenance
- func CreatedAtGT(v time.Time) predicate.SessionProvenance
- func CreatedAtGTE(v time.Time) predicate.SessionProvenance
- func CreatedAtIn(vs ...time.Time) predicate.SessionProvenance
- func CreatedAtLT(v time.Time) predicate.SessionProvenance
- func CreatedAtLTE(v time.Time) predicate.SessionProvenance
- func CreatedAtNEQ(v time.Time) predicate.SessionProvenance
- func CreatedAtNotIn(vs ...time.Time) predicate.SessionProvenance
- func Depth(v int) predicate.SessionProvenance
- func DepthEQ(v int) predicate.SessionProvenance
- func DepthGT(v int) predicate.SessionProvenance
- func DepthGTE(v int) predicate.SessionProvenance
- func DepthIn(vs ...int) predicate.SessionProvenance
- func DepthLT(v int) predicate.SessionProvenance
- func DepthLTE(v int) predicate.SessionProvenance
- func DepthNEQ(v int) predicate.SessionProvenance
- func DepthNotIn(vs ...int) predicate.SessionProvenance
- func Goal(v string) predicate.SessionProvenance
- func GoalContains(v string) predicate.SessionProvenance
- func GoalContainsFold(v string) predicate.SessionProvenance
- func GoalEQ(v string) predicate.SessionProvenance
- func GoalEqualFold(v string) predicate.SessionProvenance
- func GoalGT(v string) predicate.SessionProvenance
- func GoalGTE(v string) predicate.SessionProvenance
- func GoalHasPrefix(v string) predicate.SessionProvenance
- func GoalHasSuffix(v string) predicate.SessionProvenance
- func GoalIn(vs ...string) predicate.SessionProvenance
- func GoalIsNil() predicate.SessionProvenance
- func GoalLT(v string) predicate.SessionProvenance
- func GoalLTE(v string) predicate.SessionProvenance
- func GoalNEQ(v string) predicate.SessionProvenance
- func GoalNotIn(vs ...string) predicate.SessionProvenance
- func GoalNotNil() predicate.SessionProvenance
- func ID(id uuid.UUID) predicate.SessionProvenance
- func IDEQ(id uuid.UUID) predicate.SessionProvenance
- func IDGT(id uuid.UUID) predicate.SessionProvenance
- func IDGTE(id uuid.UUID) predicate.SessionProvenance
- func IDIn(ids ...uuid.UUID) predicate.SessionProvenance
- func IDLT(id uuid.UUID) predicate.SessionProvenance
- func IDLTE(id uuid.UUID) predicate.SessionProvenance
- func IDNEQ(id uuid.UUID) predicate.SessionProvenance
- func IDNotIn(ids ...uuid.UUID) predicate.SessionProvenance
- func Not(p predicate.SessionProvenance) predicate.SessionProvenance
- func Or(predicates ...predicate.SessionProvenance) predicate.SessionProvenance
- func ParentKey(v string) predicate.SessionProvenance
- func ParentKeyContains(v string) predicate.SessionProvenance
- func ParentKeyContainsFold(v string) predicate.SessionProvenance
- func ParentKeyEQ(v string) predicate.SessionProvenance
- func ParentKeyEqualFold(v string) predicate.SessionProvenance
- func ParentKeyGT(v string) predicate.SessionProvenance
- func ParentKeyGTE(v string) predicate.SessionProvenance
- func ParentKeyHasPrefix(v string) predicate.SessionProvenance
- func ParentKeyHasSuffix(v string) predicate.SessionProvenance
- func ParentKeyIn(vs ...string) predicate.SessionProvenance
- func ParentKeyIsNil() predicate.SessionProvenance
- func ParentKeyLT(v string) predicate.SessionProvenance
- func ParentKeyLTE(v string) predicate.SessionProvenance
- func ParentKeyNEQ(v string) predicate.SessionProvenance
- func ParentKeyNotIn(vs ...string) predicate.SessionProvenance
- func ParentKeyNotNil() predicate.SessionProvenance
- func RunID(v string) predicate.SessionProvenance
- func RunIDContains(v string) predicate.SessionProvenance
- func RunIDContainsFold(v string) predicate.SessionProvenance
- func RunIDEQ(v string) predicate.SessionProvenance
- func RunIDEqualFold(v string) predicate.SessionProvenance
- func RunIDGT(v string) predicate.SessionProvenance
- func RunIDGTE(v string) predicate.SessionProvenance
- func RunIDHasPrefix(v string) predicate.SessionProvenance
- func RunIDHasSuffix(v string) predicate.SessionProvenance
- func RunIDIn(vs ...string) predicate.SessionProvenance
- func RunIDIsNil() predicate.SessionProvenance
- func RunIDLT(v string) predicate.SessionProvenance
- func RunIDLTE(v string) predicate.SessionProvenance
- func RunIDNEQ(v string) predicate.SessionProvenance
- func RunIDNotIn(vs ...string) predicate.SessionProvenance
- func RunIDNotNil() predicate.SessionProvenance
- func SessionKey(v string) predicate.SessionProvenance
- func SessionKeyContains(v string) predicate.SessionProvenance
- func SessionKeyContainsFold(v string) predicate.SessionProvenance
- func SessionKeyEQ(v string) predicate.SessionProvenance
- func SessionKeyEqualFold(v string) predicate.SessionProvenance
- func SessionKeyGT(v string) predicate.SessionProvenance
- func SessionKeyGTE(v string) predicate.SessionProvenance
- func SessionKeyHasPrefix(v string) predicate.SessionProvenance
- func SessionKeyHasSuffix(v string) predicate.SessionProvenance
- func SessionKeyIn(vs ...string) predicate.SessionProvenance
- func SessionKeyLT(v string) predicate.SessionProvenance
- func SessionKeyLTE(v string) predicate.SessionProvenance
- func SessionKeyNEQ(v string) predicate.SessionProvenance
- func SessionKeyNotIn(vs ...string) predicate.SessionProvenance
- func StatusEQ(v Status) predicate.SessionProvenance
- func StatusIn(vs ...Status) predicate.SessionProvenance
- func StatusNEQ(v Status) predicate.SessionProvenance
- func StatusNotIn(vs ...Status) predicate.SessionProvenance
- func StatusValidator(s Status) error
- func ValidColumn(column string) bool
- func WorkspaceID(v string) predicate.SessionProvenance
- func WorkspaceIDContains(v string) predicate.SessionProvenance
- func WorkspaceIDContainsFold(v string) predicate.SessionProvenance
- func WorkspaceIDEQ(v string) predicate.SessionProvenance
- func WorkspaceIDEqualFold(v string) predicate.SessionProvenance
- func WorkspaceIDGT(v string) predicate.SessionProvenance
- func WorkspaceIDGTE(v string) predicate.SessionProvenance
- func WorkspaceIDHasPrefix(v string) predicate.SessionProvenance
- func WorkspaceIDHasSuffix(v string) predicate.SessionProvenance
- func WorkspaceIDIn(vs ...string) predicate.SessionProvenance
- func WorkspaceIDIsNil() predicate.SessionProvenance
- func WorkspaceIDLT(v string) predicate.SessionProvenance
- func WorkspaceIDLTE(v string) predicate.SessionProvenance
- func WorkspaceIDNEQ(v string) predicate.SessionProvenance
- func WorkspaceIDNotIn(vs ...string) predicate.SessionProvenance
- func WorkspaceIDNotNil() predicate.SessionProvenance
- type OrderOption
- func ByAgentName(opts ...sql.OrderTermOption) OrderOption
- func ByClosedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDepth(opts ...sql.OrderTermOption) OrderOption
- func ByGoal(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByParentKey(opts ...sql.OrderTermOption) OrderOption
- func ByRunID(opts ...sql.OrderTermOption) OrderOption
- func BySessionKey(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the sessionprovenance type in the database. Label = "session_provenance" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSessionKey holds the string denoting the session_key field in the database. FieldSessionKey = "session_key" // FieldParentKey holds the string denoting the parent_key field in the database. FieldParentKey = "parent_key" // FieldAgentName holds the string denoting the agent_name field in the database. FieldAgentName = "agent_name" // FieldGoal holds the string denoting the goal field in the database. FieldGoal = "goal" // FieldRunID holds the string denoting the run_id field in the database. FieldRunID = "run_id" // FieldWorkspaceID holds the string denoting the workspace_id field in the database. FieldWorkspaceID = "workspace_id" // FieldDepth holds the string denoting the depth field in the database. FieldDepth = "depth" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldClosedAt holds the string denoting the closed_at field in the database. FieldClosedAt = "closed_at" // Table holds the table name of the sessionprovenance in the database. Table = "session_provenances" )
const DefaultStatus = StatusActive
StatusActive is the default value of the Status enum.
Variables ¶
var ( // SessionKeyValidator is a validator for the "session_key" field. It is called by the builders before save. SessionKeyValidator func(string) error // AgentNameValidator is a validator for the "agent_name" field. It is called by the builders before save. AgentNameValidator func(string) error // DefaultDepth holds the default value on creation for the "depth" field. DefaultDepth int // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSessionKey, FieldParentKey, FieldAgentName, FieldGoal, FieldRunID, FieldWorkspaceID, FieldDepth, FieldStatus, FieldCreatedAt, FieldClosedAt, }
Columns holds all SQL columns for sessionprovenance fields.
Functions ¶
func AgentName ¶
func AgentName(v string) predicate.SessionProvenance
AgentName applies equality check predicate on the "agent_name" field. It's identical to AgentNameEQ.
func AgentNameContains ¶
func AgentNameContains(v string) predicate.SessionProvenance
AgentNameContains applies the Contains predicate on the "agent_name" field.
func AgentNameContainsFold ¶
func AgentNameContainsFold(v string) predicate.SessionProvenance
AgentNameContainsFold applies the ContainsFold predicate on the "agent_name" field.
func AgentNameEQ ¶
func AgentNameEQ(v string) predicate.SessionProvenance
AgentNameEQ applies the EQ predicate on the "agent_name" field.
func AgentNameEqualFold ¶
func AgentNameEqualFold(v string) predicate.SessionProvenance
AgentNameEqualFold applies the EqualFold predicate on the "agent_name" field.
func AgentNameGT ¶
func AgentNameGT(v string) predicate.SessionProvenance
AgentNameGT applies the GT predicate on the "agent_name" field.
func AgentNameGTE ¶
func AgentNameGTE(v string) predicate.SessionProvenance
AgentNameGTE applies the GTE predicate on the "agent_name" field.
func AgentNameHasPrefix ¶
func AgentNameHasPrefix(v string) predicate.SessionProvenance
AgentNameHasPrefix applies the HasPrefix predicate on the "agent_name" field.
func AgentNameHasSuffix ¶
func AgentNameHasSuffix(v string) predicate.SessionProvenance
AgentNameHasSuffix applies the HasSuffix predicate on the "agent_name" field.
func AgentNameIn ¶
func AgentNameIn(vs ...string) predicate.SessionProvenance
AgentNameIn applies the In predicate on the "agent_name" field.
func AgentNameLT ¶
func AgentNameLT(v string) predicate.SessionProvenance
AgentNameLT applies the LT predicate on the "agent_name" field.
func AgentNameLTE ¶
func AgentNameLTE(v string) predicate.SessionProvenance
AgentNameLTE applies the LTE predicate on the "agent_name" field.
func AgentNameNEQ ¶
func AgentNameNEQ(v string) predicate.SessionProvenance
AgentNameNEQ applies the NEQ predicate on the "agent_name" field.
func AgentNameNotIn ¶
func AgentNameNotIn(vs ...string) predicate.SessionProvenance
AgentNameNotIn applies the NotIn predicate on the "agent_name" field.
func And ¶
func And(predicates ...predicate.SessionProvenance) predicate.SessionProvenance
And groups predicates with the AND operator between them.
func ClosedAt ¶
func ClosedAt(v time.Time) predicate.SessionProvenance
ClosedAt applies equality check predicate on the "closed_at" field. It's identical to ClosedAtEQ.
func ClosedAtEQ ¶
func ClosedAtEQ(v time.Time) predicate.SessionProvenance
ClosedAtEQ applies the EQ predicate on the "closed_at" field.
func ClosedAtGT ¶
func ClosedAtGT(v time.Time) predicate.SessionProvenance
ClosedAtGT applies the GT predicate on the "closed_at" field.
func ClosedAtGTE ¶
func ClosedAtGTE(v time.Time) predicate.SessionProvenance
ClosedAtGTE applies the GTE predicate on the "closed_at" field.
func ClosedAtIn ¶
func ClosedAtIn(vs ...time.Time) predicate.SessionProvenance
ClosedAtIn applies the In predicate on the "closed_at" field.
func ClosedAtIsNil ¶
func ClosedAtIsNil() predicate.SessionProvenance
ClosedAtIsNil applies the IsNil predicate on the "closed_at" field.
func ClosedAtLT ¶
func ClosedAtLT(v time.Time) predicate.SessionProvenance
ClosedAtLT applies the LT predicate on the "closed_at" field.
func ClosedAtLTE ¶
func ClosedAtLTE(v time.Time) predicate.SessionProvenance
ClosedAtLTE applies the LTE predicate on the "closed_at" field.
func ClosedAtNEQ ¶
func ClosedAtNEQ(v time.Time) predicate.SessionProvenance
ClosedAtNEQ applies the NEQ predicate on the "closed_at" field.
func ClosedAtNotIn ¶
func ClosedAtNotIn(vs ...time.Time) predicate.SessionProvenance
ClosedAtNotIn applies the NotIn predicate on the "closed_at" field.
func ClosedAtNotNil ¶
func ClosedAtNotNil() predicate.SessionProvenance
ClosedAtNotNil applies the NotNil predicate on the "closed_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SessionProvenance
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SessionProvenance
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SessionProvenance
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SessionProvenance
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SessionProvenance
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SessionProvenance
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SessionProvenance
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SessionProvenance
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SessionProvenance
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Depth ¶
func Depth(v int) predicate.SessionProvenance
Depth applies equality check predicate on the "depth" field. It's identical to DepthEQ.
func DepthEQ ¶
func DepthEQ(v int) predicate.SessionProvenance
DepthEQ applies the EQ predicate on the "depth" field.
func DepthGT ¶
func DepthGT(v int) predicate.SessionProvenance
DepthGT applies the GT predicate on the "depth" field.
func DepthGTE ¶
func DepthGTE(v int) predicate.SessionProvenance
DepthGTE applies the GTE predicate on the "depth" field.
func DepthIn ¶
func DepthIn(vs ...int) predicate.SessionProvenance
DepthIn applies the In predicate on the "depth" field.
func DepthLT ¶
func DepthLT(v int) predicate.SessionProvenance
DepthLT applies the LT predicate on the "depth" field.
func DepthLTE ¶
func DepthLTE(v int) predicate.SessionProvenance
DepthLTE applies the LTE predicate on the "depth" field.
func DepthNEQ ¶
func DepthNEQ(v int) predicate.SessionProvenance
DepthNEQ applies the NEQ predicate on the "depth" field.
func DepthNotIn ¶
func DepthNotIn(vs ...int) predicate.SessionProvenance
DepthNotIn applies the NotIn predicate on the "depth" field.
func Goal ¶
func Goal(v string) predicate.SessionProvenance
Goal applies equality check predicate on the "goal" field. It's identical to GoalEQ.
func GoalContains ¶
func GoalContains(v string) predicate.SessionProvenance
GoalContains applies the Contains predicate on the "goal" field.
func GoalContainsFold ¶
func GoalContainsFold(v string) predicate.SessionProvenance
GoalContainsFold applies the ContainsFold predicate on the "goal" field.
func GoalEQ ¶
func GoalEQ(v string) predicate.SessionProvenance
GoalEQ applies the EQ predicate on the "goal" field.
func GoalEqualFold ¶
func GoalEqualFold(v string) predicate.SessionProvenance
GoalEqualFold applies the EqualFold predicate on the "goal" field.
func GoalGT ¶
func GoalGT(v string) predicate.SessionProvenance
GoalGT applies the GT predicate on the "goal" field.
func GoalGTE ¶
func GoalGTE(v string) predicate.SessionProvenance
GoalGTE applies the GTE predicate on the "goal" field.
func GoalHasPrefix ¶
func GoalHasPrefix(v string) predicate.SessionProvenance
GoalHasPrefix applies the HasPrefix predicate on the "goal" field.
func GoalHasSuffix ¶
func GoalHasSuffix(v string) predicate.SessionProvenance
GoalHasSuffix applies the HasSuffix predicate on the "goal" field.
func GoalIn ¶
func GoalIn(vs ...string) predicate.SessionProvenance
GoalIn applies the In predicate on the "goal" field.
func GoalIsNil ¶
func GoalIsNil() predicate.SessionProvenance
GoalIsNil applies the IsNil predicate on the "goal" field.
func GoalLT ¶
func GoalLT(v string) predicate.SessionProvenance
GoalLT applies the LT predicate on the "goal" field.
func GoalLTE ¶
func GoalLTE(v string) predicate.SessionProvenance
GoalLTE applies the LTE predicate on the "goal" field.
func GoalNEQ ¶
func GoalNEQ(v string) predicate.SessionProvenance
GoalNEQ applies the NEQ predicate on the "goal" field.
func GoalNotIn ¶
func GoalNotIn(vs ...string) predicate.SessionProvenance
GoalNotIn applies the NotIn predicate on the "goal" field.
func GoalNotNil ¶
func GoalNotNil() predicate.SessionProvenance
GoalNotNil applies the NotNil predicate on the "goal" field.
func ID ¶
func ID(id uuid.UUID) predicate.SessionProvenance
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SessionProvenance
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SessionProvenance
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SessionProvenance
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SessionProvenance
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SessionProvenance
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SessionProvenance
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SessionProvenance
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SessionProvenance
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SessionProvenance) predicate.SessionProvenance
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SessionProvenance) predicate.SessionProvenance
Or groups predicates with the OR operator between them.
func ParentKey ¶
func ParentKey(v string) predicate.SessionProvenance
ParentKey applies equality check predicate on the "parent_key" field. It's identical to ParentKeyEQ.
func ParentKeyContains ¶
func ParentKeyContains(v string) predicate.SessionProvenance
ParentKeyContains applies the Contains predicate on the "parent_key" field.
func ParentKeyContainsFold ¶
func ParentKeyContainsFold(v string) predicate.SessionProvenance
ParentKeyContainsFold applies the ContainsFold predicate on the "parent_key" field.
func ParentKeyEQ ¶
func ParentKeyEQ(v string) predicate.SessionProvenance
ParentKeyEQ applies the EQ predicate on the "parent_key" field.
func ParentKeyEqualFold ¶
func ParentKeyEqualFold(v string) predicate.SessionProvenance
ParentKeyEqualFold applies the EqualFold predicate on the "parent_key" field.
func ParentKeyGT ¶
func ParentKeyGT(v string) predicate.SessionProvenance
ParentKeyGT applies the GT predicate on the "parent_key" field.
func ParentKeyGTE ¶
func ParentKeyGTE(v string) predicate.SessionProvenance
ParentKeyGTE applies the GTE predicate on the "parent_key" field.
func ParentKeyHasPrefix ¶
func ParentKeyHasPrefix(v string) predicate.SessionProvenance
ParentKeyHasPrefix applies the HasPrefix predicate on the "parent_key" field.
func ParentKeyHasSuffix ¶
func ParentKeyHasSuffix(v string) predicate.SessionProvenance
ParentKeyHasSuffix applies the HasSuffix predicate on the "parent_key" field.
func ParentKeyIn ¶
func ParentKeyIn(vs ...string) predicate.SessionProvenance
ParentKeyIn applies the In predicate on the "parent_key" field.
func ParentKeyIsNil ¶
func ParentKeyIsNil() predicate.SessionProvenance
ParentKeyIsNil applies the IsNil predicate on the "parent_key" field.
func ParentKeyLT ¶
func ParentKeyLT(v string) predicate.SessionProvenance
ParentKeyLT applies the LT predicate on the "parent_key" field.
func ParentKeyLTE ¶
func ParentKeyLTE(v string) predicate.SessionProvenance
ParentKeyLTE applies the LTE predicate on the "parent_key" field.
func ParentKeyNEQ ¶
func ParentKeyNEQ(v string) predicate.SessionProvenance
ParentKeyNEQ applies the NEQ predicate on the "parent_key" field.
func ParentKeyNotIn ¶
func ParentKeyNotIn(vs ...string) predicate.SessionProvenance
ParentKeyNotIn applies the NotIn predicate on the "parent_key" field.
func ParentKeyNotNil ¶
func ParentKeyNotNil() predicate.SessionProvenance
ParentKeyNotNil applies the NotNil predicate on the "parent_key" field.
func RunID ¶
func RunID(v string) predicate.SessionProvenance
RunID applies equality check predicate on the "run_id" field. It's identical to RunIDEQ.
func RunIDContains ¶
func RunIDContains(v string) predicate.SessionProvenance
RunIDContains applies the Contains predicate on the "run_id" field.
func RunIDContainsFold ¶
func RunIDContainsFold(v string) predicate.SessionProvenance
RunIDContainsFold applies the ContainsFold predicate on the "run_id" field.
func RunIDEQ ¶
func RunIDEQ(v string) predicate.SessionProvenance
RunIDEQ applies the EQ predicate on the "run_id" field.
func RunIDEqualFold ¶
func RunIDEqualFold(v string) predicate.SessionProvenance
RunIDEqualFold applies the EqualFold predicate on the "run_id" field.
func RunIDGT ¶
func RunIDGT(v string) predicate.SessionProvenance
RunIDGT applies the GT predicate on the "run_id" field.
func RunIDGTE ¶
func RunIDGTE(v string) predicate.SessionProvenance
RunIDGTE applies the GTE predicate on the "run_id" field.
func RunIDHasPrefix ¶
func RunIDHasPrefix(v string) predicate.SessionProvenance
RunIDHasPrefix applies the HasPrefix predicate on the "run_id" field.
func RunIDHasSuffix ¶
func RunIDHasSuffix(v string) predicate.SessionProvenance
RunIDHasSuffix applies the HasSuffix predicate on the "run_id" field.
func RunIDIn ¶
func RunIDIn(vs ...string) predicate.SessionProvenance
RunIDIn applies the In predicate on the "run_id" field.
func RunIDIsNil ¶
func RunIDIsNil() predicate.SessionProvenance
RunIDIsNil applies the IsNil predicate on the "run_id" field.
func RunIDLT ¶
func RunIDLT(v string) predicate.SessionProvenance
RunIDLT applies the LT predicate on the "run_id" field.
func RunIDLTE ¶
func RunIDLTE(v string) predicate.SessionProvenance
RunIDLTE applies the LTE predicate on the "run_id" field.
func RunIDNEQ ¶
func RunIDNEQ(v string) predicate.SessionProvenance
RunIDNEQ applies the NEQ predicate on the "run_id" field.
func RunIDNotIn ¶
func RunIDNotIn(vs ...string) predicate.SessionProvenance
RunIDNotIn applies the NotIn predicate on the "run_id" field.
func RunIDNotNil ¶
func RunIDNotNil() predicate.SessionProvenance
RunIDNotNil applies the NotNil predicate on the "run_id" field.
func SessionKey ¶
func SessionKey(v string) predicate.SessionProvenance
SessionKey applies equality check predicate on the "session_key" field. It's identical to SessionKeyEQ.
func SessionKeyContains ¶
func SessionKeyContains(v string) predicate.SessionProvenance
SessionKeyContains applies the Contains predicate on the "session_key" field.
func SessionKeyContainsFold ¶
func SessionKeyContainsFold(v string) predicate.SessionProvenance
SessionKeyContainsFold applies the ContainsFold predicate on the "session_key" field.
func SessionKeyEQ ¶
func SessionKeyEQ(v string) predicate.SessionProvenance
SessionKeyEQ applies the EQ predicate on the "session_key" field.
func SessionKeyEqualFold ¶
func SessionKeyEqualFold(v string) predicate.SessionProvenance
SessionKeyEqualFold applies the EqualFold predicate on the "session_key" field.
func SessionKeyGT ¶
func SessionKeyGT(v string) predicate.SessionProvenance
SessionKeyGT applies the GT predicate on the "session_key" field.
func SessionKeyGTE ¶
func SessionKeyGTE(v string) predicate.SessionProvenance
SessionKeyGTE applies the GTE predicate on the "session_key" field.
func SessionKeyHasPrefix ¶
func SessionKeyHasPrefix(v string) predicate.SessionProvenance
SessionKeyHasPrefix applies the HasPrefix predicate on the "session_key" field.
func SessionKeyHasSuffix ¶
func SessionKeyHasSuffix(v string) predicate.SessionProvenance
SessionKeyHasSuffix applies the HasSuffix predicate on the "session_key" field.
func SessionKeyIn ¶
func SessionKeyIn(vs ...string) predicate.SessionProvenance
SessionKeyIn applies the In predicate on the "session_key" field.
func SessionKeyLT ¶
func SessionKeyLT(v string) predicate.SessionProvenance
SessionKeyLT applies the LT predicate on the "session_key" field.
func SessionKeyLTE ¶
func SessionKeyLTE(v string) predicate.SessionProvenance
SessionKeyLTE applies the LTE predicate on the "session_key" field.
func SessionKeyNEQ ¶
func SessionKeyNEQ(v string) predicate.SessionProvenance
SessionKeyNEQ applies the NEQ predicate on the "session_key" field.
func SessionKeyNotIn ¶
func SessionKeyNotIn(vs ...string) predicate.SessionProvenance
SessionKeyNotIn applies the NotIn predicate on the "session_key" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.SessionProvenance
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.SessionProvenance
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.SessionProvenance
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.SessionProvenance
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkspaceID ¶
func WorkspaceID(v string) predicate.SessionProvenance
WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.
func WorkspaceIDContains ¶
func WorkspaceIDContains(v string) predicate.SessionProvenance
WorkspaceIDContains applies the Contains predicate on the "workspace_id" field.
func WorkspaceIDContainsFold ¶
func WorkspaceIDContainsFold(v string) predicate.SessionProvenance
WorkspaceIDContainsFold applies the ContainsFold predicate on the "workspace_id" field.
func WorkspaceIDEQ ¶
func WorkspaceIDEQ(v string) predicate.SessionProvenance
WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.
func WorkspaceIDEqualFold ¶
func WorkspaceIDEqualFold(v string) predicate.SessionProvenance
WorkspaceIDEqualFold applies the EqualFold predicate on the "workspace_id" field.
func WorkspaceIDGT ¶
func WorkspaceIDGT(v string) predicate.SessionProvenance
WorkspaceIDGT applies the GT predicate on the "workspace_id" field.
func WorkspaceIDGTE ¶
func WorkspaceIDGTE(v string) predicate.SessionProvenance
WorkspaceIDGTE applies the GTE predicate on the "workspace_id" field.
func WorkspaceIDHasPrefix ¶
func WorkspaceIDHasPrefix(v string) predicate.SessionProvenance
WorkspaceIDHasPrefix applies the HasPrefix predicate on the "workspace_id" field.
func WorkspaceIDHasSuffix ¶
func WorkspaceIDHasSuffix(v string) predicate.SessionProvenance
WorkspaceIDHasSuffix applies the HasSuffix predicate on the "workspace_id" field.
func WorkspaceIDIn ¶
func WorkspaceIDIn(vs ...string) predicate.SessionProvenance
WorkspaceIDIn applies the In predicate on the "workspace_id" field.
func WorkspaceIDIsNil ¶
func WorkspaceIDIsNil() predicate.SessionProvenance
WorkspaceIDIsNil applies the IsNil predicate on the "workspace_id" field.
func WorkspaceIDLT ¶
func WorkspaceIDLT(v string) predicate.SessionProvenance
WorkspaceIDLT applies the LT predicate on the "workspace_id" field.
func WorkspaceIDLTE ¶
func WorkspaceIDLTE(v string) predicate.SessionProvenance
WorkspaceIDLTE applies the LTE predicate on the "workspace_id" field.
func WorkspaceIDNEQ ¶
func WorkspaceIDNEQ(v string) predicate.SessionProvenance
WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.
func WorkspaceIDNotIn ¶
func WorkspaceIDNotIn(vs ...string) predicate.SessionProvenance
WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.
func WorkspaceIDNotNil ¶
func WorkspaceIDNotNil() predicate.SessionProvenance
WorkspaceIDNotNil applies the NotNil predicate on the "workspace_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SessionProvenance queries.
func ByAgentName ¶
func ByAgentName(opts ...sql.OrderTermOption) OrderOption
ByAgentName orders the results by the agent_name field.
func ByClosedAt ¶
func ByClosedAt(opts ...sql.OrderTermOption) OrderOption
ByClosedAt orders the results by the closed_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDepth ¶
func ByDepth(opts ...sql.OrderTermOption) OrderOption
ByDepth orders the results by the depth field.
func ByGoal ¶
func ByGoal(opts ...sql.OrderTermOption) OrderOption
ByGoal orders the results by the goal field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByParentKey ¶
func ByParentKey(opts ...sql.OrderTermOption) OrderOption
ByParentKey orders the results by the parent_key field.
func ByRunID ¶
func ByRunID(opts ...sql.OrderTermOption) OrderOption
ByRunID orders the results by the run_id field.
func BySessionKey ¶
func BySessionKey(opts ...sql.OrderTermOption) OrderOption
BySessionKey orders the results by the session_key field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByWorkspaceID ¶
func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceID orders the results by the workspace_id field.