projectupdatecomment

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the projectupdatecomment type in the database.
	Label = "project_update_comment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldThreadID holds the string denoting the thread_id field in the database.
	FieldThreadID = "thread_id"
	// 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"
	// EdgeThread holds the string denoting the thread edge name in mutations.
	EdgeThread = "thread"
	// EdgeRevisions holds the string denoting the revisions edge name in mutations.
	EdgeRevisions = "revisions"
	// Table holds the table name of the projectupdatecomment in the database.
	Table = "project_update_comments"
	// ThreadTable is the table that holds the thread relation/edge.
	ThreadTable = "project_update_comments"
	// ThreadInverseTable is the table name for the ProjectUpdateThread entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatethread" package.
	ThreadInverseTable = "project_update_threads"
	// ThreadColumn is the table column denoting the thread relation/edge.
	ThreadColumn = "thread_id"
	// RevisionsTable is the table that holds the revisions relation/edge.
	RevisionsTable = "project_update_comment_revisions"
	// RevisionsInverseTable is the table name for the ProjectUpdateCommentRevision entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatecommentrevision" package.
	RevisionsInverseTable = "project_update_comment_revisions"
	// RevisionsColumn is the table column denoting the revisions relation/edge.
	RevisionsColumn = "comment_id"
)

Variables

View Source
var (
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for projectupdatecomment fields.

Functions

func And

And groups predicates with the AND operator between them.

func BodyMarkdown

func BodyMarkdown(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownContains

func BodyMarkdownContains(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownContainsFold

func BodyMarkdownContainsFold(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownEQ

func BodyMarkdownEQ(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownEqualFold

func BodyMarkdownEqualFold(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownGT

func BodyMarkdownGT(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownGTE

func BodyMarkdownGTE(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownHasPrefix

func BodyMarkdownHasPrefix(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownHasSuffix

func BodyMarkdownHasSuffix(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownIn

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

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

func BodyMarkdownLT

func BodyMarkdownLT(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownLTE

func BodyMarkdownLTE(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownNEQ

func BodyMarkdownNEQ(v string) predicate.ProjectUpdateComment

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

func BodyMarkdownNotIn

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

BodyMarkdownNotIn applies the NotIn predicate on the "body_markdown" 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.ProjectUpdateComment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProjectUpdateComment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProjectUpdateComment

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProjectUpdateComment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProjectUpdateComment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProjectUpdateComment

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

func CreatedAtNotIn

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

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

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ProjectUpdateComment

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.ProjectUpdateComment

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ProjectUpdateComment

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

func CreatedByGT

func CreatedByGT(v string) predicate.ProjectUpdateComment

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.ProjectUpdateComment

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ProjectUpdateComment

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ProjectUpdateComment

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

func CreatedByIn

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

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

func CreatedByLT

func CreatedByLT(v string) predicate.ProjectUpdateComment

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.ProjectUpdateComment

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.ProjectUpdateComment

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

func CreatedByNotIn

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

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

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ProjectUpdateComment

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ProjectUpdateComment

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ProjectUpdateComment

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ProjectUpdateComment

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ProjectUpdateComment

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ProjectUpdateComment

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ProjectUpdateComment

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

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.ProjectUpdateComment

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.ProjectUpdateComment

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.ProjectUpdateComment

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

func DeletedByGT

func DeletedByGT(v string) predicate.ProjectUpdateComment

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.ProjectUpdateComment

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.ProjectUpdateComment

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.ProjectUpdateComment

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.ProjectUpdateComment

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

func DeletedByLT

func DeletedByLT(v string) predicate.ProjectUpdateComment

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.ProjectUpdateComment

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.ProjectUpdateComment

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.ProjectUpdateComment

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

func EditCount

func EditCount(v int) predicate.ProjectUpdateComment

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

func EditCountEQ

func EditCountEQ(v int) predicate.ProjectUpdateComment

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

func EditCountGT

func EditCountGT(v int) predicate.ProjectUpdateComment

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

func EditCountGTE

func EditCountGTE(v int) predicate.ProjectUpdateComment

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

func EditCountIn

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

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

func EditCountLT

func EditCountLT(v int) predicate.ProjectUpdateComment

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

func EditCountLTE

func EditCountLTE(v int) predicate.ProjectUpdateComment

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

func EditCountNEQ

func EditCountNEQ(v int) predicate.ProjectUpdateComment

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

func EditCountNotIn

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

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

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

func EditedAtGT

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

func EditedAtGTE

func EditedAtGTE(v time.Time) predicate.ProjectUpdateComment

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

func EditedAtIn

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

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

func EditedAtIsNil

func EditedAtIsNil() predicate.ProjectUpdateComment

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

func EditedAtLT

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

func EditedAtLTE

func EditedAtLTE(v time.Time) predicate.ProjectUpdateComment

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

func EditedAtNEQ

func EditedAtNEQ(v time.Time) predicate.ProjectUpdateComment

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

func EditedAtNotIn

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

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

func EditedAtNotNil

func EditedAtNotNil() predicate.ProjectUpdateComment

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

func HasRevisions

func HasRevisions() predicate.ProjectUpdateComment

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 HasThread

func HasThread() predicate.ProjectUpdateComment

HasThread applies the HasEdge predicate on the "thread" edge.

func HasThreadWith

HasThreadWith applies the HasEdge predicate on the "thread" 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.ProjectUpdateComment

IDNotIn applies the NotIn predicate on the ID field.

func IsDeleted

func IsDeleted(v bool) predicate.ProjectUpdateComment

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

func IsDeletedEQ

func IsDeletedEQ(v bool) predicate.ProjectUpdateComment

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

func IsDeletedNEQ

func IsDeletedNEQ(v bool) predicate.ProjectUpdateComment

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

func LastEditedBy

func LastEditedBy(v string) predicate.ProjectUpdateComment

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

func LastEditedByContains

func LastEditedByContains(v string) predicate.ProjectUpdateComment

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

func LastEditedByContainsFold

func LastEditedByContainsFold(v string) predicate.ProjectUpdateComment

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

func LastEditedByEQ

func LastEditedByEQ(v string) predicate.ProjectUpdateComment

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

func LastEditedByEqualFold

func LastEditedByEqualFold(v string) predicate.ProjectUpdateComment

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

func LastEditedByGT

func LastEditedByGT(v string) predicate.ProjectUpdateComment

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

func LastEditedByGTE

func LastEditedByGTE(v string) predicate.ProjectUpdateComment

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

func LastEditedByHasPrefix

func LastEditedByHasPrefix(v string) predicate.ProjectUpdateComment

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

func LastEditedByHasSuffix

func LastEditedByHasSuffix(v string) predicate.ProjectUpdateComment

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

func LastEditedByIn

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

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

func LastEditedByIsNil

func LastEditedByIsNil() predicate.ProjectUpdateComment

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

func LastEditedByLT

func LastEditedByLT(v string) predicate.ProjectUpdateComment

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

func LastEditedByLTE

func LastEditedByLTE(v string) predicate.ProjectUpdateComment

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

func LastEditedByNEQ

func LastEditedByNEQ(v string) predicate.ProjectUpdateComment

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

func LastEditedByNotIn

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

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

func LastEditedByNotNil

func LastEditedByNotNil() predicate.ProjectUpdateComment

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 ThreadID

ThreadID applies equality check predicate on the "thread_id" field. It's identical to ThreadIDEQ.

func ThreadIDEQ

ThreadIDEQ applies the EQ predicate on the "thread_id" field.

func ThreadIDIn

func ThreadIDIn(vs ...uuid.UUID) predicate.ProjectUpdateComment

ThreadIDIn applies the In predicate on the "thread_id" field.

func ThreadIDNEQ

func ThreadIDNEQ(v uuid.UUID) predicate.ProjectUpdateComment

ThreadIDNEQ applies the NEQ predicate on the "thread_id" field.

func ThreadIDNotIn

func ThreadIDNotIn(vs ...uuid.UUID) predicate.ProjectUpdateComment

ThreadIDNotIn applies the NotIn predicate on the "thread_id" 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.ProjectUpdateComment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProjectUpdateComment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProjectUpdateComment

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProjectUpdateComment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProjectUpdateComment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProjectUpdateComment

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

func UpdatedAtNotIn

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

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 ProjectUpdateComment queries.

func ByBodyMarkdown

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

ByBodyMarkdown orders the results by the body_markdown field.

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 ByLastEditedBy

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

ByLastEditedBy orders the results by the last_edited_by 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 ByThreadField

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

ByThreadField orders the results by thread field.

func ByThreadID

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

ByThreadID orders the results by the thread_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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