Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProjectUpdateCommentRevision) predicate.ProjectUpdateCommentRevision
- func BodyMarkdown(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownContains(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownContainsFold(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownEQ(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownEqualFold(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownGT(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownGTE(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownHasPrefix(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownHasSuffix(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownLT(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownLTE(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownNEQ(v string) predicate.ProjectUpdateCommentRevision
- func BodyMarkdownNotIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func CommentID(v uuid.UUID) predicate.ProjectUpdateCommentRevision
- func CommentIDEQ(v uuid.UUID) predicate.ProjectUpdateCommentRevision
- func CommentIDIn(vs ...uuid.UUID) predicate.ProjectUpdateCommentRevision
- func CommentIDNEQ(v uuid.UUID) predicate.ProjectUpdateCommentRevision
- func CommentIDNotIn(vs ...uuid.UUID) predicate.ProjectUpdateCommentRevision
- func EditReason(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonContains(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonContainsFold(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonEQ(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonEqualFold(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonGT(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonGTE(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonHasPrefix(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonHasSuffix(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func EditReasonIsNil() predicate.ProjectUpdateCommentRevision
- func EditReasonLT(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonLTE(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonNEQ(v string) predicate.ProjectUpdateCommentRevision
- func EditReasonNotIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func EditReasonNotNil() predicate.ProjectUpdateCommentRevision
- func EditedAt(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtEQ(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtGT(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtGTE(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtIn(vs ...time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtLT(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtLTE(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtNEQ(v time.Time) predicate.ProjectUpdateCommentRevision
- func EditedAtNotIn(vs ...time.Time) predicate.ProjectUpdateCommentRevision
- func EditedBy(v string) predicate.ProjectUpdateCommentRevision
- func EditedByContains(v string) predicate.ProjectUpdateCommentRevision
- func EditedByContainsFold(v string) predicate.ProjectUpdateCommentRevision
- func EditedByEQ(v string) predicate.ProjectUpdateCommentRevision
- func EditedByEqualFold(v string) predicate.ProjectUpdateCommentRevision
- func EditedByGT(v string) predicate.ProjectUpdateCommentRevision
- func EditedByGTE(v string) predicate.ProjectUpdateCommentRevision
- func EditedByHasPrefix(v string) predicate.ProjectUpdateCommentRevision
- func EditedByHasSuffix(v string) predicate.ProjectUpdateCommentRevision
- func EditedByIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func EditedByLT(v string) predicate.ProjectUpdateCommentRevision
- func EditedByLTE(v string) predicate.ProjectUpdateCommentRevision
- func EditedByNEQ(v string) predicate.ProjectUpdateCommentRevision
- func EditedByNotIn(vs ...string) predicate.ProjectUpdateCommentRevision
- func HasComment() predicate.ProjectUpdateCommentRevision
- func HasCommentWith(preds ...predicate.ProjectUpdateComment) predicate.ProjectUpdateCommentRevision
- func ID(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDEQ(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDGT(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDGTE(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDIn(ids ...uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDLT(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDLTE(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDNEQ(id uuid.UUID) predicate.ProjectUpdateCommentRevision
- func IDNotIn(ids ...uuid.UUID) predicate.ProjectUpdateCommentRevision
- func Not(p predicate.ProjectUpdateCommentRevision) predicate.ProjectUpdateCommentRevision
- func Or(predicates ...predicate.ProjectUpdateCommentRevision) predicate.ProjectUpdateCommentRevision
- func RevisionNumber(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberEQ(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberGT(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberGTE(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberIn(vs ...int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberLT(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberLTE(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberNEQ(v int) predicate.ProjectUpdateCommentRevision
- func RevisionNumberNotIn(vs ...int) predicate.ProjectUpdateCommentRevision
- func ValidColumn(column string) bool
- type OrderOption
- func ByBodyMarkdown(opts ...sql.OrderTermOption) OrderOption
- func ByCommentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCommentID(opts ...sql.OrderTermOption) OrderOption
- func ByEditReason(opts ...sql.OrderTermOption) OrderOption
- func ByEditedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEditedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRevisionNumber(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCommentID, FieldRevisionNumber, FieldBodyMarkdown, FieldEditedBy, FieldEditedAt, FieldEditReason, }
Columns holds all SQL columns for projectupdatecommentrevision fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProjectUpdateCommentRevision) predicate.ProjectUpdateCommentRevision
And groups predicates with the AND operator between them.
func BodyMarkdown ¶
func BodyMarkdown(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func BodyMarkdownEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func BodyMarkdownGT(v string) predicate.ProjectUpdateCommentRevision
BodyMarkdownGT applies the GT predicate on the "body_markdown" field.
func BodyMarkdownGTE ¶
func BodyMarkdownGTE(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func BodyMarkdownLT(v string) predicate.ProjectUpdateCommentRevision
BodyMarkdownLT applies the LT predicate on the "body_markdown" field.
func BodyMarkdownLTE ¶
func BodyMarkdownLTE(v string) predicate.ProjectUpdateCommentRevision
BodyMarkdownLTE applies the LTE predicate on the "body_markdown" field.
func BodyMarkdownNEQ ¶
func BodyMarkdownNEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func CommentID(v uuid.UUID) predicate.ProjectUpdateCommentRevision
CommentID applies equality check predicate on the "comment_id" field. It's identical to CommentIDEQ.
func CommentIDEQ ¶
func CommentIDEQ(v uuid.UUID) predicate.ProjectUpdateCommentRevision
CommentIDEQ applies the EQ predicate on the "comment_id" field.
func CommentIDIn ¶
func CommentIDIn(vs ...uuid.UUID) predicate.ProjectUpdateCommentRevision
CommentIDIn applies the In predicate on the "comment_id" field.
func CommentIDNEQ ¶
func CommentIDNEQ(v uuid.UUID) predicate.ProjectUpdateCommentRevision
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 ¶
func EditReason(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditReasonEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditReasonGT(v string) predicate.ProjectUpdateCommentRevision
EditReasonGT applies the GT predicate on the "edit_reason" field.
func EditReasonGTE ¶
func EditReasonGTE(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditReasonLT(v string) predicate.ProjectUpdateCommentRevision
EditReasonLT applies the LT predicate on the "edit_reason" field.
func EditReasonLTE ¶
func EditReasonLTE(v string) predicate.ProjectUpdateCommentRevision
EditReasonLTE applies the LTE predicate on the "edit_reason" field.
func EditReasonNEQ ¶
func EditReasonNEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditedAt(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAt applies equality check predicate on the "edited_at" field. It's identical to EditedAtEQ.
func EditedAtEQ ¶
func EditedAtEQ(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAtEQ applies the EQ predicate on the "edited_at" field.
func EditedAtGT ¶
func EditedAtGT(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAtGT applies the GT predicate on the "edited_at" field.
func EditedAtGTE ¶
func EditedAtGTE(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAtGTE applies the GTE predicate on the "edited_at" field.
func EditedAtIn ¶
func EditedAtIn(vs ...time.Time) predicate.ProjectUpdateCommentRevision
EditedAtIn applies the In predicate on the "edited_at" field.
func EditedAtLT ¶
func EditedAtLT(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAtLT applies the LT predicate on the "edited_at" field.
func EditedAtLTE ¶
func EditedAtLTE(v time.Time) predicate.ProjectUpdateCommentRevision
EditedAtLTE applies the LTE predicate on the "edited_at" field.
func EditedAtNEQ ¶
func EditedAtNEQ(v time.Time) predicate.ProjectUpdateCommentRevision
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 ¶
func EditedBy(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditedByEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditedByGT(v string) predicate.ProjectUpdateCommentRevision
EditedByGT applies the GT predicate on the "edited_by" field.
func EditedByGTE ¶
func EditedByGTE(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func EditedByIn(vs ...string) predicate.ProjectUpdateCommentRevision
EditedByIn applies the In predicate on the "edited_by" field.
func EditedByLT ¶
func EditedByLT(v string) predicate.ProjectUpdateCommentRevision
EditedByLT applies the LT predicate on the "edited_by" field.
func EditedByLTE ¶
func EditedByLTE(v string) predicate.ProjectUpdateCommentRevision
EditedByLTE applies the LTE predicate on the "edited_by" field.
func EditedByNEQ ¶
func EditedByNEQ(v string) predicate.ProjectUpdateCommentRevision
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 ¶
func HasComment() predicate.ProjectUpdateCommentRevision
HasComment applies the HasEdge predicate on the "comment" edge.
func HasCommentWith ¶
func HasCommentWith(preds ...predicate.ProjectUpdateComment) predicate.ProjectUpdateCommentRevision
HasCommentWith applies the HasEdge predicate on the "comment" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ProjectUpdateCommentRevision
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ProjectUpdateCommentRevision
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ProjectUpdateCommentRevision
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ProjectUpdateCommentRevision
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.ProjectUpdateCommentRevision) predicate.ProjectUpdateCommentRevision
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.