projectupdatethread

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the projectupdatethread type in the database.
	Label = "project_update_thread"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldBodyMarkdown holds the string denoting the body_markdown field in the database.
	FieldBodyMarkdown = "body_markdown"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// 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"
	// FieldEditedAt holds the string denoting the edited_at field in the database.
	FieldEditedAt = "edited_at"
	// FieldEditCount holds the string denoting the edit_count field in the database.
	FieldEditCount = "edit_count"
	// FieldLastEditedBy holds the string denoting the last_edited_by field in the database.
	FieldLastEditedBy = "last_edited_by"
	// FieldIsDeleted holds the string denoting the is_deleted field in the database.
	FieldIsDeleted = "is_deleted"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldLastActivityAt holds the string denoting the last_activity_at field in the database.
	FieldLastActivityAt = "last_activity_at"
	// FieldCommentCount holds the string denoting the comment_count field in the database.
	FieldCommentCount = "comment_count"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeRevisions holds the string denoting the revisions edge name in mutations.
	EdgeRevisions = "revisions"
	// EdgeComments holds the string denoting the comments edge name in mutations.
	EdgeComments = "comments"
	// Table holds the table name of the projectupdatethread in the database.
	Table = "project_update_threads"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "project_update_threads"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
	// RevisionsTable is the table that holds the revisions relation/edge.
	RevisionsTable = "project_update_thread_revisions"
	// RevisionsInverseTable is the table name for the ProjectUpdateThreadRevision entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatethreadrevision" package.
	RevisionsInverseTable = "project_update_thread_revisions"
	// RevisionsColumn is the table column denoting the revisions relation/edge.
	RevisionsColumn = "thread_id"
	// CommentsTable is the table that holds the comments relation/edge.
	CommentsTable = "project_update_comments"
	// CommentsInverseTable is the table name for the ProjectUpdateComment entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatecomment" package.
	CommentsInverseTable = "project_update_comments"
	// CommentsColumn is the table column denoting the comments relation/edge.
	CommentsColumn = "thread_id"
)

Variables

View Source
var (
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// BodyMarkdownValidator is a validator for the "body_markdown" field. It is called by the builders before save.
	BodyMarkdownValidator func(string) error
	// CreatedByValidator is a validator for the "created_by" field. It is called by the builders before save.
	CreatedByValidator 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
	// DefaultEditCount holds the default value on creation for the "edit_count" field.
	DefaultEditCount int
	// DefaultIsDeleted holds the default value on creation for the "is_deleted" field.
	DefaultIsDeleted bool
	// DefaultLastActivityAt holds the default value on creation for the "last_activity_at" field.
	DefaultLastActivityAt func() time.Time
	// DefaultCommentCount holds the default value on creation for the "comment_count" field.
	DefaultCommentCount int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for projectupdatethread fields.

Functions

func And

And groups predicates with the AND operator between them.

func BodyMarkdown

func BodyMarkdown(v string) predicate.ProjectUpdateThread

BodyMarkdown applies equality check predicate on the "body_markdown" field. It's identical to BodyMarkdownEQ.

func BodyMarkdownContains

func BodyMarkdownContains(v string) predicate.ProjectUpdateThread

BodyMarkdownContains applies the Contains predicate on the "body_markdown" field.

func BodyMarkdownContainsFold

func BodyMarkdownContainsFold(v string) predicate.ProjectUpdateThread

BodyMarkdownContainsFold applies the ContainsFold predicate on the "body_markdown" field.

func BodyMarkdownEQ

func BodyMarkdownEQ(v string) predicate.ProjectUpdateThread

BodyMarkdownEQ applies the EQ predicate on the "body_markdown" field.

func BodyMarkdownEqualFold

func BodyMarkdownEqualFold(v string) predicate.ProjectUpdateThread

BodyMarkdownEqualFold applies the EqualFold predicate on the "body_markdown" field.

func BodyMarkdownGT

func BodyMarkdownGT(v string) predicate.ProjectUpdateThread

BodyMarkdownGT applies the GT predicate on the "body_markdown" field.

func BodyMarkdownGTE

func BodyMarkdownGTE(v string) predicate.ProjectUpdateThread

BodyMarkdownGTE applies the GTE predicate on the "body_markdown" field.

func BodyMarkdownHasPrefix

func BodyMarkdownHasPrefix(v string) predicate.ProjectUpdateThread

BodyMarkdownHasPrefix applies the HasPrefix predicate on the "body_markdown" field.

func BodyMarkdownHasSuffix

func BodyMarkdownHasSuffix(v string) predicate.ProjectUpdateThread

BodyMarkdownHasSuffix applies the HasSuffix predicate on the "body_markdown" field.

func BodyMarkdownIn

func BodyMarkdownIn(vs ...string) predicate.ProjectUpdateThread

BodyMarkdownIn applies the In predicate on the "body_markdown" field.

func BodyMarkdownLT

func BodyMarkdownLT(v string) predicate.ProjectUpdateThread

BodyMarkdownLT applies the LT predicate on the "body_markdown" field.

func BodyMarkdownLTE

func BodyMarkdownLTE(v string) predicate.ProjectUpdateThread

BodyMarkdownLTE applies the LTE predicate on the "body_markdown" field.

func BodyMarkdownNEQ

func BodyMarkdownNEQ(v string) predicate.ProjectUpdateThread

BodyMarkdownNEQ applies the NEQ predicate on the "body_markdown" field.

func BodyMarkdownNotIn

func BodyMarkdownNotIn(vs ...string) predicate.ProjectUpdateThread

BodyMarkdownNotIn applies the NotIn predicate on the "body_markdown" field.

func CommentCount

func CommentCount(v int) predicate.ProjectUpdateThread

CommentCount applies equality check predicate on the "comment_count" field. It's identical to CommentCountEQ.

func CommentCountEQ

func CommentCountEQ(v int) predicate.ProjectUpdateThread

CommentCountEQ applies the EQ predicate on the "comment_count" field.

func CommentCountGT

func CommentCountGT(v int) predicate.ProjectUpdateThread

CommentCountGT applies the GT predicate on the "comment_count" field.

func CommentCountGTE

func CommentCountGTE(v int) predicate.ProjectUpdateThread

CommentCountGTE applies the GTE predicate on the "comment_count" field.

func CommentCountIn

func CommentCountIn(vs ...int) predicate.ProjectUpdateThread

CommentCountIn applies the In predicate on the "comment_count" field.

func CommentCountLT

func CommentCountLT(v int) predicate.ProjectUpdateThread

CommentCountLT applies the LT predicate on the "comment_count" field.

func CommentCountLTE

func CommentCountLTE(v int) predicate.ProjectUpdateThread

CommentCountLTE applies the LTE predicate on the "comment_count" field.

func CommentCountNEQ

func CommentCountNEQ(v int) predicate.ProjectUpdateThread

CommentCountNEQ applies the NEQ predicate on the "comment_count" field.

func CommentCountNotIn

func CommentCountNotIn(vs ...int) predicate.ProjectUpdateThread

CommentCountNotIn applies the NotIn predicate on the "comment_count" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProjectUpdateThread

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

func CreatedAtNotIn

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

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

func CreatedBy

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.ProjectUpdateThread

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ProjectUpdateThread

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.ProjectUpdateThread

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ProjectUpdateThread

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.ProjectUpdateThread

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.ProjectUpdateThread

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ProjectUpdateThread

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ProjectUpdateThread

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.ProjectUpdateThread

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.ProjectUpdateThread

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.ProjectUpdateThread

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.ProjectUpdateThread

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.ProjectUpdateThread

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ProjectUpdateThread

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ProjectUpdateThread

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ProjectUpdateThread

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.ProjectUpdateThread

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ProjectUpdateThread

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ProjectUpdateThread

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ProjectUpdateThread

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ProjectUpdateThread

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.ProjectUpdateThread

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ProjectUpdateThread

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.ProjectUpdateThread

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.ProjectUpdateThread

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.ProjectUpdateThread

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.ProjectUpdateThread

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.ProjectUpdateThread

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.ProjectUpdateThread

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.ProjectUpdateThread

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.ProjectUpdateThread

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.ProjectUpdateThread

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.ProjectUpdateThread

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.ProjectUpdateThread

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.ProjectUpdateThread

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.ProjectUpdateThread

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.ProjectUpdateThread

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.ProjectUpdateThread

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func EditCount

func EditCount(v int) predicate.ProjectUpdateThread

EditCount applies equality check predicate on the "edit_count" field. It's identical to EditCountEQ.

func EditCountEQ

func EditCountEQ(v int) predicate.ProjectUpdateThread

EditCountEQ applies the EQ predicate on the "edit_count" field.

func EditCountGT

func EditCountGT(v int) predicate.ProjectUpdateThread

EditCountGT applies the GT predicate on the "edit_count" field.

func EditCountGTE

func EditCountGTE(v int) predicate.ProjectUpdateThread

EditCountGTE applies the GTE predicate on the "edit_count" field.

func EditCountIn

func EditCountIn(vs ...int) predicate.ProjectUpdateThread

EditCountIn applies the In predicate on the "edit_count" field.

func EditCountLT

func EditCountLT(v int) predicate.ProjectUpdateThread

EditCountLT applies the LT predicate on the "edit_count" field.

func EditCountLTE

func EditCountLTE(v int) predicate.ProjectUpdateThread

EditCountLTE applies the LTE predicate on the "edit_count" field.

func EditCountNEQ

func EditCountNEQ(v int) predicate.ProjectUpdateThread

EditCountNEQ applies the NEQ predicate on the "edit_count" field.

func EditCountNotIn

func EditCountNotIn(vs ...int) predicate.ProjectUpdateThread

EditCountNotIn applies the NotIn predicate on the "edit_count" field.

func EditedAt

EditedAt applies equality check predicate on the "edited_at" field. It's identical to EditedAtEQ.

func EditedAtEQ

func EditedAtEQ(v time.Time) predicate.ProjectUpdateThread

EditedAtEQ applies the EQ predicate on the "edited_at" field.

func EditedAtGT

func EditedAtGT(v time.Time) predicate.ProjectUpdateThread

EditedAtGT applies the GT predicate on the "edited_at" field.

func EditedAtGTE

func EditedAtGTE(v time.Time) predicate.ProjectUpdateThread

EditedAtGTE applies the GTE predicate on the "edited_at" field.

func EditedAtIn

func EditedAtIn(vs ...time.Time) predicate.ProjectUpdateThread

EditedAtIn applies the In predicate on the "edited_at" field.

func EditedAtIsNil

func EditedAtIsNil() predicate.ProjectUpdateThread

EditedAtIsNil applies the IsNil predicate on the "edited_at" field.

func EditedAtLT

func EditedAtLT(v time.Time) predicate.ProjectUpdateThread

EditedAtLT applies the LT predicate on the "edited_at" field.

func EditedAtLTE

func EditedAtLTE(v time.Time) predicate.ProjectUpdateThread

EditedAtLTE applies the LTE predicate on the "edited_at" field.

func EditedAtNEQ

func EditedAtNEQ(v time.Time) predicate.ProjectUpdateThread

EditedAtNEQ applies the NEQ predicate on the "edited_at" field.

func EditedAtNotIn

func EditedAtNotIn(vs ...time.Time) predicate.ProjectUpdateThread

EditedAtNotIn applies the NotIn predicate on the "edited_at" field.

func EditedAtNotNil

func EditedAtNotNil() predicate.ProjectUpdateThread

EditedAtNotNil applies the NotNil predicate on the "edited_at" field.

func HasComments

func HasComments() predicate.ProjectUpdateThread

HasComments applies the HasEdge predicate on the "comments" edge.

func HasCommentsWith

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

func HasProject

func HasProject() predicate.ProjectUpdateThread

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.ProjectUpdateThread

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

func HasRevisions

func HasRevisions() predicate.ProjectUpdateThread

HasRevisions applies the HasEdge predicate on the "revisions" edge.

func HasRevisionsWith

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.ProjectUpdateThread

IDNotIn applies the NotIn predicate on the ID field.

func IsDeleted

func IsDeleted(v bool) predicate.ProjectUpdateThread

IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.

func IsDeletedEQ

func IsDeletedEQ(v bool) predicate.ProjectUpdateThread

IsDeletedEQ applies the EQ predicate on the "is_deleted" field.

func IsDeletedNEQ

func IsDeletedNEQ(v bool) predicate.ProjectUpdateThread

IsDeletedNEQ applies the NEQ predicate on the "is_deleted" field.

func LastActivityAt

func LastActivityAt(v time.Time) predicate.ProjectUpdateThread

LastActivityAt applies equality check predicate on the "last_activity_at" field. It's identical to LastActivityAtEQ.

func LastActivityAtEQ

func LastActivityAtEQ(v time.Time) predicate.ProjectUpdateThread

LastActivityAtEQ applies the EQ predicate on the "last_activity_at" field.

func LastActivityAtGT

func LastActivityAtGT(v time.Time) predicate.ProjectUpdateThread

LastActivityAtGT applies the GT predicate on the "last_activity_at" field.

func LastActivityAtGTE

func LastActivityAtGTE(v time.Time) predicate.ProjectUpdateThread

LastActivityAtGTE applies the GTE predicate on the "last_activity_at" field.

func LastActivityAtIn

func LastActivityAtIn(vs ...time.Time) predicate.ProjectUpdateThread

LastActivityAtIn applies the In predicate on the "last_activity_at" field.

func LastActivityAtLT

func LastActivityAtLT(v time.Time) predicate.ProjectUpdateThread

LastActivityAtLT applies the LT predicate on the "last_activity_at" field.

func LastActivityAtLTE

func LastActivityAtLTE(v time.Time) predicate.ProjectUpdateThread

LastActivityAtLTE applies the LTE predicate on the "last_activity_at" field.

func LastActivityAtNEQ

func LastActivityAtNEQ(v time.Time) predicate.ProjectUpdateThread

LastActivityAtNEQ applies the NEQ predicate on the "last_activity_at" field.

func LastActivityAtNotIn

func LastActivityAtNotIn(vs ...time.Time) predicate.ProjectUpdateThread

LastActivityAtNotIn applies the NotIn predicate on the "last_activity_at" field.

func LastEditedBy

func LastEditedBy(v string) predicate.ProjectUpdateThread

LastEditedBy applies equality check predicate on the "last_edited_by" field. It's identical to LastEditedByEQ.

func LastEditedByContains

func LastEditedByContains(v string) predicate.ProjectUpdateThread

LastEditedByContains applies the Contains predicate on the "last_edited_by" field.

func LastEditedByContainsFold

func LastEditedByContainsFold(v string) predicate.ProjectUpdateThread

LastEditedByContainsFold applies the ContainsFold predicate on the "last_edited_by" field.

func LastEditedByEQ

func LastEditedByEQ(v string) predicate.ProjectUpdateThread

LastEditedByEQ applies the EQ predicate on the "last_edited_by" field.

func LastEditedByEqualFold

func LastEditedByEqualFold(v string) predicate.ProjectUpdateThread

LastEditedByEqualFold applies the EqualFold predicate on the "last_edited_by" field.

func LastEditedByGT

func LastEditedByGT(v string) predicate.ProjectUpdateThread

LastEditedByGT applies the GT predicate on the "last_edited_by" field.

func LastEditedByGTE

func LastEditedByGTE(v string) predicate.ProjectUpdateThread

LastEditedByGTE applies the GTE predicate on the "last_edited_by" field.

func LastEditedByHasPrefix

func LastEditedByHasPrefix(v string) predicate.ProjectUpdateThread

LastEditedByHasPrefix applies the HasPrefix predicate on the "last_edited_by" field.

func LastEditedByHasSuffix

func LastEditedByHasSuffix(v string) predicate.ProjectUpdateThread

LastEditedByHasSuffix applies the HasSuffix predicate on the "last_edited_by" field.

func LastEditedByIn

func LastEditedByIn(vs ...string) predicate.ProjectUpdateThread

LastEditedByIn applies the In predicate on the "last_edited_by" field.

func LastEditedByIsNil

func LastEditedByIsNil() predicate.ProjectUpdateThread

LastEditedByIsNil applies the IsNil predicate on the "last_edited_by" field.

func LastEditedByLT

func LastEditedByLT(v string) predicate.ProjectUpdateThread

LastEditedByLT applies the LT predicate on the "last_edited_by" field.

func LastEditedByLTE

func LastEditedByLTE(v string) predicate.ProjectUpdateThread

LastEditedByLTE applies the LTE predicate on the "last_edited_by" field.

func LastEditedByNEQ

func LastEditedByNEQ(v string) predicate.ProjectUpdateThread

LastEditedByNEQ applies the NEQ predicate on the "last_edited_by" field.

func LastEditedByNotIn

func LastEditedByNotIn(vs ...string) predicate.ProjectUpdateThread

LastEditedByNotIn applies the NotIn predicate on the "last_edited_by" field.

func LastEditedByNotNil

func LastEditedByNotNil() predicate.ProjectUpdateThread

LastEditedByNotNil applies the NotNil predicate on the "last_edited_by" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProjectID

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.ProjectUpdateThread

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectUpdateThread

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.ProjectUpdateThread

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectUpdateThread

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func StatusEQ

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

func StatusIn

func StatusIn(vs ...Status) predicate.ProjectUpdateThread

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

func StatusNEQ

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

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.ProjectUpdateThread

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

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func Title

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

func TitleContains

func TitleContains(v string) predicate.ProjectUpdateThread

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.ProjectUpdateThread

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

func TitleEQ

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.ProjectUpdateThread

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

func TitleGT

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

func TitleGTE

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.ProjectUpdateThread

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.ProjectUpdateThread

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

func TitleIn

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

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

func TitleLT

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

func TitleLTE

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

func TitleNEQ

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

func TitleNotIn

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

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProjectUpdateThread

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

func UpdatedAtNotIn

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

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProjectUpdateThread queries.

func ByBodyMarkdown

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

ByBodyMarkdown orders the results by the body_markdown field.

func ByCommentCount

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

ByCommentCount orders the results by the comment_count field.

func ByComments

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

ByComments orders the results by comments terms.

func ByCommentsCount

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

ByCommentsCount orders the results by comments count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByEditCount

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

ByEditCount orders the results by the edit_count field.

func ByEditedAt

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

ByEditedAt orders the results by the edited_at field.

func ByID

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

ByID orders the results by the id field.

func ByIsDeleted

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

ByIsDeleted orders the results by the is_deleted field.

func ByLastActivityAt

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

ByLastActivityAt orders the results by the last_activity_at field.

func ByLastEditedBy

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

ByLastEditedBy orders the results by the last_edited_by field.

func ByProjectField

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

ByProjectField orders the results by project field.

func ByProjectID

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

ByProjectID orders the results by the project_id field.

func ByRevisions

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

ByRevisions orders the results by revisions terms.

func ByRevisionsCount

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

ByRevisionsCount orders the results by revisions count.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTitle

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

ByTitle orders the results by the title field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusOnTrack  Status = "on_track"
	StatusAtRisk   Status = "at_risk"
	StatusOffTrack Status = "off_track"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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