projectupdatecommentrevision

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the projectupdatecommentrevision type in the database.
	Label = "project_update_comment_revision"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCommentID holds the string denoting the comment_id field in the database.
	FieldCommentID = "comment_id"
	// FieldRevisionNumber holds the string denoting the revision_number field in the database.
	FieldRevisionNumber = "revision_number"
	// FieldBodyMarkdown holds the string denoting the body_markdown field in the database.
	FieldBodyMarkdown = "body_markdown"
	// FieldEditedBy holds the string denoting the edited_by field in the database.
	FieldEditedBy = "edited_by"
	// FieldEditedAt holds the string denoting the edited_at field in the database.
	FieldEditedAt = "edited_at"
	// FieldEditReason holds the string denoting the edit_reason field in the database.
	FieldEditReason = "edit_reason"
	// EdgeComment holds the string denoting the comment edge name in mutations.
	EdgeComment = "comment"
	// Table holds the table name of the projectupdatecommentrevision in the database.
	Table = "project_update_comment_revisions"
	// CommentTable is the table that holds the comment relation/edge.
	CommentTable = "project_update_comment_revisions"
	// CommentInverseTable is the table name for the ProjectUpdateComment entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatecomment" package.
	CommentInverseTable = "project_update_comments"
	// CommentColumn is the table column denoting the comment relation/edge.
	CommentColumn = "comment_id"
)

Variables

View Source
var (
	// RevisionNumberValidator is a validator for the "revision_number" field. It is called by the builders before save.
	RevisionNumberValidator func(int) error
	// BodyMarkdownValidator is a validator for the "body_markdown" field. It is called by the builders before save.
	BodyMarkdownValidator func(string) error
	// EditedByValidator is a validator for the "edited_by" field. It is called by the builders before save.
	EditedByValidator func(string) error
	// DefaultEditedAt holds the default value on creation for the "edited_at" field.
	DefaultEditedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for projectupdatecommentrevision fields.

Functions

func And

And groups predicates with the AND operator between them.

func BodyMarkdown

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

func BodyMarkdownContains

func BodyMarkdownContains(v string) predicate.ProjectUpdateCommentRevision

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

func BodyMarkdownContainsFold

func BodyMarkdownContainsFold(v string) predicate.ProjectUpdateCommentRevision

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

func BodyMarkdownEQ

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

func BodyMarkdownEqualFold

func BodyMarkdownEqualFold(v string) predicate.ProjectUpdateCommentRevision

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

func BodyMarkdownGT

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

func BodyMarkdownGTE

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

func BodyMarkdownHasPrefix

func BodyMarkdownHasPrefix(v string) predicate.ProjectUpdateCommentRevision

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

func BodyMarkdownHasSuffix

func BodyMarkdownHasSuffix(v string) predicate.ProjectUpdateCommentRevision

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

func BodyMarkdownIn

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

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

func BodyMarkdownLT

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

func BodyMarkdownLTE

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

func BodyMarkdownNEQ

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

func BodyMarkdownNotIn

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

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

func CommentID

CommentID applies equality check predicate on the "comment_id" field. It's identical to CommentIDEQ.

func CommentIDEQ

CommentIDEQ applies the EQ predicate on the "comment_id" field.

func CommentIDIn

CommentIDIn applies the In predicate on the "comment_id" field.

func CommentIDNEQ

CommentIDNEQ applies the NEQ predicate on the "comment_id" field.

func CommentIDNotIn

func CommentIDNotIn(vs ...uuid.UUID) predicate.ProjectUpdateCommentRevision

CommentIDNotIn applies the NotIn predicate on the "comment_id" field.

func EditReason

EditReason applies equality check predicate on the "edit_reason" field. It's identical to EditReasonEQ.

func EditReasonContains

func EditReasonContains(v string) predicate.ProjectUpdateCommentRevision

EditReasonContains applies the Contains predicate on the "edit_reason" field.

func EditReasonContainsFold

func EditReasonContainsFold(v string) predicate.ProjectUpdateCommentRevision

EditReasonContainsFold applies the ContainsFold predicate on the "edit_reason" field.

func EditReasonEQ

EditReasonEQ applies the EQ predicate on the "edit_reason" field.

func EditReasonEqualFold

func EditReasonEqualFold(v string) predicate.ProjectUpdateCommentRevision

EditReasonEqualFold applies the EqualFold predicate on the "edit_reason" field.

func EditReasonGT

EditReasonGT applies the GT predicate on the "edit_reason" field.

func EditReasonGTE

EditReasonGTE applies the GTE predicate on the "edit_reason" field.

func EditReasonHasPrefix

func EditReasonHasPrefix(v string) predicate.ProjectUpdateCommentRevision

EditReasonHasPrefix applies the HasPrefix predicate on the "edit_reason" field.

func EditReasonHasSuffix

func EditReasonHasSuffix(v string) predicate.ProjectUpdateCommentRevision

EditReasonHasSuffix applies the HasSuffix predicate on the "edit_reason" field.

func EditReasonIn

func EditReasonIn(vs ...string) predicate.ProjectUpdateCommentRevision

EditReasonIn applies the In predicate on the "edit_reason" field.

func EditReasonIsNil

func EditReasonIsNil() predicate.ProjectUpdateCommentRevision

EditReasonIsNil applies the IsNil predicate on the "edit_reason" field.

func EditReasonLT

EditReasonLT applies the LT predicate on the "edit_reason" field.

func EditReasonLTE

EditReasonLTE applies the LTE predicate on the "edit_reason" field.

func EditReasonNEQ

EditReasonNEQ applies the NEQ predicate on the "edit_reason" field.

func EditReasonNotIn

func EditReasonNotIn(vs ...string) predicate.ProjectUpdateCommentRevision

EditReasonNotIn applies the NotIn predicate on the "edit_reason" field.

func EditReasonNotNil

func EditReasonNotNil() predicate.ProjectUpdateCommentRevision

EditReasonNotNil applies the NotNil predicate on the "edit_reason" field.

func EditedAt

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

func EditedAtEQ

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

func EditedAtGT

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

func EditedAtGTE

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

func EditedAtIn

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

func EditedAtLT

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

func EditedAtLTE

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

func EditedAtNEQ

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

func EditedAtNotIn

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

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

func EditedBy

EditedBy applies equality check predicate on the "edited_by" field. It's identical to EditedByEQ.

func EditedByContains

func EditedByContains(v string) predicate.ProjectUpdateCommentRevision

EditedByContains applies the Contains predicate on the "edited_by" field.

func EditedByContainsFold

func EditedByContainsFold(v string) predicate.ProjectUpdateCommentRevision

EditedByContainsFold applies the ContainsFold predicate on the "edited_by" field.

func EditedByEQ

EditedByEQ applies the EQ predicate on the "edited_by" field.

func EditedByEqualFold

func EditedByEqualFold(v string) predicate.ProjectUpdateCommentRevision

EditedByEqualFold applies the EqualFold predicate on the "edited_by" field.

func EditedByGT

EditedByGT applies the GT predicate on the "edited_by" field.

func EditedByGTE

EditedByGTE applies the GTE predicate on the "edited_by" field.

func EditedByHasPrefix

func EditedByHasPrefix(v string) predicate.ProjectUpdateCommentRevision

EditedByHasPrefix applies the HasPrefix predicate on the "edited_by" field.

func EditedByHasSuffix

func EditedByHasSuffix(v string) predicate.ProjectUpdateCommentRevision

EditedByHasSuffix applies the HasSuffix predicate on the "edited_by" field.

func EditedByIn

EditedByIn applies the In predicate on the "edited_by" field.

func EditedByLT

EditedByLT applies the LT predicate on the "edited_by" field.

func EditedByLTE

EditedByLTE applies the LTE predicate on the "edited_by" field.

func EditedByNEQ

EditedByNEQ applies the NEQ predicate on the "edited_by" field.

func EditedByNotIn

func EditedByNotIn(vs ...string) predicate.ProjectUpdateCommentRevision

EditedByNotIn applies the NotIn predicate on the "edited_by" field.

func HasComment

HasComment applies the HasEdge predicate on the "comment" edge.

func HasCommentWith

HasCommentWith applies the HasEdge predicate on the "comment" 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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RevisionNumber

func RevisionNumber(v int) predicate.ProjectUpdateCommentRevision

RevisionNumber applies equality check predicate on the "revision_number" field. It's identical to RevisionNumberEQ.

func RevisionNumberEQ

func RevisionNumberEQ(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberEQ applies the EQ predicate on the "revision_number" field.

func RevisionNumberGT

func RevisionNumberGT(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberGT applies the GT predicate on the "revision_number" field.

func RevisionNumberGTE

func RevisionNumberGTE(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberGTE applies the GTE predicate on the "revision_number" field.

func RevisionNumberIn

func RevisionNumberIn(vs ...int) predicate.ProjectUpdateCommentRevision

RevisionNumberIn applies the In predicate on the "revision_number" field.

func RevisionNumberLT

func RevisionNumberLT(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberLT applies the LT predicate on the "revision_number" field.

func RevisionNumberLTE

func RevisionNumberLTE(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberLTE applies the LTE predicate on the "revision_number" field.

func RevisionNumberNEQ

func RevisionNumberNEQ(v int) predicate.ProjectUpdateCommentRevision

RevisionNumberNEQ applies the NEQ predicate on the "revision_number" field.

func RevisionNumberNotIn

func RevisionNumberNotIn(vs ...int) predicate.ProjectUpdateCommentRevision

RevisionNumberNotIn applies the NotIn predicate on the "revision_number" 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 ProjectUpdateCommentRevision queries.

func ByBodyMarkdown

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

ByBodyMarkdown orders the results by the body_markdown field.

func ByCommentField

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

ByCommentField orders the results by comment field.

func ByCommentID

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

ByCommentID orders the results by the comment_id field.

func ByEditReason

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

ByEditReason orders the results by the edit_reason field.

func ByEditedAt

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

ByEditedAt orders the results by the edited_at field.

func ByEditedBy

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

ByEditedBy orders the results by the edited_by field.

func ByID

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

ByID orders the results by the id field.

func ByRevisionNumber

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

ByRevisionNumber orders the results by the revision_number field.

Jump to

Keyboard shortcuts

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