Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LocationComment) predicate.LocationComment
- func BusinessUnitID(v uuid.UUID) predicate.LocationComment
- func BusinessUnitIDEQ(v uuid.UUID) predicate.LocationComment
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.LocationComment
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.LocationComment
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.LocationComment
- func Comment(v string) predicate.LocationComment
- func CommentContains(v string) predicate.LocationComment
- func CommentContainsFold(v string) predicate.LocationComment
- func CommentEQ(v string) predicate.LocationComment
- func CommentEqualFold(v string) predicate.LocationComment
- func CommentGT(v string) predicate.LocationComment
- func CommentGTE(v string) predicate.LocationComment
- func CommentHasPrefix(v string) predicate.LocationComment
- func CommentHasSuffix(v string) predicate.LocationComment
- func CommentIn(vs ...string) predicate.LocationComment
- func CommentLT(v string) predicate.LocationComment
- func CommentLTE(v string) predicate.LocationComment
- func CommentNEQ(v string) predicate.LocationComment
- func CommentNotIn(vs ...string) predicate.LocationComment
- func CommentTypeID(v uuid.UUID) predicate.LocationComment
- func CommentTypeIDEQ(v uuid.UUID) predicate.LocationComment
- func CommentTypeIDIn(vs ...uuid.UUID) predicate.LocationComment
- func CommentTypeIDNEQ(v uuid.UUID) predicate.LocationComment
- func CommentTypeIDNotIn(vs ...uuid.UUID) predicate.LocationComment
- func CreatedAt(v time.Time) predicate.LocationComment
- func CreatedAtEQ(v time.Time) predicate.LocationComment
- func CreatedAtGT(v time.Time) predicate.LocationComment
- func CreatedAtGTE(v time.Time) predicate.LocationComment
- func CreatedAtIn(vs ...time.Time) predicate.LocationComment
- func CreatedAtLT(v time.Time) predicate.LocationComment
- func CreatedAtLTE(v time.Time) predicate.LocationComment
- func CreatedAtNEQ(v time.Time) predicate.LocationComment
- func CreatedAtNotIn(vs ...time.Time) predicate.LocationComment
- func HasBusinessUnit() predicate.LocationComment
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.LocationComment
- func HasCommentType() predicate.LocationComment
- func HasCommentTypeWith(preds ...predicate.CommentType) predicate.LocationComment
- func HasLocation() predicate.LocationComment
- func HasLocationWith(preds ...predicate.Location) predicate.LocationComment
- func HasOrganization() predicate.LocationComment
- func HasOrganizationWith(preds ...predicate.Organization) predicate.LocationComment
- func HasUser() predicate.LocationComment
- func HasUserWith(preds ...predicate.User) predicate.LocationComment
- func ID(id uuid.UUID) predicate.LocationComment
- func IDEQ(id uuid.UUID) predicate.LocationComment
- func IDGT(id uuid.UUID) predicate.LocationComment
- func IDGTE(id uuid.UUID) predicate.LocationComment
- func IDIn(ids ...uuid.UUID) predicate.LocationComment
- func IDLT(id uuid.UUID) predicate.LocationComment
- func IDLTE(id uuid.UUID) predicate.LocationComment
- func IDNEQ(id uuid.UUID) predicate.LocationComment
- func IDNotIn(ids ...uuid.UUID) predicate.LocationComment
- func LocationID(v uuid.UUID) predicate.LocationComment
- func LocationIDEQ(v uuid.UUID) predicate.LocationComment
- func LocationIDIn(vs ...uuid.UUID) predicate.LocationComment
- func LocationIDNEQ(v uuid.UUID) predicate.LocationComment
- func LocationIDNotIn(vs ...uuid.UUID) predicate.LocationComment
- func Not(p predicate.LocationComment) predicate.LocationComment
- func Or(predicates ...predicate.LocationComment) predicate.LocationComment
- func OrganizationID(v uuid.UUID) predicate.LocationComment
- func OrganizationIDEQ(v uuid.UUID) predicate.LocationComment
- func OrganizationIDIn(vs ...uuid.UUID) predicate.LocationComment
- func OrganizationIDNEQ(v uuid.UUID) predicate.LocationComment
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.LocationComment
- func UpdatedAt(v time.Time) predicate.LocationComment
- func UpdatedAtEQ(v time.Time) predicate.LocationComment
- func UpdatedAtGT(v time.Time) predicate.LocationComment
- func UpdatedAtGTE(v time.Time) predicate.LocationComment
- func UpdatedAtIn(vs ...time.Time) predicate.LocationComment
- func UpdatedAtLT(v time.Time) predicate.LocationComment
- func UpdatedAtLTE(v time.Time) predicate.LocationComment
- func UpdatedAtNEQ(v time.Time) predicate.LocationComment
- func UpdatedAtNotIn(vs ...time.Time) predicate.LocationComment
- func UserID(v uuid.UUID) predicate.LocationComment
- func UserIDEQ(v uuid.UUID) predicate.LocationComment
- func UserIDIn(vs ...uuid.UUID) predicate.LocationComment
- func UserIDNEQ(v uuid.UUID) predicate.LocationComment
- func UserIDNotIn(vs ...uuid.UUID) predicate.LocationComment
- func ValidColumn(column string) bool
- func Version(v int) predicate.LocationComment
- func VersionEQ(v int) predicate.LocationComment
- func VersionGT(v int) predicate.LocationComment
- func VersionGTE(v int) predicate.LocationComment
- func VersionIn(vs ...int) predicate.LocationComment
- func VersionLT(v int) predicate.LocationComment
- func VersionLTE(v int) predicate.LocationComment
- func VersionNEQ(v int) predicate.LocationComment
- func VersionNotIn(vs ...int) predicate.LocationComment
- 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 ByLocationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLocationID(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
Constants ¶
const ( // Label holds the string label denoting the locationcomment type in the database. Label = "location_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" // FieldLocationID holds the string denoting the location_id field in the database. FieldLocationID = "location_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldCommentTypeID holds the string denoting the comment_type_id field in the database. FieldCommentTypeID = "comment_type_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" // EdgeLocation holds the string denoting the location edge name in mutations. EdgeLocation = "location" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeCommentType holds the string denoting the comment_type edge name in mutations. EdgeCommentType = "comment_type" // Table holds the table name of the locationcomment in the database. Table = "location_comments" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "location_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 = "location_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" // LocationTable is the table that holds the location relation/edge. LocationTable = "location_comments" // LocationInverseTable is the table name for the Location entity. // It exists in this package in order to avoid circular dependency with the "location" package. LocationInverseTable = "locations" // LocationColumn is the table column denoting the location relation/edge. LocationColumn = "location_id" // UserTable is the table that holds the user relation/edge. UserTable = "location_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" // CommentTypeTable is the table that holds the comment_type relation/edge. CommentTypeTable = "location_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" )
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, FieldLocationID, FieldUserID, FieldCommentTypeID, FieldComment, }
Columns holds all SQL columns for locationcomment fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LocationComment) predicate.LocationComment
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.LocationComment
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.LocationComment
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.LocationComment
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.LocationComment
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.LocationComment
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func Comment ¶
func Comment(v string) predicate.LocationComment
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
func CommentContains(v string) predicate.LocationComment
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
func CommentContainsFold(v string) predicate.LocationComment
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEQ ¶
func CommentEQ(v string) predicate.LocationComment
CommentEQ applies the EQ predicate on the "comment" field.
func CommentEqualFold ¶
func CommentEqualFold(v string) predicate.LocationComment
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGT ¶
func CommentGT(v string) predicate.LocationComment
CommentGT applies the GT predicate on the "comment" field.
func CommentGTE ¶
func CommentGTE(v string) predicate.LocationComment
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
func CommentHasPrefix(v string) predicate.LocationComment
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
func CommentHasSuffix(v string) predicate.LocationComment
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentIn ¶
func CommentIn(vs ...string) predicate.LocationComment
CommentIn applies the In predicate on the "comment" field.
func CommentLT ¶
func CommentLT(v string) predicate.LocationComment
CommentLT applies the LT predicate on the "comment" field.
func CommentLTE ¶
func CommentLTE(v string) predicate.LocationComment
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
func CommentNEQ(v string) predicate.LocationComment
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
func CommentNotIn(vs ...string) predicate.LocationComment
CommentNotIn applies the NotIn predicate on the "comment" field.
func CommentTypeID ¶
func CommentTypeID(v uuid.UUID) predicate.LocationComment
CommentTypeID applies equality check predicate on the "comment_type_id" field. It's identical to CommentTypeIDEQ.
func CommentTypeIDEQ ¶
func CommentTypeIDEQ(v uuid.UUID) predicate.LocationComment
CommentTypeIDEQ applies the EQ predicate on the "comment_type_id" field.
func CommentTypeIDIn ¶
func CommentTypeIDIn(vs ...uuid.UUID) predicate.LocationComment
CommentTypeIDIn applies the In predicate on the "comment_type_id" field.
func CommentTypeIDNEQ ¶
func CommentTypeIDNEQ(v uuid.UUID) predicate.LocationComment
CommentTypeIDNEQ applies the NEQ predicate on the "comment_type_id" field.
func CommentTypeIDNotIn ¶
func CommentTypeIDNotIn(vs ...uuid.UUID) predicate.LocationComment
CommentTypeIDNotIn applies the NotIn predicate on the "comment_type_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.LocationComment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.LocationComment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.LocationComment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.LocationComment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.LocationComment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.LocationComment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.LocationComment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.LocationComment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.LocationComment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.LocationComment
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.LocationComment
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasCommentType ¶
func HasCommentType() predicate.LocationComment
HasCommentType applies the HasEdge predicate on the "comment_type" edge.
func HasCommentTypeWith ¶
func HasCommentTypeWith(preds ...predicate.CommentType) predicate.LocationComment
HasCommentTypeWith applies the HasEdge predicate on the "comment_type" edge with a given conditions (other predicates).
func HasLocation ¶
func HasLocation() predicate.LocationComment
HasLocation applies the HasEdge predicate on the "location" edge.
func HasLocationWith ¶
func HasLocationWith(preds ...predicate.Location) predicate.LocationComment
HasLocationWith applies the HasEdge predicate on the "location" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.LocationComment
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.LocationComment
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.LocationComment
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.LocationComment
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.LocationComment
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.LocationComment
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.LocationComment
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.LocationComment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.LocationComment
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.LocationComment
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.LocationComment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.LocationComment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.LocationComment
IDNotIn applies the NotIn predicate on the ID field.
func LocationID ¶
func LocationID(v uuid.UUID) predicate.LocationComment
LocationID applies equality check predicate on the "location_id" field. It's identical to LocationIDEQ.
func LocationIDEQ ¶
func LocationIDEQ(v uuid.UUID) predicate.LocationComment
LocationIDEQ applies the EQ predicate on the "location_id" field.
func LocationIDIn ¶
func LocationIDIn(vs ...uuid.UUID) predicate.LocationComment
LocationIDIn applies the In predicate on the "location_id" field.
func LocationIDNEQ ¶
func LocationIDNEQ(v uuid.UUID) predicate.LocationComment
LocationIDNEQ applies the NEQ predicate on the "location_id" field.
func LocationIDNotIn ¶
func LocationIDNotIn(vs ...uuid.UUID) predicate.LocationComment
LocationIDNotIn applies the NotIn predicate on the "location_id" field.
func Not ¶
func Not(p predicate.LocationComment) predicate.LocationComment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LocationComment) predicate.LocationComment
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.LocationComment
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.LocationComment
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.LocationComment
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.LocationComment
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.LocationComment
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.LocationComment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.LocationComment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.LocationComment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.LocationComment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.LocationComment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.LocationComment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.LocationComment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.LocationComment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.LocationComment
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.LocationComment
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.LocationComment
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.LocationComment
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.LocationComment
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.LocationComment
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.LocationComment
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.LocationComment
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.LocationComment
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.LocationComment
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.LocationComment
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.LocationComment
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.LocationComment
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.LocationComment
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.LocationComment
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the LocationComment 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 ByLocationField ¶
func ByLocationField(field string, opts ...sql.OrderTermOption) OrderOption
ByLocationField orders the results by location field.
func ByLocationID ¶
func ByLocationID(opts ...sql.OrderTermOption) OrderOption
ByLocationID orders the results by the location_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.