session

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldWorkingDir holds the string denoting the working_dir field in the database.
	FieldWorkingDir = "working_dir"
	// FieldBranch holds the string denoting the branch field in the database.
	FieldBranch = "branch"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldHeight holds the string denoting the height field in the database.
	FieldHeight = "height"
	// FieldWidth holds the string denoting the width field in the database.
	FieldWidth = "width"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldAutoYes holds the string denoting the auto_yes field in the database.
	FieldAutoYes = "auto_yes"
	// FieldPrompt holds the string denoting the prompt field in the database.
	FieldPrompt = "prompt"
	// FieldProgram holds the string denoting the program field in the database.
	FieldProgram = "program"
	// FieldExistingWorktree holds the string denoting the existing_worktree field in the database.
	FieldExistingWorktree = "existing_worktree"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldIsExpanded holds the string denoting the is_expanded field in the database.
	FieldIsExpanded = "is_expanded"
	// FieldSessionType holds the string denoting the session_type field in the database.
	FieldSessionType = "session_type"
	// FieldTmuxPrefix holds the string denoting the tmux_prefix field in the database.
	FieldTmuxPrefix = "tmux_prefix"
	// FieldLastTerminalUpdate holds the string denoting the last_terminal_update field in the database.
	FieldLastTerminalUpdate = "last_terminal_update"
	// FieldLastMeaningfulOutput holds the string denoting the last_meaningful_output field in the database.
	FieldLastMeaningfulOutput = "last_meaningful_output"
	// FieldLastOutputSignature holds the string denoting the last_output_signature field in the database.
	FieldLastOutputSignature = "last_output_signature"
	// FieldLastAddedToQueue holds the string denoting the last_added_to_queue field in the database.
	FieldLastAddedToQueue = "last_added_to_queue"
	// FieldLastViewed holds the string denoting the last_viewed field in the database.
	FieldLastViewed = "last_viewed"
	// FieldLastAcknowledged holds the string denoting the last_acknowledged field in the database.
	FieldLastAcknowledged = "last_acknowledged"
	// EdgeWorktree holds the string denoting the worktree edge name in mutations.
	EdgeWorktree = "worktree"
	// EdgeDiffStats holds the string denoting the diff_stats edge name in mutations.
	EdgeDiffStats = "diff_stats"
	// EdgeTags holds the string denoting the tags edge name in mutations.
	EdgeTags = "tags"
	// EdgeClaudeSession holds the string denoting the claude_session edge name in mutations.
	EdgeClaudeSession = "claude_session"
	// Table holds the table name of the session in the database.
	Table = "sessions"
	// WorktreeTable is the table that holds the worktree relation/edge.
	WorktreeTable = "worktrees"
	// WorktreeInverseTable is the table name for the Worktree entity.
	// It exists in this package in order to avoid circular dependency with the "worktree" package.
	WorktreeInverseTable = "worktrees"
	// WorktreeColumn is the table column denoting the worktree relation/edge.
	WorktreeColumn = "session_worktree"
	// DiffStatsTable is the table that holds the diff_stats relation/edge.
	DiffStatsTable = "diff_stats"
	// DiffStatsInverseTable is the table name for the DiffStats entity.
	// It exists in this package in order to avoid circular dependency with the "diffstats" package.
	DiffStatsInverseTable = "diff_stats"
	// DiffStatsColumn is the table column denoting the diff_stats relation/edge.
	DiffStatsColumn = "session_diff_stats"
	// TagsTable is the table that holds the tags relation/edge. The primary key declared below.
	TagsTable = "session_tags"
	// TagsInverseTable is the table name for the Tag entity.
	// It exists in this package in order to avoid circular dependency with the "tag" package.
	TagsInverseTable = "tags"
	// ClaudeSessionTable is the table that holds the claude_session relation/edge.
	ClaudeSessionTable = "claude_sessions"
	// ClaudeSessionInverseTable is the table name for the ClaudeSession entity.
	// It exists in this package in order to avoid circular dependency with the "claudesession" package.
	ClaudeSessionInverseTable = "claude_sessions"
	// ClaudeSessionColumn is the table column denoting the claude_session relation/edge.
	ClaudeSessionColumn = "session_claude_session"
)

Variables

View Source
var (
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// PathValidator is a validator for the "path" field. It is called by the builders before save.
	PathValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultAutoYes holds the default value on creation for the "auto_yes" field.
	DefaultAutoYes bool
	// ProgramValidator is a validator for the "program" field. It is called by the builders before save.
	ProgramValidator func(string) error
	// DefaultIsExpanded holds the default value on creation for the "is_expanded" field.
	DefaultIsExpanded bool
)

Columns holds all SQL columns for session fields.

View Source
var (
	// TagsPrimaryKey and TagsColumn2 are the table columns denoting the
	// primary key for the tags relation (M2M).
	TagsPrimaryKey = []string{"session_id", "tag_id"}
)

Functions

func And

func And(predicates ...predicate.Session) predicate.Session

And groups predicates with the AND operator between them.

func AutoYes

func AutoYes(v bool) predicate.Session

AutoYes applies equality check predicate on the "auto_yes" field. It's identical to AutoYesEQ.

func AutoYesEQ

func AutoYesEQ(v bool) predicate.Session

AutoYesEQ applies the EQ predicate on the "auto_yes" field.

func AutoYesNEQ

func AutoYesNEQ(v bool) predicate.Session

AutoYesNEQ applies the NEQ predicate on the "auto_yes" field.

func Branch

func Branch(v string) predicate.Session

Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.

func BranchContains

func BranchContains(v string) predicate.Session

BranchContains applies the Contains predicate on the "branch" field.

func BranchContainsFold

func BranchContainsFold(v string) predicate.Session

BranchContainsFold applies the ContainsFold predicate on the "branch" field.

func BranchEQ

func BranchEQ(v string) predicate.Session

BranchEQ applies the EQ predicate on the "branch" field.

func BranchEqualFold

func BranchEqualFold(v string) predicate.Session

BranchEqualFold applies the EqualFold predicate on the "branch" field.

func BranchGT

func BranchGT(v string) predicate.Session

BranchGT applies the GT predicate on the "branch" field.

func BranchGTE

func BranchGTE(v string) predicate.Session

BranchGTE applies the GTE predicate on the "branch" field.

func BranchHasPrefix

func BranchHasPrefix(v string) predicate.Session

BranchHasPrefix applies the HasPrefix predicate on the "branch" field.

func BranchHasSuffix

func BranchHasSuffix(v string) predicate.Session

BranchHasSuffix applies the HasSuffix predicate on the "branch" field.

func BranchIn

func BranchIn(vs ...string) predicate.Session

BranchIn applies the In predicate on the "branch" field.

func BranchIsNil

func BranchIsNil() predicate.Session

BranchIsNil applies the IsNil predicate on the "branch" field.

func BranchLT

func BranchLT(v string) predicate.Session

BranchLT applies the LT predicate on the "branch" field.

func BranchLTE

func BranchLTE(v string) predicate.Session

BranchLTE applies the LTE predicate on the "branch" field.

func BranchNEQ

func BranchNEQ(v string) predicate.Session

BranchNEQ applies the NEQ predicate on the "branch" field.

func BranchNotIn

func BranchNotIn(vs ...string) predicate.Session

BranchNotIn applies the NotIn predicate on the "branch" field.

func BranchNotNil

func BranchNotNil() predicate.Session

BranchNotNil applies the NotNil predicate on the "branch" field.

func Category

func Category(v string) predicate.Session

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.Session

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.Session

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.Session

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.Session

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.Session

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.Session

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.Session

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.Session

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

func CategoryIn(vs ...string) predicate.Session

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil

func CategoryIsNil() predicate.Session

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.Session

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.Session

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.Session

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

func CategoryNotIn(vs ...string) predicate.Session

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil

func CategoryNotNil() predicate.Session

CategoryNotNil applies the NotNil predicate on the "category" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Session

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Session

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Session

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Session

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Session

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Session

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Session

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Session

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Session

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ExistingWorktree

func ExistingWorktree(v string) predicate.Session

ExistingWorktree applies equality check predicate on the "existing_worktree" field. It's identical to ExistingWorktreeEQ.

func ExistingWorktreeContains

func ExistingWorktreeContains(v string) predicate.Session

ExistingWorktreeContains applies the Contains predicate on the "existing_worktree" field.

func ExistingWorktreeContainsFold

func ExistingWorktreeContainsFold(v string) predicate.Session

ExistingWorktreeContainsFold applies the ContainsFold predicate on the "existing_worktree" field.

func ExistingWorktreeEQ

func ExistingWorktreeEQ(v string) predicate.Session

ExistingWorktreeEQ applies the EQ predicate on the "existing_worktree" field.

func ExistingWorktreeEqualFold

func ExistingWorktreeEqualFold(v string) predicate.Session

ExistingWorktreeEqualFold applies the EqualFold predicate on the "existing_worktree" field.

func ExistingWorktreeGT

func ExistingWorktreeGT(v string) predicate.Session

ExistingWorktreeGT applies the GT predicate on the "existing_worktree" field.

func ExistingWorktreeGTE

func ExistingWorktreeGTE(v string) predicate.Session

ExistingWorktreeGTE applies the GTE predicate on the "existing_worktree" field.

func ExistingWorktreeHasPrefix

func ExistingWorktreeHasPrefix(v string) predicate.Session

ExistingWorktreeHasPrefix applies the HasPrefix predicate on the "existing_worktree" field.

func ExistingWorktreeHasSuffix

func ExistingWorktreeHasSuffix(v string) predicate.Session

ExistingWorktreeHasSuffix applies the HasSuffix predicate on the "existing_worktree" field.

func ExistingWorktreeIn

func ExistingWorktreeIn(vs ...string) predicate.Session

ExistingWorktreeIn applies the In predicate on the "existing_worktree" field.

func ExistingWorktreeIsNil

func ExistingWorktreeIsNil() predicate.Session

ExistingWorktreeIsNil applies the IsNil predicate on the "existing_worktree" field.

func ExistingWorktreeLT

func ExistingWorktreeLT(v string) predicate.Session

ExistingWorktreeLT applies the LT predicate on the "existing_worktree" field.

func ExistingWorktreeLTE

func ExistingWorktreeLTE(v string) predicate.Session

ExistingWorktreeLTE applies the LTE predicate on the "existing_worktree" field.

func ExistingWorktreeNEQ

func ExistingWorktreeNEQ(v string) predicate.Session

ExistingWorktreeNEQ applies the NEQ predicate on the "existing_worktree" field.

func ExistingWorktreeNotIn

func ExistingWorktreeNotIn(vs ...string) predicate.Session

ExistingWorktreeNotIn applies the NotIn predicate on the "existing_worktree" field.

func ExistingWorktreeNotNil

func ExistingWorktreeNotNil() predicate.Session

ExistingWorktreeNotNil applies the NotNil predicate on the "existing_worktree" field.

func HasClaudeSession

func HasClaudeSession() predicate.Session

HasClaudeSession applies the HasEdge predicate on the "claude_session" edge.

func HasClaudeSessionWith

func HasClaudeSessionWith(preds ...predicate.ClaudeSession) predicate.Session

HasClaudeSessionWith applies the HasEdge predicate on the "claude_session" edge with a given conditions (other predicates).

func HasDiffStats

func HasDiffStats() predicate.Session

HasDiffStats applies the HasEdge predicate on the "diff_stats" edge.

func HasDiffStatsWith

func HasDiffStatsWith(preds ...predicate.DiffStats) predicate.Session

HasDiffStatsWith applies the HasEdge predicate on the "diff_stats" edge with a given conditions (other predicates).

func HasTags

func HasTags() predicate.Session

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.Tag) predicate.Session

HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).

func HasWorktree

func HasWorktree() predicate.Session

HasWorktree applies the HasEdge predicate on the "worktree" edge.

func HasWorktreeWith

func HasWorktreeWith(preds ...predicate.Worktree) predicate.Session

HasWorktreeWith applies the HasEdge predicate on the "worktree" edge with a given conditions (other predicates).

func Height

func Height(v int) predicate.Session

Height applies equality check predicate on the "height" field. It's identical to HeightEQ.

func HeightEQ

func HeightEQ(v int) predicate.Session

HeightEQ applies the EQ predicate on the "height" field.

func HeightGT

func HeightGT(v int) predicate.Session

HeightGT applies the GT predicate on the "height" field.

func HeightGTE

func HeightGTE(v int) predicate.Session

HeightGTE applies the GTE predicate on the "height" field.

func HeightIn

func HeightIn(vs ...int) predicate.Session

HeightIn applies the In predicate on the "height" field.

func HeightIsNil

func HeightIsNil() predicate.Session

HeightIsNil applies the IsNil predicate on the "height" field.

func HeightLT

func HeightLT(v int) predicate.Session

HeightLT applies the LT predicate on the "height" field.

func HeightLTE

func HeightLTE(v int) predicate.Session

HeightLTE applies the LTE predicate on the "height" field.

func HeightNEQ

func HeightNEQ(v int) predicate.Session

HeightNEQ applies the NEQ predicate on the "height" field.

func HeightNotIn

func HeightNotIn(vs ...int) predicate.Session

HeightNotIn applies the NotIn predicate on the "height" field.

func HeightNotNil

func HeightNotNil() predicate.Session

HeightNotNil applies the NotNil predicate on the "height" field.

func ID

func ID(id int) predicate.Session

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Session

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Session

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Session

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Session

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Session

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Session

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Session

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Session

IDNotIn applies the NotIn predicate on the ID field.

func IsExpanded

func IsExpanded(v bool) predicate.Session

IsExpanded applies equality check predicate on the "is_expanded" field. It's identical to IsExpandedEQ.

func IsExpandedEQ

func IsExpandedEQ(v bool) predicate.Session

IsExpandedEQ applies the EQ predicate on the "is_expanded" field.

func IsExpandedNEQ

func IsExpandedNEQ(v bool) predicate.Session

IsExpandedNEQ applies the NEQ predicate on the "is_expanded" field.

func LastAcknowledged

func LastAcknowledged(v time.Time) predicate.Session

LastAcknowledged applies equality check predicate on the "last_acknowledged" field. It's identical to LastAcknowledgedEQ.

func LastAcknowledgedEQ

func LastAcknowledgedEQ(v time.Time) predicate.Session

LastAcknowledgedEQ applies the EQ predicate on the "last_acknowledged" field.

func LastAcknowledgedGT

func LastAcknowledgedGT(v time.Time) predicate.Session

LastAcknowledgedGT applies the GT predicate on the "last_acknowledged" field.

func LastAcknowledgedGTE

func LastAcknowledgedGTE(v time.Time) predicate.Session

LastAcknowledgedGTE applies the GTE predicate on the "last_acknowledged" field.

func LastAcknowledgedIn

func LastAcknowledgedIn(vs ...time.Time) predicate.Session

LastAcknowledgedIn applies the In predicate on the "last_acknowledged" field.

func LastAcknowledgedIsNil

func LastAcknowledgedIsNil() predicate.Session

LastAcknowledgedIsNil applies the IsNil predicate on the "last_acknowledged" field.

func LastAcknowledgedLT

func LastAcknowledgedLT(v time.Time) predicate.Session

LastAcknowledgedLT applies the LT predicate on the "last_acknowledged" field.

func LastAcknowledgedLTE

func LastAcknowledgedLTE(v time.Time) predicate.Session

LastAcknowledgedLTE applies the LTE predicate on the "last_acknowledged" field.

func LastAcknowledgedNEQ

func LastAcknowledgedNEQ(v time.Time) predicate.Session

LastAcknowledgedNEQ applies the NEQ predicate on the "last_acknowledged" field.

func LastAcknowledgedNotIn

func LastAcknowledgedNotIn(vs ...time.Time) predicate.Session

LastAcknowledgedNotIn applies the NotIn predicate on the "last_acknowledged" field.

func LastAcknowledgedNotNil

func LastAcknowledgedNotNil() predicate.Session

LastAcknowledgedNotNil applies the NotNil predicate on the "last_acknowledged" field.

func LastAddedToQueue

func LastAddedToQueue(v time.Time) predicate.Session

LastAddedToQueue applies equality check predicate on the "last_added_to_queue" field. It's identical to LastAddedToQueueEQ.

func LastAddedToQueueEQ

func LastAddedToQueueEQ(v time.Time) predicate.Session

LastAddedToQueueEQ applies the EQ predicate on the "last_added_to_queue" field.

func LastAddedToQueueGT

func LastAddedToQueueGT(v time.Time) predicate.Session

LastAddedToQueueGT applies the GT predicate on the "last_added_to_queue" field.

func LastAddedToQueueGTE

func LastAddedToQueueGTE(v time.Time) predicate.Session

LastAddedToQueueGTE applies the GTE predicate on the "last_added_to_queue" field.

func LastAddedToQueueIn

func LastAddedToQueueIn(vs ...time.Time) predicate.Session

LastAddedToQueueIn applies the In predicate on the "last_added_to_queue" field.

func LastAddedToQueueIsNil

func LastAddedToQueueIsNil() predicate.Session

LastAddedToQueueIsNil applies the IsNil predicate on the "last_added_to_queue" field.

func LastAddedToQueueLT

func LastAddedToQueueLT(v time.Time) predicate.Session

LastAddedToQueueLT applies the LT predicate on the "last_added_to_queue" field.

func LastAddedToQueueLTE

func LastAddedToQueueLTE(v time.Time) predicate.Session

LastAddedToQueueLTE applies the LTE predicate on the "last_added_to_queue" field.

func LastAddedToQueueNEQ

func LastAddedToQueueNEQ(v time.Time) predicate.Session

LastAddedToQueueNEQ applies the NEQ predicate on the "last_added_to_queue" field.

func LastAddedToQueueNotIn

func LastAddedToQueueNotIn(vs ...time.Time) predicate.Session

LastAddedToQueueNotIn applies the NotIn predicate on the "last_added_to_queue" field.

func LastAddedToQueueNotNil

func LastAddedToQueueNotNil() predicate.Session

LastAddedToQueueNotNil applies the NotNil predicate on the "last_added_to_queue" field.

func LastMeaningfulOutput

func LastMeaningfulOutput(v time.Time) predicate.Session

LastMeaningfulOutput applies equality check predicate on the "last_meaningful_output" field. It's identical to LastMeaningfulOutputEQ.

func LastMeaningfulOutputEQ

func LastMeaningfulOutputEQ(v time.Time) predicate.Session

LastMeaningfulOutputEQ applies the EQ predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputGT

func LastMeaningfulOutputGT(v time.Time) predicate.Session

LastMeaningfulOutputGT applies the GT predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputGTE

func LastMeaningfulOutputGTE(v time.Time) predicate.Session

LastMeaningfulOutputGTE applies the GTE predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputIn

func LastMeaningfulOutputIn(vs ...time.Time) predicate.Session

LastMeaningfulOutputIn applies the In predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputIsNil

func LastMeaningfulOutputIsNil() predicate.Session

LastMeaningfulOutputIsNil applies the IsNil predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputLT

func LastMeaningfulOutputLT(v time.Time) predicate.Session

LastMeaningfulOutputLT applies the LT predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputLTE

func LastMeaningfulOutputLTE(v time.Time) predicate.Session

LastMeaningfulOutputLTE applies the LTE predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputNEQ

func LastMeaningfulOutputNEQ(v time.Time) predicate.Session

LastMeaningfulOutputNEQ applies the NEQ predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputNotIn

func LastMeaningfulOutputNotIn(vs ...time.Time) predicate.Session

LastMeaningfulOutputNotIn applies the NotIn predicate on the "last_meaningful_output" field.

func LastMeaningfulOutputNotNil

func LastMeaningfulOutputNotNil() predicate.Session

LastMeaningfulOutputNotNil applies the NotNil predicate on the "last_meaningful_output" field.

func LastOutputSignature

func LastOutputSignature(v string) predicate.Session

LastOutputSignature applies equality check predicate on the "last_output_signature" field. It's identical to LastOutputSignatureEQ.

func LastOutputSignatureContains

func LastOutputSignatureContains(v string) predicate.Session

LastOutputSignatureContains applies the Contains predicate on the "last_output_signature" field.

func LastOutputSignatureContainsFold

func LastOutputSignatureContainsFold(v string) predicate.Session

LastOutputSignatureContainsFold applies the ContainsFold predicate on the "last_output_signature" field.

func LastOutputSignatureEQ

func LastOutputSignatureEQ(v string) predicate.Session

LastOutputSignatureEQ applies the EQ predicate on the "last_output_signature" field.

func LastOutputSignatureEqualFold

func LastOutputSignatureEqualFold(v string) predicate.Session

LastOutputSignatureEqualFold applies the EqualFold predicate on the "last_output_signature" field.

func LastOutputSignatureGT

func LastOutputSignatureGT(v string) predicate.Session

LastOutputSignatureGT applies the GT predicate on the "last_output_signature" field.

func LastOutputSignatureGTE

func LastOutputSignatureGTE(v string) predicate.Session

LastOutputSignatureGTE applies the GTE predicate on the "last_output_signature" field.

func LastOutputSignatureHasPrefix

func LastOutputSignatureHasPrefix(v string) predicate.Session

LastOutputSignatureHasPrefix applies the HasPrefix predicate on the "last_output_signature" field.

func LastOutputSignatureHasSuffix

func LastOutputSignatureHasSuffix(v string) predicate.Session

LastOutputSignatureHasSuffix applies the HasSuffix predicate on the "last_output_signature" field.

func LastOutputSignatureIn

func LastOutputSignatureIn(vs ...string) predicate.Session

LastOutputSignatureIn applies the In predicate on the "last_output_signature" field.

func LastOutputSignatureIsNil

func LastOutputSignatureIsNil() predicate.Session

LastOutputSignatureIsNil applies the IsNil predicate on the "last_output_signature" field.

func LastOutputSignatureLT

func LastOutputSignatureLT(v string) predicate.Session

LastOutputSignatureLT applies the LT predicate on the "last_output_signature" field.

func LastOutputSignatureLTE

func LastOutputSignatureLTE(v string) predicate.Session

LastOutputSignatureLTE applies the LTE predicate on the "last_output_signature" field.

func LastOutputSignatureNEQ

func LastOutputSignatureNEQ(v string) predicate.Session

LastOutputSignatureNEQ applies the NEQ predicate on the "last_output_signature" field.

func LastOutputSignatureNotIn

func LastOutputSignatureNotIn(vs ...string) predicate.Session

LastOutputSignatureNotIn applies the NotIn predicate on the "last_output_signature" field.

func LastOutputSignatureNotNil

func LastOutputSignatureNotNil() predicate.Session

LastOutputSignatureNotNil applies the NotNil predicate on the "last_output_signature" field.

func LastTerminalUpdate

func LastTerminalUpdate(v time.Time) predicate.Session

LastTerminalUpdate applies equality check predicate on the "last_terminal_update" field. It's identical to LastTerminalUpdateEQ.

func LastTerminalUpdateEQ

func LastTerminalUpdateEQ(v time.Time) predicate.Session

LastTerminalUpdateEQ applies the EQ predicate on the "last_terminal_update" field.

func LastTerminalUpdateGT

func LastTerminalUpdateGT(v time.Time) predicate.Session

LastTerminalUpdateGT applies the GT predicate on the "last_terminal_update" field.

func LastTerminalUpdateGTE

func LastTerminalUpdateGTE(v time.Time) predicate.Session

LastTerminalUpdateGTE applies the GTE predicate on the "last_terminal_update" field.

func LastTerminalUpdateIn

func LastTerminalUpdateIn(vs ...time.Time) predicate.Session

LastTerminalUpdateIn applies the In predicate on the "last_terminal_update" field.

func LastTerminalUpdateIsNil

func LastTerminalUpdateIsNil() predicate.Session

LastTerminalUpdateIsNil applies the IsNil predicate on the "last_terminal_update" field.

func LastTerminalUpdateLT

func LastTerminalUpdateLT(v time.Time) predicate.Session

LastTerminalUpdateLT applies the LT predicate on the "last_terminal_update" field.

func LastTerminalUpdateLTE

func LastTerminalUpdateLTE(v time.Time) predicate.Session

LastTerminalUpdateLTE applies the LTE predicate on the "last_terminal_update" field.

func LastTerminalUpdateNEQ

func LastTerminalUpdateNEQ(v time.Time) predicate.Session

LastTerminalUpdateNEQ applies the NEQ predicate on the "last_terminal_update" field.

func LastTerminalUpdateNotIn

func LastTerminalUpdateNotIn(vs ...time.Time) predicate.Session

LastTerminalUpdateNotIn applies the NotIn predicate on the "last_terminal_update" field.

func LastTerminalUpdateNotNil

func LastTerminalUpdateNotNil() predicate.Session

LastTerminalUpdateNotNil applies the NotNil predicate on the "last_terminal_update" field.

func LastViewed

func LastViewed(v time.Time) predicate.Session

LastViewed applies equality check predicate on the "last_viewed" field. It's identical to LastViewedEQ.

func LastViewedEQ

func LastViewedEQ(v time.Time) predicate.Session

LastViewedEQ applies the EQ predicate on the "last_viewed" field.

func LastViewedGT

func LastViewedGT(v time.Time) predicate.Session

LastViewedGT applies the GT predicate on the "last_viewed" field.

func LastViewedGTE

func LastViewedGTE(v time.Time) predicate.Session

LastViewedGTE applies the GTE predicate on the "last_viewed" field.

func LastViewedIn

func LastViewedIn(vs ...time.Time) predicate.Session

LastViewedIn applies the In predicate on the "last_viewed" field.

func LastViewedIsNil

func LastViewedIsNil() predicate.Session

LastViewedIsNil applies the IsNil predicate on the "last_viewed" field.

func LastViewedLT

func LastViewedLT(v time.Time) predicate.Session

LastViewedLT applies the LT predicate on the "last_viewed" field.

func LastViewedLTE

func LastViewedLTE(v time.Time) predicate.Session

LastViewedLTE applies the LTE predicate on the "last_viewed" field.

func LastViewedNEQ

func LastViewedNEQ(v time.Time) predicate.Session

LastViewedNEQ applies the NEQ predicate on the "last_viewed" field.

func LastViewedNotIn

func LastViewedNotIn(vs ...time.Time) predicate.Session

LastViewedNotIn applies the NotIn predicate on the "last_viewed" field.

func LastViewedNotNil

func LastViewedNotNil() predicate.Session

LastViewedNotNil applies the NotNil predicate on the "last_viewed" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Session) predicate.Session

Or groups predicates with the OR operator between them.

func Path

func Path(v string) predicate.Session

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.Session

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.Session

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.Session

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.Session

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.Session

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.Session

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.Session

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.Session

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.Session

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.Session

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.Session

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.Session

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.Session

PathNotIn applies the NotIn predicate on the "path" field.

func Program

func Program(v string) predicate.Session

Program applies equality check predicate on the "program" field. It's identical to ProgramEQ.

func ProgramContains

func ProgramContains(v string) predicate.Session

ProgramContains applies the Contains predicate on the "program" field.

func ProgramContainsFold

func ProgramContainsFold(v string) predicate.Session

ProgramContainsFold applies the ContainsFold predicate on the "program" field.

func ProgramEQ

func ProgramEQ(v string) predicate.Session

ProgramEQ applies the EQ predicate on the "program" field.

func ProgramEqualFold

func ProgramEqualFold(v string) predicate.Session

ProgramEqualFold applies the EqualFold predicate on the "program" field.

func ProgramGT

func ProgramGT(v string) predicate.Session

ProgramGT applies the GT predicate on the "program" field.

func ProgramGTE

func ProgramGTE(v string) predicate.Session

ProgramGTE applies the GTE predicate on the "program" field.

func ProgramHasPrefix

func ProgramHasPrefix(v string) predicate.Session

ProgramHasPrefix applies the HasPrefix predicate on the "program" field.

func ProgramHasSuffix

func ProgramHasSuffix(v string) predicate.Session

ProgramHasSuffix applies the HasSuffix predicate on the "program" field.

func ProgramIn

func ProgramIn(vs ...string) predicate.Session

ProgramIn applies the In predicate on the "program" field.

func ProgramLT

func ProgramLT(v string) predicate.Session

ProgramLT applies the LT predicate on the "program" field.

func ProgramLTE

func ProgramLTE(v string) predicate.Session

ProgramLTE applies the LTE predicate on the "program" field.

func ProgramNEQ

func ProgramNEQ(v string) predicate.Session

ProgramNEQ applies the NEQ predicate on the "program" field.

func ProgramNotIn

func ProgramNotIn(vs ...string) predicate.Session

ProgramNotIn applies the NotIn predicate on the "program" field.

func Prompt

func Prompt(v string) predicate.Session

Prompt applies equality check predicate on the "prompt" field. It's identical to PromptEQ.

func PromptContains

func PromptContains(v string) predicate.Session

PromptContains applies the Contains predicate on the "prompt" field.

func PromptContainsFold

func PromptContainsFold(v string) predicate.Session

PromptContainsFold applies the ContainsFold predicate on the "prompt" field.

func PromptEQ

func PromptEQ(v string) predicate.Session

PromptEQ applies the EQ predicate on the "prompt" field.

func PromptEqualFold

func PromptEqualFold(v string) predicate.Session

PromptEqualFold applies the EqualFold predicate on the "prompt" field.

func PromptGT

func PromptGT(v string) predicate.Session

PromptGT applies the GT predicate on the "prompt" field.

func PromptGTE

func PromptGTE(v string) predicate.Session

PromptGTE applies the GTE predicate on the "prompt" field.

func PromptHasPrefix

func PromptHasPrefix(v string) predicate.Session

PromptHasPrefix applies the HasPrefix predicate on the "prompt" field.

func PromptHasSuffix

func PromptHasSuffix(v string) predicate.Session

PromptHasSuffix applies the HasSuffix predicate on the "prompt" field.

func PromptIn

func PromptIn(vs ...string) predicate.Session

PromptIn applies the In predicate on the "prompt" field.

func PromptIsNil

func PromptIsNil() predicate.Session

PromptIsNil applies the IsNil predicate on the "prompt" field.

func PromptLT

func PromptLT(v string) predicate.Session

PromptLT applies the LT predicate on the "prompt" field.

func PromptLTE

func PromptLTE(v string) predicate.Session

PromptLTE applies the LTE predicate on the "prompt" field.

func PromptNEQ

func PromptNEQ(v string) predicate.Session

PromptNEQ applies the NEQ predicate on the "prompt" field.

func PromptNotIn

func PromptNotIn(vs ...string) predicate.Session

PromptNotIn applies the NotIn predicate on the "prompt" field.

func PromptNotNil

func PromptNotNil() predicate.Session

PromptNotNil applies the NotNil predicate on the "prompt" field.

func SessionType

func SessionType(v string) predicate.Session

SessionType applies equality check predicate on the "session_type" field. It's identical to SessionTypeEQ.

func SessionTypeContains

func SessionTypeContains(v string) predicate.Session

SessionTypeContains applies the Contains predicate on the "session_type" field.

func SessionTypeContainsFold

func SessionTypeContainsFold(v string) predicate.Session

SessionTypeContainsFold applies the ContainsFold predicate on the "session_type" field.

func SessionTypeEQ

func SessionTypeEQ(v string) predicate.Session

SessionTypeEQ applies the EQ predicate on the "session_type" field.

func SessionTypeEqualFold

func SessionTypeEqualFold(v string) predicate.Session

SessionTypeEqualFold applies the EqualFold predicate on the "session_type" field.

func SessionTypeGT

func SessionTypeGT(v string) predicate.Session

SessionTypeGT applies the GT predicate on the "session_type" field.

func SessionTypeGTE

func SessionTypeGTE(v string) predicate.Session

SessionTypeGTE applies the GTE predicate on the "session_type" field.

func SessionTypeHasPrefix

func SessionTypeHasPrefix(v string) predicate.Session

SessionTypeHasPrefix applies the HasPrefix predicate on the "session_type" field.

func SessionTypeHasSuffix

func SessionTypeHasSuffix(v string) predicate.Session

SessionTypeHasSuffix applies the HasSuffix predicate on the "session_type" field.

func SessionTypeIn

func SessionTypeIn(vs ...string) predicate.Session

SessionTypeIn applies the In predicate on the "session_type" field.

func SessionTypeIsNil

func SessionTypeIsNil() predicate.Session

SessionTypeIsNil applies the IsNil predicate on the "session_type" field.

func SessionTypeLT

func SessionTypeLT(v string) predicate.Session

SessionTypeLT applies the LT predicate on the "session_type" field.

func SessionTypeLTE

func SessionTypeLTE(v string) predicate.Session

SessionTypeLTE applies the LTE predicate on the "session_type" field.

func SessionTypeNEQ

func SessionTypeNEQ(v string) predicate.Session

SessionTypeNEQ applies the NEQ predicate on the "session_type" field.

func SessionTypeNotIn

func SessionTypeNotIn(vs ...string) predicate.Session

SessionTypeNotIn applies the NotIn predicate on the "session_type" field.

func SessionTypeNotNil

func SessionTypeNotNil() predicate.Session

SessionTypeNotNil applies the NotNil predicate on the "session_type" field.

func Status

func Status(v int) predicate.Session

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int) predicate.Session

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int) predicate.Session

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int) predicate.Session

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int) predicate.Session

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int) predicate.Session

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int) predicate.Session

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int) predicate.Session

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int) predicate.Session

StatusNotIn applies the NotIn predicate on the "status" field.

func Title

func Title(v string) predicate.Session

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Session

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Session

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Session

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Session

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Session

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Session

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Session

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Session

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Session

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Session

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Session

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Session

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Session

TitleNotIn applies the NotIn predicate on the "title" field.

func TmuxPrefix

func TmuxPrefix(v string) predicate.Session

TmuxPrefix applies equality check predicate on the "tmux_prefix" field. It's identical to TmuxPrefixEQ.

func TmuxPrefixContains

func TmuxPrefixContains(v string) predicate.Session

TmuxPrefixContains applies the Contains predicate on the "tmux_prefix" field.

func TmuxPrefixContainsFold

func TmuxPrefixContainsFold(v string) predicate.Session

TmuxPrefixContainsFold applies the ContainsFold predicate on the "tmux_prefix" field.

func TmuxPrefixEQ

func TmuxPrefixEQ(v string) predicate.Session

TmuxPrefixEQ applies the EQ predicate on the "tmux_prefix" field.

func TmuxPrefixEqualFold

func TmuxPrefixEqualFold(v string) predicate.Session

TmuxPrefixEqualFold applies the EqualFold predicate on the "tmux_prefix" field.

func TmuxPrefixGT

func TmuxPrefixGT(v string) predicate.Session

TmuxPrefixGT applies the GT predicate on the "tmux_prefix" field.

func TmuxPrefixGTE

func TmuxPrefixGTE(v string) predicate.Session

TmuxPrefixGTE applies the GTE predicate on the "tmux_prefix" field.

func TmuxPrefixHasPrefix

func TmuxPrefixHasPrefix(v string) predicate.Session

TmuxPrefixHasPrefix applies the HasPrefix predicate on the "tmux_prefix" field.

func TmuxPrefixHasSuffix

func TmuxPrefixHasSuffix(v string) predicate.Session

TmuxPrefixHasSuffix applies the HasSuffix predicate on the "tmux_prefix" field.

func TmuxPrefixIn

func TmuxPrefixIn(vs ...string) predicate.Session

TmuxPrefixIn applies the In predicate on the "tmux_prefix" field.

func TmuxPrefixIsNil

func TmuxPrefixIsNil() predicate.Session

TmuxPrefixIsNil applies the IsNil predicate on the "tmux_prefix" field.

func TmuxPrefixLT

func TmuxPrefixLT(v string) predicate.Session

TmuxPrefixLT applies the LT predicate on the "tmux_prefix" field.

func TmuxPrefixLTE

func TmuxPrefixLTE(v string) predicate.Session

TmuxPrefixLTE applies the LTE predicate on the "tmux_prefix" field.

func TmuxPrefixNEQ

func TmuxPrefixNEQ(v string) predicate.Session

TmuxPrefixNEQ applies the NEQ predicate on the "tmux_prefix" field.

func TmuxPrefixNotIn

func TmuxPrefixNotIn(vs ...string) predicate.Session

TmuxPrefixNotIn applies the NotIn predicate on the "tmux_prefix" field.

func TmuxPrefixNotNil

func TmuxPrefixNotNil() predicate.Session

TmuxPrefixNotNil applies the NotNil predicate on the "tmux_prefix" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Session

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Session

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Session

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Session

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Session

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Session

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Session

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Session

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Session

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Width

func Width(v int) predicate.Session

Width applies equality check predicate on the "width" field. It's identical to WidthEQ.

func WidthEQ

func WidthEQ(v int) predicate.Session

WidthEQ applies the EQ predicate on the "width" field.

func WidthGT

func WidthGT(v int) predicate.Session

WidthGT applies the GT predicate on the "width" field.

func WidthGTE

func WidthGTE(v int) predicate.Session

WidthGTE applies the GTE predicate on the "width" field.

func WidthIn

func WidthIn(vs ...int) predicate.Session

WidthIn applies the In predicate on the "width" field.

func WidthIsNil

func WidthIsNil() predicate.Session

WidthIsNil applies the IsNil predicate on the "width" field.

func WidthLT

func WidthLT(v int) predicate.Session

WidthLT applies the LT predicate on the "width" field.

func WidthLTE

func WidthLTE(v int) predicate.Session

WidthLTE applies the LTE predicate on the "width" field.

func WidthNEQ

func WidthNEQ(v int) predicate.Session

WidthNEQ applies the NEQ predicate on the "width" field.

func WidthNotIn

func WidthNotIn(vs ...int) predicate.Session

WidthNotIn applies the NotIn predicate on the "width" field.

func WidthNotNil

func WidthNotNil() predicate.Session

WidthNotNil applies the NotNil predicate on the "width" field.

func WorkingDir

func WorkingDir(v string) predicate.Session

WorkingDir applies equality check predicate on the "working_dir" field. It's identical to WorkingDirEQ.

func WorkingDirContains

func WorkingDirContains(v string) predicate.Session

WorkingDirContains applies the Contains predicate on the "working_dir" field.

func WorkingDirContainsFold

func WorkingDirContainsFold(v string) predicate.Session

WorkingDirContainsFold applies the ContainsFold predicate on the "working_dir" field.

func WorkingDirEQ

func WorkingDirEQ(v string) predicate.Session

WorkingDirEQ applies the EQ predicate on the "working_dir" field.

func WorkingDirEqualFold

func WorkingDirEqualFold(v string) predicate.Session

WorkingDirEqualFold applies the EqualFold predicate on the "working_dir" field.

func WorkingDirGT

func WorkingDirGT(v string) predicate.Session

WorkingDirGT applies the GT predicate on the "working_dir" field.

func WorkingDirGTE

func WorkingDirGTE(v string) predicate.Session

WorkingDirGTE applies the GTE predicate on the "working_dir" field.

func WorkingDirHasPrefix

func WorkingDirHasPrefix(v string) predicate.Session

WorkingDirHasPrefix applies the HasPrefix predicate on the "working_dir" field.

func WorkingDirHasSuffix

func WorkingDirHasSuffix(v string) predicate.Session

WorkingDirHasSuffix applies the HasSuffix predicate on the "working_dir" field.

func WorkingDirIn

func WorkingDirIn(vs ...string) predicate.Session

WorkingDirIn applies the In predicate on the "working_dir" field.

func WorkingDirIsNil

func WorkingDirIsNil() predicate.Session

WorkingDirIsNil applies the IsNil predicate on the "working_dir" field.

func WorkingDirLT

func WorkingDirLT(v string) predicate.Session

WorkingDirLT applies the LT predicate on the "working_dir" field.

func WorkingDirLTE

func WorkingDirLTE(v string) predicate.Session

WorkingDirLTE applies the LTE predicate on the "working_dir" field.

func WorkingDirNEQ

func WorkingDirNEQ(v string) predicate.Session

WorkingDirNEQ applies the NEQ predicate on the "working_dir" field.

func WorkingDirNotIn

func WorkingDirNotIn(vs ...string) predicate.Session

WorkingDirNotIn applies the NotIn predicate on the "working_dir" field.

func WorkingDirNotNil

func WorkingDirNotNil() predicate.Session

WorkingDirNotNil applies the NotNil predicate on the "working_dir" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Session queries.

func ByAutoYes

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

ByAutoYes orders the results by the auto_yes field.

func ByBranch

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

ByBranch orders the results by the branch field.

func ByCategory

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

ByCategory orders the results by the category field.

func ByClaudeSessionField

func ByClaudeSessionField(field string, opts ...sql.OrderTermOption) OrderOption

ByClaudeSessionField orders the results by claude_session field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDiffStatsField

func ByDiffStatsField(field string, opts ...sql.OrderTermOption) OrderOption

ByDiffStatsField orders the results by diff_stats field.

func ByExistingWorktree

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

ByExistingWorktree orders the results by the existing_worktree field.

func ByHeight

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

ByHeight orders the results by the height field.

func ByID

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

ByID orders the results by the id field.

func ByIsExpanded

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

ByIsExpanded orders the results by the is_expanded field.

func ByLastAcknowledged

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

ByLastAcknowledged orders the results by the last_acknowledged field.

func ByLastAddedToQueue

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

ByLastAddedToQueue orders the results by the last_added_to_queue field.

func ByLastMeaningfulOutput

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

ByLastMeaningfulOutput orders the results by the last_meaningful_output field.

func ByLastOutputSignature

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

ByLastOutputSignature orders the results by the last_output_signature field.

func ByLastTerminalUpdate

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

ByLastTerminalUpdate orders the results by the last_terminal_update field.

func ByLastViewed

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

ByLastViewed orders the results by the last_viewed field.

func ByPath

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

ByPath orders the results by the path field.

func ByProgram

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

ByProgram orders the results by the program field.

func ByPrompt

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

ByPrompt orders the results by the prompt field.

func BySessionType

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

BySessionType orders the results by the session_type field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTags

func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTags orders the results by tags terms.

func ByTagsCount

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

ByTagsCount orders the results by tags count.

func ByTitle

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

ByTitle orders the results by the title field.

func ByTmuxPrefix

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

ByTmuxPrefix orders the results by the tmux_prefix field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByWidth

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

ByWidth orders the results by the width field.

func ByWorkingDir

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

ByWorkingDir orders the results by the working_dir field.

func ByWorktreeField

func ByWorktreeField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorktreeField orders the results by worktree field.

Jump to

Keyboard shortcuts

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