Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
- func Comment(v string) predicate.ProjectIssueComment
- func CommentContains(v string) predicate.ProjectIssueComment
- func CommentContainsFold(v string) predicate.ProjectIssueComment
- func CommentEQ(v string) predicate.ProjectIssueComment
- func CommentEqualFold(v string) predicate.ProjectIssueComment
- func CommentGT(v string) predicate.ProjectIssueComment
- func CommentGTE(v string) predicate.ProjectIssueComment
- func CommentHasPrefix(v string) predicate.ProjectIssueComment
- func CommentHasSuffix(v string) predicate.ProjectIssueComment
- func CommentIn(vs ...string) predicate.ProjectIssueComment
- func CommentLT(v string) predicate.ProjectIssueComment
- func CommentLTE(v string) predicate.ProjectIssueComment
- func CommentNEQ(v string) predicate.ProjectIssueComment
- func CommentNotIn(vs ...string) predicate.ProjectIssueComment
- func CreatedAt(v time.Time) predicate.ProjectIssueComment
- func CreatedAtEQ(v time.Time) predicate.ProjectIssueComment
- func CreatedAtGT(v time.Time) predicate.ProjectIssueComment
- func CreatedAtGTE(v time.Time) predicate.ProjectIssueComment
- func CreatedAtIn(vs ...time.Time) predicate.ProjectIssueComment
- func CreatedAtLT(v time.Time) predicate.ProjectIssueComment
- func CreatedAtLTE(v time.Time) predicate.ProjectIssueComment
- func CreatedAtNEQ(v time.Time) predicate.ProjectIssueComment
- func CreatedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
- func DeletedAt(v time.Time) predicate.ProjectIssueComment
- func DeletedAtEQ(v time.Time) predicate.ProjectIssueComment
- func DeletedAtGT(v time.Time) predicate.ProjectIssueComment
- func DeletedAtGTE(v time.Time) predicate.ProjectIssueComment
- func DeletedAtIn(vs ...time.Time) predicate.ProjectIssueComment
- func DeletedAtIsNil() predicate.ProjectIssueComment
- func DeletedAtLT(v time.Time) predicate.ProjectIssueComment
- func DeletedAtLTE(v time.Time) predicate.ProjectIssueComment
- func DeletedAtNEQ(v time.Time) predicate.ProjectIssueComment
- func DeletedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
- func DeletedAtNotNil() predicate.ProjectIssueComment
- func HasIssue() predicate.ProjectIssueComment
- func HasIssueWith(preds ...predicate.ProjectIssue) predicate.ProjectIssueComment
- func HasParent() predicate.ProjectIssueComment
- func HasParentWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
- func HasReplies() predicate.ProjectIssueComment
- func HasRepliesWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
- func HasUser() predicate.ProjectIssueComment
- func HasUserWith(preds ...predicate.User) predicate.ProjectIssueComment
- func ID(id uuid.UUID) predicate.ProjectIssueComment
- func IDEQ(id uuid.UUID) predicate.ProjectIssueComment
- func IDGT(id uuid.UUID) predicate.ProjectIssueComment
- func IDGTE(id uuid.UUID) predicate.ProjectIssueComment
- func IDIn(ids ...uuid.UUID) predicate.ProjectIssueComment
- func IDLT(id uuid.UUID) predicate.ProjectIssueComment
- func IDLTE(id uuid.UUID) predicate.ProjectIssueComment
- func IDNEQ(id uuid.UUID) predicate.ProjectIssueComment
- func IDNotIn(ids ...uuid.UUID) predicate.ProjectIssueComment
- func IssueID(v uuid.UUID) predicate.ProjectIssueComment
- func IssueIDEQ(v uuid.UUID) predicate.ProjectIssueComment
- func IssueIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func IssueIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
- func IssueIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func Not(p predicate.ProjectIssueComment) predicate.ProjectIssueComment
- func Or(predicates ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
- func ParentID(v uuid.UUID) predicate.ProjectIssueComment
- func ParentIDEQ(v uuid.UUID) predicate.ProjectIssueComment
- func ParentIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func ParentIDIsNil() predicate.ProjectIssueComment
- func ParentIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
- func ParentIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func ParentIDNotNil() predicate.ProjectIssueComment
- func UpdatedAt(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtEQ(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtGT(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtGTE(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtIn(vs ...time.Time) predicate.ProjectIssueComment
- func UpdatedAtLT(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtLTE(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtNEQ(v time.Time) predicate.ProjectIssueComment
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
- func UserID(v uuid.UUID) predicate.ProjectIssueComment
- func UserIDEQ(v uuid.UUID) predicate.ProjectIssueComment
- func UserIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func UserIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
- func UserIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
- func ValidColumn(column string) bool
- type OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIssueField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByIssueID(opts ...sql.OrderTermOption) OrderOption
- func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByReplies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRepliesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the projectissuecomment type in the database. Label = "project_issue_comment" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldIssueID holds the string denoting the issue_id field in the database. FieldIssueID = "issue_id" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeIssue holds the string denoting the issue edge name in mutations. EdgeIssue = "issue" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeReplies holds the string denoting the replies edge name in mutations. EdgeReplies = "replies" // Table holds the table name of the projectissuecomment in the database. Table = "project_issue_comments" // UserTable is the table that holds the user relation/edge. UserTable = "project_issue_comments" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // IssueTable is the table that holds the issue relation/edge. IssueTable = "project_issue_comments" // IssueInverseTable is the table name for the ProjectIssue entity. // It exists in this package in order to avoid circular dependency with the "projectissue" package. IssueInverseTable = "project_issues" // IssueColumn is the table column denoting the issue relation/edge. IssueColumn = "issue_id" // ParentTable is the table that holds the parent relation/edge. ParentTable = "project_issue_comments" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "parent_id" // RepliesTable is the table that holds the replies relation/edge. RepliesTable = "project_issue_comments" // RepliesColumn is the table column denoting the replies relation/edge. RepliesColumn = "parent_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // CommentValidator is a validator for the "comment" field. It is called by the builders before save. CommentValidator 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 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldUserID, FieldIssueID, FieldParentID, FieldComment, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for projectissuecomment fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
And groups predicates with the AND operator between them.
func Comment ¶
func Comment(v string) predicate.ProjectIssueComment
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
func CommentContains(v string) predicate.ProjectIssueComment
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
func CommentContainsFold(v string) predicate.ProjectIssueComment
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEQ ¶
func CommentEQ(v string) predicate.ProjectIssueComment
CommentEQ applies the EQ predicate on the "comment" field.
func CommentEqualFold ¶
func CommentEqualFold(v string) predicate.ProjectIssueComment
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGT ¶
func CommentGT(v string) predicate.ProjectIssueComment
CommentGT applies the GT predicate on the "comment" field.
func CommentGTE ¶
func CommentGTE(v string) predicate.ProjectIssueComment
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
func CommentHasPrefix(v string) predicate.ProjectIssueComment
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
func CommentHasSuffix(v string) predicate.ProjectIssueComment
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentIn ¶
func CommentIn(vs ...string) predicate.ProjectIssueComment
CommentIn applies the In predicate on the "comment" field.
func CommentLT ¶
func CommentLT(v string) predicate.ProjectIssueComment
CommentLT applies the LT predicate on the "comment" field.
func CommentLTE ¶
func CommentLTE(v string) predicate.ProjectIssueComment
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
func CommentNEQ(v string) predicate.ProjectIssueComment
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
func CommentNotIn(vs ...string) predicate.ProjectIssueComment
CommentNotIn applies the NotIn predicate on the "comment" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProjectIssueComment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProjectIssueComment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProjectIssueComment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProjectIssueComment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProjectIssueComment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProjectIssueComment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProjectIssueComment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProjectIssueComment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ProjectIssueComment
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ProjectIssueComment
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ProjectIssueComment
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ProjectIssueComment
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ProjectIssueComment
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ProjectIssueComment
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ProjectIssueComment
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ProjectIssueComment
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ProjectIssueComment
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ProjectIssueComment
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasIssue ¶
func HasIssue() predicate.ProjectIssueComment
HasIssue applies the HasEdge predicate on the "issue" edge.
func HasIssueWith ¶
func HasIssueWith(preds ...predicate.ProjectIssue) predicate.ProjectIssueComment
HasIssueWith applies the HasEdge predicate on the "issue" edge with a given conditions (other predicates).
func HasParent ¶
func HasParent() predicate.ProjectIssueComment
HasParent applies the HasEdge predicate on the "parent" edge.
func HasParentWith ¶
func HasParentWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
func HasReplies ¶
func HasReplies() predicate.ProjectIssueComment
HasReplies applies the HasEdge predicate on the "replies" edge.
func HasRepliesWith ¶
func HasRepliesWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
HasRepliesWith applies the HasEdge predicate on the "replies" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.ProjectIssueComment
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.ProjectIssueComment
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ProjectIssueComment
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ProjectIssueComment
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ProjectIssueComment
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ProjectIssueComment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ProjectIssueComment
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ProjectIssueComment
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ProjectIssueComment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ProjectIssueComment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ProjectIssueComment
IDNotIn applies the NotIn predicate on the ID field.
func IssueID ¶
func IssueID(v uuid.UUID) predicate.ProjectIssueComment
IssueID applies equality check predicate on the "issue_id" field. It's identical to IssueIDEQ.
func IssueIDEQ ¶
func IssueIDEQ(v uuid.UUID) predicate.ProjectIssueComment
IssueIDEQ applies the EQ predicate on the "issue_id" field.
func IssueIDIn ¶
func IssueIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
IssueIDIn applies the In predicate on the "issue_id" field.
func IssueIDNEQ ¶
func IssueIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
IssueIDNEQ applies the NEQ predicate on the "issue_id" field.
func IssueIDNotIn ¶
func IssueIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
IssueIDNotIn applies the NotIn predicate on the "issue_id" field.
func Not ¶
func Not(p predicate.ProjectIssueComment) predicate.ProjectIssueComment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProjectIssueComment) predicate.ProjectIssueComment
Or groups predicates with the OR operator between them.
func ParentID ¶
func ParentID(v uuid.UUID) predicate.ProjectIssueComment
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDEQ ¶
func ParentIDEQ(v uuid.UUID) predicate.ProjectIssueComment
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDIn ¶
func ParentIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
func ParentIDIsNil() predicate.ProjectIssueComment
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDNEQ ¶
func ParentIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
func ParentIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
func ParentIDNotNil() predicate.ProjectIssueComment
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProjectIssueComment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProjectIssueComment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProjectIssueComment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProjectIssueComment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProjectIssueComment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProjectIssueComment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProjectIssueComment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProjectIssueComment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProjectIssueComment
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.ProjectIssueComment
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.ProjectIssueComment
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.ProjectIssueComment
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.ProjectIssueComment
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.ProjectIssueComment
UserIDNotIn applies the NotIn predicate on the "user_id" 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 ProjectIssueComment queries.
func ByComment ¶
func ByComment(opts ...sql.OrderTermOption) OrderOption
ByComment orders the results by the comment field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIssueField ¶
func ByIssueField(field string, opts ...sql.OrderTermOption) OrderOption
ByIssueField orders the results by issue field.
func ByIssueID ¶
func ByIssueID(opts ...sql.OrderTermOption) OrderOption
ByIssueID orders the results by the issue_id field.
func ByParentField ¶
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByReplies ¶
func ByReplies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByReplies orders the results by replies terms.
func ByRepliesCount ¶
func ByRepliesCount(opts ...sql.OrderTermOption) OrderOption
ByRepliesCount orders the results by replies count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.