Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkerComment) predicate.WorkerComment
- func BusinessUnitID(v uuid.UUID) predicate.WorkerComment
- func BusinessUnitIDEQ(v uuid.UUID) predicate.WorkerComment
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.WorkerComment
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.WorkerComment
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
- func Comment(v string) predicate.WorkerComment
- func CommentContains(v string) predicate.WorkerComment
- func CommentContainsFold(v string) predicate.WorkerComment
- func CommentEQ(v string) predicate.WorkerComment
- func CommentEqualFold(v string) predicate.WorkerComment
- func CommentGT(v string) predicate.WorkerComment
- func CommentGTE(v string) predicate.WorkerComment
- func CommentHasPrefix(v string) predicate.WorkerComment
- func CommentHasSuffix(v string) predicate.WorkerComment
- func CommentIn(vs ...string) predicate.WorkerComment
- func CommentLT(v string) predicate.WorkerComment
- func CommentLTE(v string) predicate.WorkerComment
- func CommentNEQ(v string) predicate.WorkerComment
- func CommentNotIn(vs ...string) predicate.WorkerComment
- func CommentTypeID(v uuid.UUID) predicate.WorkerComment
- func CommentTypeIDEQ(v uuid.UUID) predicate.WorkerComment
- func CommentTypeIDIn(vs ...uuid.UUID) predicate.WorkerComment
- func CommentTypeIDNEQ(v uuid.UUID) predicate.WorkerComment
- func CommentTypeIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
- func CreatedAt(v time.Time) predicate.WorkerComment
- func CreatedAtEQ(v time.Time) predicate.WorkerComment
- func CreatedAtGT(v time.Time) predicate.WorkerComment
- func CreatedAtGTE(v time.Time) predicate.WorkerComment
- func CreatedAtIn(vs ...time.Time) predicate.WorkerComment
- func CreatedAtLT(v time.Time) predicate.WorkerComment
- func CreatedAtLTE(v time.Time) predicate.WorkerComment
- func CreatedAtNEQ(v time.Time) predicate.WorkerComment
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkerComment
- func HasBusinessUnit() predicate.WorkerComment
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.WorkerComment
- func HasCommentType() predicate.WorkerComment
- func HasCommentTypeWith(preds ...predicate.CommentType) predicate.WorkerComment
- func HasOrganization() predicate.WorkerComment
- func HasOrganizationWith(preds ...predicate.Organization) predicate.WorkerComment
- func HasUser() predicate.WorkerComment
- func HasUserWith(preds ...predicate.User) predicate.WorkerComment
- func HasWorker() predicate.WorkerComment
- func HasWorkerWith(preds ...predicate.Worker) predicate.WorkerComment
- func ID(id uuid.UUID) predicate.WorkerComment
- func IDEQ(id uuid.UUID) predicate.WorkerComment
- func IDGT(id uuid.UUID) predicate.WorkerComment
- func IDGTE(id uuid.UUID) predicate.WorkerComment
- func IDIn(ids ...uuid.UUID) predicate.WorkerComment
- func IDLT(id uuid.UUID) predicate.WorkerComment
- func IDLTE(id uuid.UUID) predicate.WorkerComment
- func IDNEQ(id uuid.UUID) predicate.WorkerComment
- func IDNotIn(ids ...uuid.UUID) predicate.WorkerComment
- func Not(p predicate.WorkerComment) predicate.WorkerComment
- func Or(predicates ...predicate.WorkerComment) predicate.WorkerComment
- func OrganizationID(v uuid.UUID) predicate.WorkerComment
- func OrganizationIDEQ(v uuid.UUID) predicate.WorkerComment
- func OrganizationIDIn(vs ...uuid.UUID) predicate.WorkerComment
- func OrganizationIDNEQ(v uuid.UUID) predicate.WorkerComment
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
- func UpdatedAt(v time.Time) predicate.WorkerComment
- func UpdatedAtEQ(v time.Time) predicate.WorkerComment
- func UpdatedAtGT(v time.Time) predicate.WorkerComment
- func UpdatedAtGTE(v time.Time) predicate.WorkerComment
- func UpdatedAtIn(vs ...time.Time) predicate.WorkerComment
- func UpdatedAtLT(v time.Time) predicate.WorkerComment
- func UpdatedAtLTE(v time.Time) predicate.WorkerComment
- func UpdatedAtNEQ(v time.Time) predicate.WorkerComment
- func UpdatedAtNotIn(vs ...time.Time) predicate.WorkerComment
- func UserID(v uuid.UUID) predicate.WorkerComment
- func UserIDEQ(v uuid.UUID) predicate.WorkerComment
- func UserIDIn(vs ...uuid.UUID) predicate.WorkerComment
- func UserIDNEQ(v uuid.UUID) predicate.WorkerComment
- func UserIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
- func ValidColumn(column string) bool
- func Version(v int) predicate.WorkerComment
- func VersionEQ(v int) predicate.WorkerComment
- func VersionGT(v int) predicate.WorkerComment
- func VersionGTE(v int) predicate.WorkerComment
- func VersionIn(vs ...int) predicate.WorkerComment
- func VersionLT(v int) predicate.WorkerComment
- func VersionLTE(v int) predicate.WorkerComment
- func VersionNEQ(v int) predicate.WorkerComment
- func VersionNotIn(vs ...int) predicate.WorkerComment
- func WorkerID(v uuid.UUID) predicate.WorkerComment
- func WorkerIDEQ(v uuid.UUID) predicate.WorkerComment
- func WorkerIDIn(vs ...uuid.UUID) predicate.WorkerComment
- func WorkerIDNEQ(v uuid.UUID) predicate.WorkerComment
- func WorkerIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
- type OrderOption
- func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCommentTypeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCommentTypeID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByWorkerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkerID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workercomment type in the database. Label = "worker_comment" // 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" // FieldWorkerID holds the string denoting the worker_id field in the database. FieldWorkerID = "worker_id" // FieldCommentTypeID holds the string denoting the comment_type_id field in the database. FieldCommentTypeID = "comment_type_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // 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" // EdgeWorker holds the string denoting the worker edge name in mutations. EdgeWorker = "worker" // EdgeCommentType holds the string denoting the comment_type edge name in mutations. EdgeCommentType = "comment_type" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the workercomment in the database. Table = "worker_comments" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "worker_comments" // 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 = "worker_comments" // 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" // WorkerTable is the table that holds the worker relation/edge. WorkerTable = "worker_comments" // WorkerInverseTable is the table name for the Worker entity. // It exists in this package in order to avoid circular dependency with the "worker" package. WorkerInverseTable = "workers" // WorkerColumn is the table column denoting the worker relation/edge. WorkerColumn = "worker_id" // CommentTypeTable is the table that holds the comment_type relation/edge. CommentTypeTable = "worker_comments" // CommentTypeInverseTable is the table name for the CommentType entity. // It exists in this package in order to avoid circular dependency with the "commenttype" package. CommentTypeInverseTable = "comment_types" // CommentTypeColumn is the table column denoting the comment_type relation/edge. CommentTypeColumn = "comment_type_id" // UserTable is the table that holds the user relation/edge. UserTable = "worker_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" )
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 // CommentValidator is a validator for the "comment" field. It is called by the builders before save. CommentValidator 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, FieldWorkerID, FieldCommentTypeID, FieldUserID, FieldComment, }
Columns holds all SQL columns for workercomment fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkerComment) predicate.WorkerComment
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.WorkerComment
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.WorkerComment
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.WorkerComment
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.WorkerComment
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func Comment ¶
func Comment(v string) predicate.WorkerComment
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
func CommentContains(v string) predicate.WorkerComment
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
func CommentContainsFold(v string) predicate.WorkerComment
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEQ ¶
func CommentEQ(v string) predicate.WorkerComment
CommentEQ applies the EQ predicate on the "comment" field.
func CommentEqualFold ¶
func CommentEqualFold(v string) predicate.WorkerComment
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGT ¶
func CommentGT(v string) predicate.WorkerComment
CommentGT applies the GT predicate on the "comment" field.
func CommentGTE ¶
func CommentGTE(v string) predicate.WorkerComment
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
func CommentHasPrefix(v string) predicate.WorkerComment
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
func CommentHasSuffix(v string) predicate.WorkerComment
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentIn ¶
func CommentIn(vs ...string) predicate.WorkerComment
CommentIn applies the In predicate on the "comment" field.
func CommentLT ¶
func CommentLT(v string) predicate.WorkerComment
CommentLT applies the LT predicate on the "comment" field.
func CommentLTE ¶
func CommentLTE(v string) predicate.WorkerComment
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
func CommentNEQ(v string) predicate.WorkerComment
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
func CommentNotIn(vs ...string) predicate.WorkerComment
CommentNotIn applies the NotIn predicate on the "comment" field.
func CommentTypeID ¶
func CommentTypeID(v uuid.UUID) predicate.WorkerComment
CommentTypeID applies equality check predicate on the "comment_type_id" field. It's identical to CommentTypeIDEQ.
func CommentTypeIDEQ ¶
func CommentTypeIDEQ(v uuid.UUID) predicate.WorkerComment
CommentTypeIDEQ applies the EQ predicate on the "comment_type_id" field.
func CommentTypeIDIn ¶
func CommentTypeIDIn(vs ...uuid.UUID) predicate.WorkerComment
CommentTypeIDIn applies the In predicate on the "comment_type_id" field.
func CommentTypeIDNEQ ¶
func CommentTypeIDNEQ(v uuid.UUID) predicate.WorkerComment
CommentTypeIDNEQ applies the NEQ predicate on the "comment_type_id" field.
func CommentTypeIDNotIn ¶
func CommentTypeIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
CommentTypeIDNotIn applies the NotIn predicate on the "comment_type_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkerComment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkerComment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkerComment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkerComment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkerComment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkerComment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkerComment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkerComment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkerComment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.WorkerComment
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.WorkerComment
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasCommentType ¶
func HasCommentType() predicate.WorkerComment
HasCommentType applies the HasEdge predicate on the "comment_type" edge.
func HasCommentTypeWith ¶
func HasCommentTypeWith(preds ...predicate.CommentType) predicate.WorkerComment
HasCommentTypeWith applies the HasEdge predicate on the "comment_type" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.WorkerComment
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.WorkerComment
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.WorkerComment
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.WorkerComment
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasWorker ¶
func HasWorker() predicate.WorkerComment
HasWorker applies the HasEdge predicate on the "worker" edge.
func HasWorkerWith ¶
func HasWorkerWith(preds ...predicate.Worker) predicate.WorkerComment
HasWorkerWith applies the HasEdge predicate on the "worker" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.WorkerComment
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkerComment
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkerComment
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkerComment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkerComment
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkerComment
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkerComment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkerComment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkerComment
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WorkerComment) predicate.WorkerComment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkerComment) predicate.WorkerComment
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.WorkerComment
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.WorkerComment
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.WorkerComment
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.WorkerComment
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.WorkerComment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.WorkerComment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.WorkerComment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.WorkerComment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.WorkerComment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.WorkerComment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.WorkerComment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.WorkerComment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.WorkerComment
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.WorkerComment
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.WorkerComment
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.WorkerComment
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.WorkerComment
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
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).
func Version ¶
func Version(v int) predicate.WorkerComment
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.WorkerComment
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.WorkerComment
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.WorkerComment
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.WorkerComment
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.WorkerComment
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.WorkerComment
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.WorkerComment
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.WorkerComment
VersionNotIn applies the NotIn predicate on the "version" field.
func WorkerID ¶
func WorkerID(v uuid.UUID) predicate.WorkerComment
WorkerID applies equality check predicate on the "worker_id" field. It's identical to WorkerIDEQ.
func WorkerIDEQ ¶
func WorkerIDEQ(v uuid.UUID) predicate.WorkerComment
WorkerIDEQ applies the EQ predicate on the "worker_id" field.
func WorkerIDIn ¶
func WorkerIDIn(vs ...uuid.UUID) predicate.WorkerComment
WorkerIDIn applies the In predicate on the "worker_id" field.
func WorkerIDNEQ ¶
func WorkerIDNEQ(v uuid.UUID) predicate.WorkerComment
WorkerIDNEQ applies the NEQ predicate on the "worker_id" field.
func WorkerIDNotIn ¶
func WorkerIDNotIn(vs ...uuid.UUID) predicate.WorkerComment
WorkerIDNotIn applies the NotIn predicate on the "worker_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkerComment 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 ByComment ¶
func ByComment(opts ...sql.OrderTermOption) OrderOption
ByComment orders the results by the comment field.
func ByCommentTypeField ¶
func ByCommentTypeField(field string, opts ...sql.OrderTermOption) OrderOption
ByCommentTypeField orders the results by comment_type field.
func ByCommentTypeID ¶
func ByCommentTypeID(opts ...sql.OrderTermOption) OrderOption
ByCommentTypeID orders the results by the comment_type_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id 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 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.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
func ByWorkerField ¶
func ByWorkerField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkerField orders the results by worker field.
func ByWorkerID ¶
func ByWorkerID(opts ...sql.OrderTermOption) OrderOption
ByWorkerID orders the results by the worker_id field.