ticketcomment

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the ticketcomment type in the database.
	Label = "ticket_comment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTicketID holds the string denoting the ticket_id field in the database.
	FieldTicketID = "ticket_id"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// 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"
	// EdgeTicket holds the string denoting the ticket edge name in mutations.
	EdgeTicket = "ticket"
	// EdgeRevisions holds the string denoting the revisions edge name in mutations.
	EdgeRevisions = "revisions"
	// Table holds the table name of the ticketcomment in the database.
	Table = "ticket_comments"
	// TicketTable is the table that holds the ticket relation/edge.
	TicketTable = "ticket_comments"
	// TicketInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketInverseTable = "tickets"
	// TicketColumn is the table column denoting the ticket relation/edge.
	TicketColumn = "ticket_id"
	// RevisionsTable is the table that holds the revisions relation/edge.
	RevisionsTable = "ticket_comment_revisions"
	// RevisionsInverseTable is the table name for the TicketCommentRevision entity.
	// It exists in this package in order to avoid circular dependency with the "ticketcommentrevision" package.
	RevisionsInverseTable = "ticket_comment_revisions"
	// RevisionsColumn is the table column denoting the revisions relation/edge.
	RevisionsColumn = "comment_id"
)

Variables

View Source
var (
	// BodyValidator is a validator for the "body" field. It is called by the builders before save.
	BodyValidator 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 ticketcomment fields.

Functions

func And

And groups predicates with the AND operator between them.

func Body

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyContains

func BodyContains(v string) predicate.TicketComment

BodyContains applies the Contains predicate on the "body" field.

func BodyContainsFold

func BodyContainsFold(v string) predicate.TicketComment

BodyContainsFold applies the ContainsFold predicate on the "body" field.

func BodyEQ

func BodyEQ(v string) predicate.TicketComment

BodyEQ applies the EQ predicate on the "body" field.

func BodyEqualFold

func BodyEqualFold(v string) predicate.TicketComment

BodyEqualFold applies the EqualFold predicate on the "body" field.

func BodyGT

func BodyGT(v string) predicate.TicketComment

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v string) predicate.TicketComment

BodyGTE applies the GTE predicate on the "body" field.

func BodyHasPrefix

func BodyHasPrefix(v string) predicate.TicketComment

BodyHasPrefix applies the HasPrefix predicate on the "body" field.

func BodyHasSuffix

func BodyHasSuffix(v string) predicate.TicketComment

BodyHasSuffix applies the HasSuffix predicate on the "body" field.

func BodyIn

func BodyIn(vs ...string) predicate.TicketComment

BodyIn applies the In predicate on the "body" field.

func BodyLT

func BodyLT(v string) predicate.TicketComment

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v string) predicate.TicketComment

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v string) predicate.TicketComment

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...string) predicate.TicketComment

BodyNotIn applies the NotIn predicate on the "body" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.TicketComment

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TicketComment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TicketComment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TicketComment

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TicketComment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TicketComment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TicketComment

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.TicketComment

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

func CreatedByContains

func CreatedByContains(v string) predicate.TicketComment

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.TicketComment

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.TicketComment

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.TicketComment

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

func CreatedByGT

func CreatedByGT(v string) predicate.TicketComment

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.TicketComment

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.TicketComment

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.TicketComment

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

func CreatedByIn

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

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

func CreatedByLT

func CreatedByLT(v string) predicate.TicketComment

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.TicketComment

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.TicketComment

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

func CreatedByNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.TicketComment

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.TicketComment

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.TicketComment

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.TicketComment

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.TicketComment

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.TicketComment

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.TicketComment

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.TicketComment

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.TicketComment

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

func DeletedBy

func DeletedBy(v string) predicate.TicketComment

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

func DeletedByContains

func DeletedByContains(v string) predicate.TicketComment

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.TicketComment

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.TicketComment

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.TicketComment

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

func DeletedByGT

func DeletedByGT(v string) predicate.TicketComment

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.TicketComment

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.TicketComment

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.TicketComment

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.TicketComment

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

func DeletedByLT

func DeletedByLT(v string) predicate.TicketComment

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.TicketComment

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.TicketComment

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.TicketComment

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

func EditCount

func EditCount(v int) predicate.TicketComment

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

func EditCountEQ

func EditCountEQ(v int) predicate.TicketComment

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

func EditCountGT

func EditCountGT(v int) predicate.TicketComment

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

func EditCountGTE

func EditCountGTE(v int) predicate.TicketComment

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

func EditCountIn

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

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

func EditCountLT

func EditCountLT(v int) predicate.TicketComment

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

func EditCountLTE

func EditCountLTE(v int) predicate.TicketComment

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

func EditCountNEQ

func EditCountNEQ(v int) predicate.TicketComment

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

func EditCountNotIn

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

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

func EditedAt

func EditedAt(v time.Time) predicate.TicketComment

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

func EditedAtEQ

func EditedAtEQ(v time.Time) predicate.TicketComment

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

func EditedAtGT

func EditedAtGT(v time.Time) predicate.TicketComment

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

func EditedAtGTE

func EditedAtGTE(v time.Time) predicate.TicketComment

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

func EditedAtIn

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

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

func EditedAtIsNil

func EditedAtIsNil() predicate.TicketComment

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

func EditedAtLT

func EditedAtLT(v time.Time) predicate.TicketComment

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

func EditedAtLTE

func EditedAtLTE(v time.Time) predicate.TicketComment

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

func EditedAtNEQ

func EditedAtNEQ(v time.Time) predicate.TicketComment

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

func EditedAtNotIn

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

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

func EditedAtNotNil

func EditedAtNotNil() predicate.TicketComment

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

func HasRevisions

func HasRevisions() predicate.TicketComment

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

func HasRevisionsWith

func HasRevisionsWith(preds ...predicate.TicketCommentRevision) predicate.TicketComment

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

func HasTicket

func HasTicket() predicate.TicketComment

HasTicket applies the HasEdge predicate on the "ticket" edge.

func HasTicketWith

func HasTicketWith(preds ...predicate.Ticket) predicate.TicketComment

HasTicketWith applies the HasEdge predicate on the "ticket" 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

func IDGTE(id uuid.UUID) predicate.TicketComment

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.TicketComment

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.TicketComment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.TicketComment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDeleted

func IsDeleted(v bool) predicate.TicketComment

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

func IsDeletedEQ

func IsDeletedEQ(v bool) predicate.TicketComment

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

func IsDeletedNEQ

func IsDeletedNEQ(v bool) predicate.TicketComment

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

func LastEditedBy

func LastEditedBy(v string) predicate.TicketComment

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

func LastEditedByContains

func LastEditedByContains(v string) predicate.TicketComment

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

func LastEditedByContainsFold

func LastEditedByContainsFold(v string) predicate.TicketComment

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

func LastEditedByEQ

func LastEditedByEQ(v string) predicate.TicketComment

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

func LastEditedByEqualFold

func LastEditedByEqualFold(v string) predicate.TicketComment

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

func LastEditedByGT

func LastEditedByGT(v string) predicate.TicketComment

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

func LastEditedByGTE

func LastEditedByGTE(v string) predicate.TicketComment

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

func LastEditedByHasPrefix

func LastEditedByHasPrefix(v string) predicate.TicketComment

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

func LastEditedByHasSuffix

func LastEditedByHasSuffix(v string) predicate.TicketComment

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

func LastEditedByIn

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

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

func LastEditedByIsNil

func LastEditedByIsNil() predicate.TicketComment

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

func LastEditedByLT

func LastEditedByLT(v string) predicate.TicketComment

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

func LastEditedByLTE

func LastEditedByLTE(v string) predicate.TicketComment

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

func LastEditedByNEQ

func LastEditedByNEQ(v string) predicate.TicketComment

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

func LastEditedByNotIn

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

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

func LastEditedByNotNil

func LastEditedByNotNil() predicate.TicketComment

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 TicketID

func TicketID(v uuid.UUID) predicate.TicketComment

TicketID applies equality check predicate on the "ticket_id" field. It's identical to TicketIDEQ.

func TicketIDEQ

func TicketIDEQ(v uuid.UUID) predicate.TicketComment

TicketIDEQ applies the EQ predicate on the "ticket_id" field.

func TicketIDIn

func TicketIDIn(vs ...uuid.UUID) predicate.TicketComment

TicketIDIn applies the In predicate on the "ticket_id" field.

func TicketIDNEQ

func TicketIDNEQ(v uuid.UUID) predicate.TicketComment

TicketIDNEQ applies the NEQ predicate on the "ticket_id" field.

func TicketIDNotIn

func TicketIDNotIn(vs ...uuid.UUID) predicate.TicketComment

TicketIDNotIn applies the NotIn predicate on the "ticket_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.TicketComment

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.TicketComment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.TicketComment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.TicketComment

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.TicketComment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.TicketComment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.TicketComment

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

func UpdatedAtNotIn

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

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

func ByBody

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

ByBody orders the results by the body 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 ByTicketField

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

ByTicketField orders the results by ticket field.

func ByTicketID

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

ByTicketID orders the results by the ticket_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