Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CommentType) predicate.CommentType
- func BusinessUnitID(v uuid.UUID) predicate.CommentType
- func BusinessUnitIDEQ(v uuid.UUID) predicate.CommentType
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.CommentType
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.CommentType
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.CommentType
- func CreatedAt(v time.Time) predicate.CommentType
- func CreatedAtEQ(v time.Time) predicate.CommentType
- func CreatedAtGT(v time.Time) predicate.CommentType
- func CreatedAtGTE(v time.Time) predicate.CommentType
- func CreatedAtIn(vs ...time.Time) predicate.CommentType
- func CreatedAtLT(v time.Time) predicate.CommentType
- func CreatedAtLTE(v time.Time) predicate.CommentType
- func CreatedAtNEQ(v time.Time) predicate.CommentType
- func CreatedAtNotIn(vs ...time.Time) predicate.CommentType
- func Description(v string) predicate.CommentType
- func DescriptionContains(v string) predicate.CommentType
- func DescriptionContainsFold(v string) predicate.CommentType
- func DescriptionEQ(v string) predicate.CommentType
- func DescriptionEqualFold(v string) predicate.CommentType
- func DescriptionGT(v string) predicate.CommentType
- func DescriptionGTE(v string) predicate.CommentType
- func DescriptionHasPrefix(v string) predicate.CommentType
- func DescriptionHasSuffix(v string) predicate.CommentType
- func DescriptionIn(vs ...string) predicate.CommentType
- func DescriptionIsNil() predicate.CommentType
- func DescriptionLT(v string) predicate.CommentType
- func DescriptionLTE(v string) predicate.CommentType
- func DescriptionNEQ(v string) predicate.CommentType
- func DescriptionNotIn(vs ...string) predicate.CommentType
- func DescriptionNotNil() predicate.CommentType
- func HasBusinessUnit() predicate.CommentType
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.CommentType
- func HasOrganization() predicate.CommentType
- func HasOrganizationWith(preds ...predicate.Organization) predicate.CommentType
- func ID(id uuid.UUID) predicate.CommentType
- func IDEQ(id uuid.UUID) predicate.CommentType
- func IDGT(id uuid.UUID) predicate.CommentType
- func IDGTE(id uuid.UUID) predicate.CommentType
- func IDIn(ids ...uuid.UUID) predicate.CommentType
- func IDLT(id uuid.UUID) predicate.CommentType
- func IDLTE(id uuid.UUID) predicate.CommentType
- func IDNEQ(id uuid.UUID) predicate.CommentType
- func IDNotIn(ids ...uuid.UUID) predicate.CommentType
- func Name(v string) predicate.CommentType
- func NameContains(v string) predicate.CommentType
- func NameContainsFold(v string) predicate.CommentType
- func NameEQ(v string) predicate.CommentType
- func NameEqualFold(v string) predicate.CommentType
- func NameGT(v string) predicate.CommentType
- func NameGTE(v string) predicate.CommentType
- func NameHasPrefix(v string) predicate.CommentType
- func NameHasSuffix(v string) predicate.CommentType
- func NameIn(vs ...string) predicate.CommentType
- func NameLT(v string) predicate.CommentType
- func NameLTE(v string) predicate.CommentType
- func NameNEQ(v string) predicate.CommentType
- func NameNotIn(vs ...string) predicate.CommentType
- func Not(p predicate.CommentType) predicate.CommentType
- func Or(predicates ...predicate.CommentType) predicate.CommentType
- func OrganizationID(v uuid.UUID) predicate.CommentType
- func OrganizationIDEQ(v uuid.UUID) predicate.CommentType
- func OrganizationIDIn(vs ...uuid.UUID) predicate.CommentType
- func OrganizationIDNEQ(v uuid.UUID) predicate.CommentType
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.CommentType
- func SeverityEQ(v Severity) predicate.CommentType
- func SeverityIn(vs ...Severity) predicate.CommentType
- func SeverityNEQ(v Severity) predicate.CommentType
- func SeverityNotIn(vs ...Severity) predicate.CommentType
- func SeverityValidator(s Severity) error
- func StatusEQ(v Status) predicate.CommentType
- func StatusIn(vs ...Status) predicate.CommentType
- func StatusNEQ(v Status) predicate.CommentType
- func StatusNotIn(vs ...Status) predicate.CommentType
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.CommentType
- func UpdatedAtEQ(v time.Time) predicate.CommentType
- func UpdatedAtGT(v time.Time) predicate.CommentType
- func UpdatedAtGTE(v time.Time) predicate.CommentType
- func UpdatedAtIn(vs ...time.Time) predicate.CommentType
- func UpdatedAtLT(v time.Time) predicate.CommentType
- func UpdatedAtLTE(v time.Time) predicate.CommentType
- func UpdatedAtNEQ(v time.Time) predicate.CommentType
- func UpdatedAtNotIn(vs ...time.Time) predicate.CommentType
- func ValidColumn(column string) bool
- func Version(v int) predicate.CommentType
- func VersionEQ(v int) predicate.CommentType
- func VersionGT(v int) predicate.CommentType
- func VersionGTE(v int) predicate.CommentType
- func VersionIn(vs ...int) predicate.CommentType
- func VersionLT(v int) predicate.CommentType
- func VersionLTE(v int) predicate.CommentType
- func VersionNEQ(v int) predicate.CommentType
- func VersionNotIn(vs ...int) predicate.CommentType
- type OrderOption
- func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func BySeverity(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- type Severity
- type Status
Constants ¶
const ( // Label holds the string label denoting the commenttype type in the database. Label = "comment_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBusinessUnitID holds the string denoting the business_unit_id field in the database. FieldBusinessUnitID = "business_unit_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_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" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeBusinessUnit holds the string denoting the business_unit edge name in mutations. EdgeBusinessUnit = "business_unit" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // Table holds the table name of the commenttype in the database. Table = "comment_types" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "comment_types" // BusinessUnitInverseTable is the table name for the BusinessUnit entity. // It exists in this package in order to avoid circular dependency with the "businessunit" package. BusinessUnitInverseTable = "business_units" // BusinessUnitColumn is the table column denoting the business_unit relation/edge. BusinessUnitColumn = "business_unit_id" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "comment_types" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" )
const DefaultSeverity = SeverityLow
SeverityLow is the default value of the Severity enum.
const DefaultStatus = StatusA
StatusA is the default value of the Status enum.
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 // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion int // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldBusinessUnitID, FieldOrganizationID, FieldCreatedAt, FieldUpdatedAt, FieldVersion, FieldStatus, FieldName, FieldSeverity, FieldDescription, }
Columns holds all SQL columns for commenttype fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CommentType) predicate.CommentType
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.CommentType
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.CommentType
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.CommentType
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.CommentType
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.CommentType
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CommentType
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.CommentType
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.CommentType
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.CommentType
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.CommentType
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.CommentType
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.CommentType
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.CommentType
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.CommentType
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.CommentType
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.CommentType
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.CommentType
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.CommentType
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.CommentType
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.CommentType
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.CommentType
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.CommentType
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.CommentType
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.CommentType
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.CommentType
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.CommentType
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.CommentType
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.CommentType
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.CommentType
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.CommentType
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.CommentType
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.CommentType
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.CommentType
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.CommentType
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CommentType
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CommentType
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CommentType
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CommentType
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CommentType
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CommentType
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CommentType
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CommentType
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.CommentType
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.CommentType
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.CommentType
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.CommentType
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.CommentType
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.CommentType
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.CommentType
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.CommentType
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.CommentType
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.CommentType
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.CommentType
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.CommentType
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.CommentType
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.CommentType
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.CommentType) predicate.CommentType
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CommentType) predicate.CommentType
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.CommentType
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.CommentType
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.CommentType
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.CommentType
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.CommentType
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func SeverityEQ ¶
func SeverityEQ(v Severity) predicate.CommentType
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...Severity) predicate.CommentType
SeverityIn applies the In predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v Severity) predicate.CommentType
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...Severity) predicate.CommentType
SeverityNotIn applies the NotIn predicate on the "severity" field.
func SeverityValidator ¶
SeverityValidator is a validator for the "severity" field enum values. It is called by the builders before save.
func StatusEQ ¶
func StatusEQ(v Status) predicate.CommentType
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.CommentType
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.CommentType
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.CommentType
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.CommentType
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.CommentType
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.CommentType
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.CommentType
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.CommentType
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.CommentType
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.CommentType
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.CommentType
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.CommentType
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 Version ¶
func Version(v int) predicate.CommentType
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.CommentType
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.CommentType
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.CommentType
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.CommentType
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.CommentType
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.CommentType
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.CommentType
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.CommentType
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CommentType queries.
func ByBusinessUnitField ¶
func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitField orders the results by business_unit field.
func ByBusinessUnitID ¶
func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitID orders the results by the business_unit_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description 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 ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func BySeverity ¶
func BySeverity(opts ...sql.OrderTermOption) OrderOption
BySeverity orders the results by the severity field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.