Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EmailTemplate) predicate.EmailTemplate
- func Body(v string) predicate.EmailTemplate
- func BodyContains(v string) predicate.EmailTemplate
- func BodyContainsFold(v string) predicate.EmailTemplate
- func BodyEQ(v string) predicate.EmailTemplate
- func BodyEqualFold(v string) predicate.EmailTemplate
- func BodyGT(v string) predicate.EmailTemplate
- func BodyGTE(v string) predicate.EmailTemplate
- func BodyHasPrefix(v string) predicate.EmailTemplate
- func BodyHasSuffix(v string) predicate.EmailTemplate
- func BodyIn(vs ...string) predicate.EmailTemplate
- func BodyLT(v string) predicate.EmailTemplate
- func BodyLTE(v string) predicate.EmailTemplate
- func BodyNEQ(v string) predicate.EmailTemplate
- func BodyNotIn(vs ...string) predicate.EmailTemplate
- func CreatedAt(v time.Time) predicate.EmailTemplate
- func CreatedAtEQ(v time.Time) predicate.EmailTemplate
- func CreatedAtGT(v time.Time) predicate.EmailTemplate
- func CreatedAtGTE(v time.Time) predicate.EmailTemplate
- func CreatedAtIn(vs ...time.Time) predicate.EmailTemplate
- func CreatedAtLT(v time.Time) predicate.EmailTemplate
- func CreatedAtLTE(v time.Time) predicate.EmailTemplate
- func CreatedAtNEQ(v time.Time) predicate.EmailTemplate
- func CreatedAtNotIn(vs ...time.Time) predicate.EmailTemplate
- func DocIsNil() predicate.EmailTemplate
- func DocNotNil() predicate.EmailTemplate
- func EditorVersion(v string) predicate.EmailTemplate
- func EditorVersionContains(v string) predicate.EmailTemplate
- func EditorVersionContainsFold(v string) predicate.EmailTemplate
- func EditorVersionEQ(v string) predicate.EmailTemplate
- func EditorVersionEqualFold(v string) predicate.EmailTemplate
- func EditorVersionGT(v string) predicate.EmailTemplate
- func EditorVersionGTE(v string) predicate.EmailTemplate
- func EditorVersionHasPrefix(v string) predicate.EmailTemplate
- func EditorVersionHasSuffix(v string) predicate.EmailTemplate
- func EditorVersionIn(vs ...string) predicate.EmailTemplate
- func EditorVersionIsNil() predicate.EmailTemplate
- func EditorVersionLT(v string) predicate.EmailTemplate
- func EditorVersionLTE(v string) predicate.EmailTemplate
- func EditorVersionNEQ(v string) predicate.EmailTemplate
- func EditorVersionNotIn(vs ...string) predicate.EmailTemplate
- func EditorVersionNotNil() predicate.EmailTemplate
- func HasWorkspace() predicate.EmailTemplate
- func HasWorkspaceWith(preds ...predicate.Workspace) predicate.EmailTemplate
- func ID(id int64) predicate.EmailTemplate
- func IDEQ(id int64) predicate.EmailTemplate
- func IDGT(id int64) predicate.EmailTemplate
- func IDGTE(id int64) predicate.EmailTemplate
- func IDIn(ids ...int64) predicate.EmailTemplate
- func IDLT(id int64) predicate.EmailTemplate
- func IDLTE(id int64) predicate.EmailTemplate
- func IDNEQ(id int64) predicate.EmailTemplate
- func IDNotIn(ids ...int64) predicate.EmailTemplate
- func Name(v string) predicate.EmailTemplate
- func NameContains(v string) predicate.EmailTemplate
- func NameContainsFold(v string) predicate.EmailTemplate
- func NameEQ(v string) predicate.EmailTemplate
- func NameEqualFold(v string) predicate.EmailTemplate
- func NameGT(v string) predicate.EmailTemplate
- func NameGTE(v string) predicate.EmailTemplate
- func NameHasPrefix(v string) predicate.EmailTemplate
- func NameHasSuffix(v string) predicate.EmailTemplate
- func NameIn(vs ...string) predicate.EmailTemplate
- func NameLT(v string) predicate.EmailTemplate
- func NameLTE(v string) predicate.EmailTemplate
- func NameNEQ(v string) predicate.EmailTemplate
- func NameNotIn(vs ...string) predicate.EmailTemplate
- func Not(p predicate.EmailTemplate) predicate.EmailTemplate
- func Or(predicates ...predicate.EmailTemplate) predicate.EmailTemplate
- func Subject(v string) predicate.EmailTemplate
- func SubjectContains(v string) predicate.EmailTemplate
- func SubjectContainsFold(v string) predicate.EmailTemplate
- func SubjectEQ(v string) predicate.EmailTemplate
- func SubjectEqualFold(v string) predicate.EmailTemplate
- func SubjectGT(v string) predicate.EmailTemplate
- func SubjectGTE(v string) predicate.EmailTemplate
- func SubjectHasPrefix(v string) predicate.EmailTemplate
- func SubjectHasSuffix(v string) predicate.EmailTemplate
- func SubjectIn(vs ...string) predicate.EmailTemplate
- func SubjectLT(v string) predicate.EmailTemplate
- func SubjectLTE(v string) predicate.EmailTemplate
- func SubjectNEQ(v string) predicate.EmailTemplate
- func SubjectNotIn(vs ...string) predicate.EmailTemplate
- func UpdatedAt(v time.Time) predicate.EmailTemplate
- func UpdatedAtEQ(v time.Time) predicate.EmailTemplate
- func UpdatedAtGT(v time.Time) predicate.EmailTemplate
- func UpdatedAtGTE(v time.Time) predicate.EmailTemplate
- func UpdatedAtIn(vs ...time.Time) predicate.EmailTemplate
- func UpdatedAtLT(v time.Time) predicate.EmailTemplate
- func UpdatedAtLTE(v time.Time) predicate.EmailTemplate
- func UpdatedAtNEQ(v time.Time) predicate.EmailTemplate
- func UpdatedAtNotIn(vs ...time.Time) predicate.EmailTemplate
- func ValidColumn(column string) bool
- func WorkspaceID(v int64) predicate.EmailTemplate
- func WorkspaceIDEQ(v int64) predicate.EmailTemplate
- func WorkspaceIDIn(vs ...int64) predicate.EmailTemplate
- func WorkspaceIDNEQ(v int64) predicate.EmailTemplate
- func WorkspaceIDNotIn(vs ...int64) predicate.EmailTemplate
- type OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEditorVersion(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func BySubject(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the emailtemplate type in the database. Label = "email_template" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldWorkspaceID holds the string denoting the workspace_id field in the database. FieldWorkspaceID = "workspace_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSubject holds the string denoting the subject field in the database. FieldSubject = "subject" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldDoc holds the string denoting the doc field in the database. FieldDoc = "doc" // FieldEditorVersion holds the string denoting the editor_version field in the database. FieldEditorVersion = "editor_version" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // Table holds the table name of the emailtemplate in the database. Table = "email_templates" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "email_templates" // WorkspaceInverseTable is the table name for the Workspace entity. // It exists in this package in order to avoid circular dependency with the "workspace" package. WorkspaceInverseTable = "workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "workspace_id" )
Variables ¶
var ( // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultSubject holds the default value on creation for the "subject" field. DefaultSubject string // DefaultBody holds the default value on creation for the "body" field. DefaultBody string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldWorkspaceID, FieldName, FieldSubject, FieldBody, FieldDoc, FieldEditorVersion, }
Columns holds all SQL columns for emailtemplate fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EmailTemplate) predicate.EmailTemplate
And groups predicates with the AND operator between them.
func Body ¶
func Body(v string) predicate.EmailTemplate
Body applies equality check predicate on the "body" field. It's identical to BodyEQ.
func BodyContains ¶
func BodyContains(v string) predicate.EmailTemplate
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
func BodyContainsFold(v string) predicate.EmailTemplate
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEQ ¶
func BodyEQ(v string) predicate.EmailTemplate
BodyEQ applies the EQ predicate on the "body" field.
func BodyEqualFold ¶
func BodyEqualFold(v string) predicate.EmailTemplate
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyGT ¶
func BodyGT(v string) predicate.EmailTemplate
BodyGT applies the GT predicate on the "body" field.
func BodyGTE ¶
func BodyGTE(v string) predicate.EmailTemplate
BodyGTE applies the GTE predicate on the "body" field.
func BodyHasPrefix ¶
func BodyHasPrefix(v string) predicate.EmailTemplate
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
func BodyHasSuffix(v string) predicate.EmailTemplate
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func BodyIn ¶
func BodyIn(vs ...string) predicate.EmailTemplate
BodyIn applies the In predicate on the "body" field.
func BodyLT ¶
func BodyLT(v string) predicate.EmailTemplate
BodyLT applies the LT predicate on the "body" field.
func BodyLTE ¶
func BodyLTE(v string) predicate.EmailTemplate
BodyLTE applies the LTE predicate on the "body" field.
func BodyNEQ ¶
func BodyNEQ(v string) predicate.EmailTemplate
BodyNEQ applies the NEQ predicate on the "body" field.
func BodyNotIn ¶
func BodyNotIn(vs ...string) predicate.EmailTemplate
BodyNotIn applies the NotIn predicate on the "body" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.EmailTemplate
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.EmailTemplate
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.EmailTemplate
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.EmailTemplate
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.EmailTemplate
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.EmailTemplate
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.EmailTemplate
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.EmailTemplate
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.EmailTemplate
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DocIsNil ¶
func DocIsNil() predicate.EmailTemplate
DocIsNil applies the IsNil predicate on the "doc" field.
func DocNotNil ¶
func DocNotNil() predicate.EmailTemplate
DocNotNil applies the NotNil predicate on the "doc" field.
func EditorVersion ¶
func EditorVersion(v string) predicate.EmailTemplate
EditorVersion applies equality check predicate on the "editor_version" field. It's identical to EditorVersionEQ.
func EditorVersionContains ¶
func EditorVersionContains(v string) predicate.EmailTemplate
EditorVersionContains applies the Contains predicate on the "editor_version" field.
func EditorVersionContainsFold ¶
func EditorVersionContainsFold(v string) predicate.EmailTemplate
EditorVersionContainsFold applies the ContainsFold predicate on the "editor_version" field.
func EditorVersionEQ ¶
func EditorVersionEQ(v string) predicate.EmailTemplate
EditorVersionEQ applies the EQ predicate on the "editor_version" field.
func EditorVersionEqualFold ¶
func EditorVersionEqualFold(v string) predicate.EmailTemplate
EditorVersionEqualFold applies the EqualFold predicate on the "editor_version" field.
func EditorVersionGT ¶
func EditorVersionGT(v string) predicate.EmailTemplate
EditorVersionGT applies the GT predicate on the "editor_version" field.
func EditorVersionGTE ¶
func EditorVersionGTE(v string) predicate.EmailTemplate
EditorVersionGTE applies the GTE predicate on the "editor_version" field.
func EditorVersionHasPrefix ¶
func EditorVersionHasPrefix(v string) predicate.EmailTemplate
EditorVersionHasPrefix applies the HasPrefix predicate on the "editor_version" field.
func EditorVersionHasSuffix ¶
func EditorVersionHasSuffix(v string) predicate.EmailTemplate
EditorVersionHasSuffix applies the HasSuffix predicate on the "editor_version" field.
func EditorVersionIn ¶
func EditorVersionIn(vs ...string) predicate.EmailTemplate
EditorVersionIn applies the In predicate on the "editor_version" field.
func EditorVersionIsNil ¶
func EditorVersionIsNil() predicate.EmailTemplate
EditorVersionIsNil applies the IsNil predicate on the "editor_version" field.
func EditorVersionLT ¶
func EditorVersionLT(v string) predicate.EmailTemplate
EditorVersionLT applies the LT predicate on the "editor_version" field.
func EditorVersionLTE ¶
func EditorVersionLTE(v string) predicate.EmailTemplate
EditorVersionLTE applies the LTE predicate on the "editor_version" field.
func EditorVersionNEQ ¶
func EditorVersionNEQ(v string) predicate.EmailTemplate
EditorVersionNEQ applies the NEQ predicate on the "editor_version" field.
func EditorVersionNotIn ¶
func EditorVersionNotIn(vs ...string) predicate.EmailTemplate
EditorVersionNotIn applies the NotIn predicate on the "editor_version" field.
func EditorVersionNotNil ¶
func EditorVersionNotNil() predicate.EmailTemplate
EditorVersionNotNil applies the NotNil predicate on the "editor_version" field.
func HasWorkspace ¶
func HasWorkspace() predicate.EmailTemplate
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
func HasWorkspaceWith(preds ...predicate.Workspace) predicate.EmailTemplate
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int64) predicate.EmailTemplate
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.EmailTemplate
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.EmailTemplate
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.EmailTemplate
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.EmailTemplate
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.EmailTemplate
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.EmailTemplate
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.EmailTemplate
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.EmailTemplate
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.EmailTemplate
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.EmailTemplate
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.EmailTemplate
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.EmailTemplate
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.EmailTemplate
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.EmailTemplate
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.EmailTemplate
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.EmailTemplate
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.EmailTemplate
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.EmailTemplate
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.EmailTemplate
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.EmailTemplate
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.EmailTemplate
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.EmailTemplate) predicate.EmailTemplate
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EmailTemplate) predicate.EmailTemplate
Or groups predicates with the OR operator between them.
func Subject ¶
func Subject(v string) predicate.EmailTemplate
Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.
func SubjectContains ¶
func SubjectContains(v string) predicate.EmailTemplate
SubjectContains applies the Contains predicate on the "subject" field.
func SubjectContainsFold ¶
func SubjectContainsFold(v string) predicate.EmailTemplate
SubjectContainsFold applies the ContainsFold predicate on the "subject" field.
func SubjectEQ ¶
func SubjectEQ(v string) predicate.EmailTemplate
SubjectEQ applies the EQ predicate on the "subject" field.
func SubjectEqualFold ¶
func SubjectEqualFold(v string) predicate.EmailTemplate
SubjectEqualFold applies the EqualFold predicate on the "subject" field.
func SubjectGT ¶
func SubjectGT(v string) predicate.EmailTemplate
SubjectGT applies the GT predicate on the "subject" field.
func SubjectGTE ¶
func SubjectGTE(v string) predicate.EmailTemplate
SubjectGTE applies the GTE predicate on the "subject" field.
func SubjectHasPrefix ¶
func SubjectHasPrefix(v string) predicate.EmailTemplate
SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.
func SubjectHasSuffix ¶
func SubjectHasSuffix(v string) predicate.EmailTemplate
SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.
func SubjectIn ¶
func SubjectIn(vs ...string) predicate.EmailTemplate
SubjectIn applies the In predicate on the "subject" field.
func SubjectLT ¶
func SubjectLT(v string) predicate.EmailTemplate
SubjectLT applies the LT predicate on the "subject" field.
func SubjectLTE ¶
func SubjectLTE(v string) predicate.EmailTemplate
SubjectLTE applies the LTE predicate on the "subject" field.
func SubjectNEQ ¶
func SubjectNEQ(v string) predicate.EmailTemplate
SubjectNEQ applies the NEQ predicate on the "subject" field.
func SubjectNotIn ¶
func SubjectNotIn(vs ...string) predicate.EmailTemplate
SubjectNotIn applies the NotIn predicate on the "subject" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.EmailTemplate
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.EmailTemplate
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.EmailTemplate
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.EmailTemplate
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.EmailTemplate
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.EmailTemplate
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.EmailTemplate
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.EmailTemplate
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.EmailTemplate
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkspaceID ¶
func WorkspaceID(v int64) predicate.EmailTemplate
WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.
func WorkspaceIDEQ ¶
func WorkspaceIDEQ(v int64) predicate.EmailTemplate
WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.
func WorkspaceIDIn ¶
func WorkspaceIDIn(vs ...int64) predicate.EmailTemplate
WorkspaceIDIn applies the In predicate on the "workspace_id" field.
func WorkspaceIDNEQ ¶
func WorkspaceIDNEQ(v int64) predicate.EmailTemplate
WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.
func WorkspaceIDNotIn ¶
func WorkspaceIDNotIn(vs ...int64) predicate.EmailTemplate
WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EmailTemplate 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 ByEditorVersion ¶
func ByEditorVersion(opts ...sql.OrderTermOption) OrderOption
ByEditorVersion orders the results by the editor_version field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func BySubject ¶
func BySubject(opts ...sql.OrderTermOption) OrderOption
BySubject orders the results by the subject field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.
func ByWorkspaceID ¶
func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceID orders the results by the workspace_id field.