package
0.0.0-20231222022803-663e6fc3512b
Repository: https://github.com/kubetasker/kubetaskerserver.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCode orders the results by the code field.
ByCreatedAt orders the results by the created_at field.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByRemark orders the results by the remark field.
BySort orders the results by the sort field.
ByStatus orders the results by the status field.
ByUpdatedAt orders the results by the updated_at field.
ByUsers orders the results by users terms.
ByUsersCount orders the results by users count.
Code applies equality check predicate on the "code" field.
CodeContains applies the Contains predicate on the "code" field.
CodeContainsFold applies the ContainsFold predicate on the "code" field.
CodeEQ applies the EQ predicate on the "code" field.
CodeEqualFold applies the EqualFold predicate on the "code" field.
CodeGT applies the GT predicate on the "code" field.
CodeGTE applies the GTE predicate on the "code" field.
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
CodeIn applies the In predicate on the "code" field.
CodeLT applies the LT predicate on the "code" field.
CodeLTE applies the LTE predicate on the "code" field.
CodeNEQ applies the NEQ predicate on the "code" field.
CodeNotIn applies the NotIn predicate on the "code" field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
HasUsers applies the HasEdge predicate on the "users" edge.
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Remark applies equality check predicate on the "remark" field.
RemarkContains applies the Contains predicate on the "remark" field.
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
RemarkEQ applies the EQ predicate on the "remark" field.
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
RemarkGT applies the GT predicate on the "remark" field.
RemarkGTE applies the GTE predicate on the "remark" field.
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
RemarkIn applies the In predicate on the "remark" field.
RemarkIsNil applies the IsNil predicate on the "remark" field.
RemarkLT applies the LT predicate on the "remark" field.
RemarkLTE applies the LTE predicate on the "remark" field.
RemarkNEQ applies the NEQ predicate on the "remark" field.
RemarkNotIn applies the NotIn predicate on the "remark" field.
RemarkNotNil applies the NotNil predicate on the "remark" field.
Sort applies equality check predicate on the "sort" field.
SortEQ applies the EQ predicate on the "sort" field.
SortGT applies the GT predicate on the "sort" field.
SortGTE applies the GTE predicate on the "sort" field.
SortIn applies the In predicate on the "sort" field.
SortLT applies the LT predicate on the "sort" field.
SortLTE applies the LTE predicate on the "sort" field.
SortNEQ applies the NEQ predicate on the "sort" field.
SortNotIn applies the NotIn predicate on the "sort" field.
Status applies equality check predicate on the "status" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusGT applies the GT predicate on the "status" field.
StatusGTE applies the GTE predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusIsNil applies the IsNil predicate on the "status" field.
StatusLT applies the LT predicate on the "status" field.
StatusLTE applies the LTE predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusNotNil applies the NotNil predicate on the "status" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeUsers holds the string denoting the users edge name in mutations.
FieldCode holds the string denoting the code field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldRemark holds the string denoting the remark field in the database.
FieldSort holds the string denoting the sort field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
Label holds the string label denoting the position type in the database.
Table holds the table name of the position in the database.
UsersInverseTable is the table name for the User entity.
UsersTable is the table that holds the users relation/edge.

# Variables

Columns holds all SQL columns for position fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultSort holds the default value on creation for the "sort" field.
DefaultStatus holds the default value on creation for the "status" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
UsersPrimaryKey and UsersColumn2 are the table columns denoting the primary key for the users relation (M2M).

# Type aliases

OrderOption defines the ordering options for the Position queries.