Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Assignment) predicate.Assignment
- func CompletedAt(v time.Time) predicate.Assignment
- func CompletedAtEQ(v time.Time) predicate.Assignment
- func CompletedAtGT(v time.Time) predicate.Assignment
- func CompletedAtGTE(v time.Time) predicate.Assignment
- func CompletedAtIn(vs ...time.Time) predicate.Assignment
- func CompletedAtIsNil() predicate.Assignment
- func CompletedAtLT(v time.Time) predicate.Assignment
- func CompletedAtLTE(v time.Time) predicate.Assignment
- func CompletedAtNEQ(v time.Time) predicate.Assignment
- func CompletedAtNotIn(vs ...time.Time) predicate.Assignment
- func CompletedAtNotNil() predicate.Assignment
- func CreatedAt(v time.Time) predicate.Assignment
- func CreatedAtEQ(v time.Time) predicate.Assignment
- func CreatedAtGT(v time.Time) predicate.Assignment
- func CreatedAtGTE(v time.Time) predicate.Assignment
- func CreatedAtIn(vs ...time.Time) predicate.Assignment
- func CreatedAtLT(v time.Time) predicate.Assignment
- func CreatedAtLTE(v time.Time) predicate.Assignment
- func CreatedAtNEQ(v time.Time) predicate.Assignment
- func CreatedAtNotIn(vs ...time.Time) predicate.Assignment
- func HandoffIsNil() predicate.Assignment
- func HandoffNotNil() predicate.Assignment
- func HasRoadmapItem() predicate.Assignment
- func HasRoadmapItemWith(preds ...predicate.RoadmapItem) predicate.Assignment
- func ID(id string) predicate.Assignment
- func IDContainsFold(id string) predicate.Assignment
- func IDEQ(id string) predicate.Assignment
- func IDEqualFold(id string) predicate.Assignment
- func IDGT(id string) predicate.Assignment
- func IDGTE(id string) predicate.Assignment
- func IDIn(ids ...string) predicate.Assignment
- func IDLT(id string) predicate.Assignment
- func IDLTE(id string) predicate.Assignment
- func IDNEQ(id string) predicate.Assignment
- func IDNotIn(ids ...string) predicate.Assignment
- func LeaseExpiresAt(v time.Time) predicate.Assignment
- func LeaseExpiresAtEQ(v time.Time) predicate.Assignment
- func LeaseExpiresAtGT(v time.Time) predicate.Assignment
- func LeaseExpiresAtGTE(v time.Time) predicate.Assignment
- func LeaseExpiresAtIn(vs ...time.Time) predicate.Assignment
- func LeaseExpiresAtLT(v time.Time) predicate.Assignment
- func LeaseExpiresAtLTE(v time.Time) predicate.Assignment
- func LeaseExpiresAtNEQ(v time.Time) predicate.Assignment
- func LeaseExpiresAtNotIn(vs ...time.Time) predicate.Assignment
- func Not(p predicate.Assignment) predicate.Assignment
- func Or(predicates ...predicate.Assignment) predicate.Assignment
- func Status(v string) predicate.Assignment
- func StatusContains(v string) predicate.Assignment
- func StatusContainsFold(v string) predicate.Assignment
- func StatusEQ(v string) predicate.Assignment
- func StatusEqualFold(v string) predicate.Assignment
- func StatusGT(v string) predicate.Assignment
- func StatusGTE(v string) predicate.Assignment
- func StatusHasPrefix(v string) predicate.Assignment
- func StatusHasSuffix(v string) predicate.Assignment
- func StatusIn(vs ...string) predicate.Assignment
- func StatusLT(v string) predicate.Assignment
- func StatusLTE(v string) predicate.Assignment
- func StatusNEQ(v string) predicate.Assignment
- func StatusNotIn(vs ...string) predicate.Assignment
- func UpdatedAt(v time.Time) predicate.Assignment
- func UpdatedAtEQ(v time.Time) predicate.Assignment
- func UpdatedAtGT(v time.Time) predicate.Assignment
- func UpdatedAtGTE(v time.Time) predicate.Assignment
- func UpdatedAtIn(vs ...time.Time) predicate.Assignment
- func UpdatedAtLT(v time.Time) predicate.Assignment
- func UpdatedAtLTE(v time.Time) predicate.Assignment
- func UpdatedAtNEQ(v time.Time) predicate.Assignment
- func UpdatedAtNotIn(vs ...time.Time) predicate.Assignment
- func ValidColumn(column string) bool
- func Worker(v string) predicate.Assignment
- func WorkerContains(v string) predicate.Assignment
- func WorkerContainsFold(v string) predicate.Assignment
- func WorkerEQ(v string) predicate.Assignment
- func WorkerEqualFold(v string) predicate.Assignment
- func WorkerGT(v string) predicate.Assignment
- func WorkerGTE(v string) predicate.Assignment
- func WorkerHasPrefix(v string) predicate.Assignment
- func WorkerHasSuffix(v string) predicate.Assignment
- func WorkerIn(vs ...string) predicate.Assignment
- func WorkerLT(v string) predicate.Assignment
- func WorkerLTE(v string) predicate.Assignment
- func WorkerNEQ(v string) predicate.Assignment
- func WorkerNotIn(vs ...string) predicate.Assignment
- func Workspace(v string) predicate.Assignment
- func WorkspaceContains(v string) predicate.Assignment
- func WorkspaceContainsFold(v string) predicate.Assignment
- func WorkspaceEQ(v string) predicate.Assignment
- func WorkspaceEqualFold(v string) predicate.Assignment
- func WorkspaceGT(v string) predicate.Assignment
- func WorkspaceGTE(v string) predicate.Assignment
- func WorkspaceHasPrefix(v string) predicate.Assignment
- func WorkspaceHasSuffix(v string) predicate.Assignment
- func WorkspaceIn(vs ...string) predicate.Assignment
- func WorkspaceIsNil() predicate.Assignment
- func WorkspaceLT(v string) predicate.Assignment
- func WorkspaceLTE(v string) predicate.Assignment
- func WorkspaceNEQ(v string) predicate.Assignment
- func WorkspaceNotIn(vs ...string) predicate.Assignment
- func WorkspaceNotNil() predicate.Assignment
- type OrderOption
- func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLeaseExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByRoadmapItemField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorker(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspace(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the assignment type in the database. Label = "assignment" // FieldID holds the string denoting the id field in the database. FieldID = "assignment_id" // FieldWorker holds the string denoting the worker field in the database. FieldWorker = "worker" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldLeaseExpiresAt holds the string denoting the lease_expires_at field in the database. FieldLeaseExpiresAt = "lease_expires_at" // FieldWorkspace holds the string denoting the workspace field in the database. FieldWorkspace = "workspace" // FieldHandoff holds the string denoting the handoff field in the database. FieldHandoff = "handoff" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldCompletedAt holds the string denoting the completed_at field in the database. FieldCompletedAt = "completed_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeRoadmapItem holds the string denoting the roadmap_item edge name in mutations. EdgeRoadmapItem = "roadmap_item" // RoadmapItemFieldID holds the string denoting the ID field of the RoadmapItem. RoadmapItemFieldID = "rmi_id" // Table holds the table name of the assignment in the database. Table = "assignments" // RoadmapItemTable is the table that holds the roadmap_item relation/edge. RoadmapItemTable = "assignments" // RoadmapItemInverseTable is the table name for the RoadmapItem entity. // It exists in this package in order to avoid circular dependency with the "roadmapitem" package. RoadmapItemInverseTable = "roadmap_items" // RoadmapItemColumn is the table column denoting the roadmap_item relation/edge. RoadmapItemColumn = "roadmap_item_assignments" )
Variables ¶
var ( // WorkerValidator is a validator for the "worker" field. It is called by the builders before save. WorkerValidator func(string) error // StatusValidator is a validator for the "status" field. It is called by the builders before save. StatusValidator func(string) error // WorkspaceValidator is a validator for the "workspace" field. It is called by the builders before save. WorkspaceValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldWorker, FieldStatus, FieldLeaseExpiresAt, FieldWorkspace, FieldHandoff, FieldCreatedAt, FieldCompletedAt, FieldUpdatedAt, }
Columns holds all SQL columns for assignment fields.
var ForeignKeys = []string{
"roadmap_item_assignments",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "assignments" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Assignment) predicate.Assignment
And groups predicates with the AND operator between them.
func CompletedAt ¶
func CompletedAt(v time.Time) predicate.Assignment
CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.
func CompletedAtEQ ¶
func CompletedAtEQ(v time.Time) predicate.Assignment
CompletedAtEQ applies the EQ predicate on the "completed_at" field.
func CompletedAtGT ¶
func CompletedAtGT(v time.Time) predicate.Assignment
CompletedAtGT applies the GT predicate on the "completed_at" field.
func CompletedAtGTE ¶
func CompletedAtGTE(v time.Time) predicate.Assignment
CompletedAtGTE applies the GTE predicate on the "completed_at" field.
func CompletedAtIn ¶
func CompletedAtIn(vs ...time.Time) predicate.Assignment
CompletedAtIn applies the In predicate on the "completed_at" field.
func CompletedAtIsNil ¶
func CompletedAtIsNil() predicate.Assignment
CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.
func CompletedAtLT ¶
func CompletedAtLT(v time.Time) predicate.Assignment
CompletedAtLT applies the LT predicate on the "completed_at" field.
func CompletedAtLTE ¶
func CompletedAtLTE(v time.Time) predicate.Assignment
CompletedAtLTE applies the LTE predicate on the "completed_at" field.
func CompletedAtNEQ ¶
func CompletedAtNEQ(v time.Time) predicate.Assignment
CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.
func CompletedAtNotIn ¶
func CompletedAtNotIn(vs ...time.Time) predicate.Assignment
CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.
func CompletedAtNotNil ¶
func CompletedAtNotNil() predicate.Assignment
CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Assignment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Assignment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Assignment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Assignment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Assignment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Assignment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Assignment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Assignment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Assignment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HandoffIsNil ¶
func HandoffIsNil() predicate.Assignment
HandoffIsNil applies the IsNil predicate on the "handoff" field.
func HandoffNotNil ¶
func HandoffNotNil() predicate.Assignment
HandoffNotNil applies the NotNil predicate on the "handoff" field.
func HasRoadmapItem ¶
func HasRoadmapItem() predicate.Assignment
HasRoadmapItem applies the HasEdge predicate on the "roadmap_item" edge.
func HasRoadmapItemWith ¶
func HasRoadmapItemWith(preds ...predicate.RoadmapItem) predicate.Assignment
HasRoadmapItemWith applies the HasEdge predicate on the "roadmap_item" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Assignment
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Assignment
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Assignment
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Assignment
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Assignment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Assignment
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Assignment
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Assignment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Assignment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Assignment
IDNotIn applies the NotIn predicate on the ID field.
func LeaseExpiresAt ¶
func LeaseExpiresAt(v time.Time) predicate.Assignment
LeaseExpiresAt applies equality check predicate on the "lease_expires_at" field. It's identical to LeaseExpiresAtEQ.
func LeaseExpiresAtEQ ¶
func LeaseExpiresAtEQ(v time.Time) predicate.Assignment
LeaseExpiresAtEQ applies the EQ predicate on the "lease_expires_at" field.
func LeaseExpiresAtGT ¶
func LeaseExpiresAtGT(v time.Time) predicate.Assignment
LeaseExpiresAtGT applies the GT predicate on the "lease_expires_at" field.
func LeaseExpiresAtGTE ¶
func LeaseExpiresAtGTE(v time.Time) predicate.Assignment
LeaseExpiresAtGTE applies the GTE predicate on the "lease_expires_at" field.
func LeaseExpiresAtIn ¶
func LeaseExpiresAtIn(vs ...time.Time) predicate.Assignment
LeaseExpiresAtIn applies the In predicate on the "lease_expires_at" field.
func LeaseExpiresAtLT ¶
func LeaseExpiresAtLT(v time.Time) predicate.Assignment
LeaseExpiresAtLT applies the LT predicate on the "lease_expires_at" field.
func LeaseExpiresAtLTE ¶
func LeaseExpiresAtLTE(v time.Time) predicate.Assignment
LeaseExpiresAtLTE applies the LTE predicate on the "lease_expires_at" field.
func LeaseExpiresAtNEQ ¶
func LeaseExpiresAtNEQ(v time.Time) predicate.Assignment
LeaseExpiresAtNEQ applies the NEQ predicate on the "lease_expires_at" field.
func LeaseExpiresAtNotIn ¶
func LeaseExpiresAtNotIn(vs ...time.Time) predicate.Assignment
LeaseExpiresAtNotIn applies the NotIn predicate on the "lease_expires_at" field.
func Not ¶
func Not(p predicate.Assignment) predicate.Assignment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Assignment) predicate.Assignment
Or groups predicates with the OR operator between them.
func Status ¶
func Status(v string) predicate.Assignment
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.Assignment
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.Assignment
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.Assignment
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.Assignment
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.Assignment
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.Assignment
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.Assignment
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.Assignment
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.Assignment
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.Assignment
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.Assignment
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.Assignment
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.Assignment
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Assignment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Assignment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Assignment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Assignment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Assignment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Assignment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Assignment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Assignment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Assignment
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 Worker ¶
func Worker(v string) predicate.Assignment
Worker applies equality check predicate on the "worker" field. It's identical to WorkerEQ.
func WorkerContains ¶
func WorkerContains(v string) predicate.Assignment
WorkerContains applies the Contains predicate on the "worker" field.
func WorkerContainsFold ¶
func WorkerContainsFold(v string) predicate.Assignment
WorkerContainsFold applies the ContainsFold predicate on the "worker" field.
func WorkerEQ ¶
func WorkerEQ(v string) predicate.Assignment
WorkerEQ applies the EQ predicate on the "worker" field.
func WorkerEqualFold ¶
func WorkerEqualFold(v string) predicate.Assignment
WorkerEqualFold applies the EqualFold predicate on the "worker" field.
func WorkerGT ¶
func WorkerGT(v string) predicate.Assignment
WorkerGT applies the GT predicate on the "worker" field.
func WorkerGTE ¶
func WorkerGTE(v string) predicate.Assignment
WorkerGTE applies the GTE predicate on the "worker" field.
func WorkerHasPrefix ¶
func WorkerHasPrefix(v string) predicate.Assignment
WorkerHasPrefix applies the HasPrefix predicate on the "worker" field.
func WorkerHasSuffix ¶
func WorkerHasSuffix(v string) predicate.Assignment
WorkerHasSuffix applies the HasSuffix predicate on the "worker" field.
func WorkerIn ¶
func WorkerIn(vs ...string) predicate.Assignment
WorkerIn applies the In predicate on the "worker" field.
func WorkerLT ¶
func WorkerLT(v string) predicate.Assignment
WorkerLT applies the LT predicate on the "worker" field.
func WorkerLTE ¶
func WorkerLTE(v string) predicate.Assignment
WorkerLTE applies the LTE predicate on the "worker" field.
func WorkerNEQ ¶
func WorkerNEQ(v string) predicate.Assignment
WorkerNEQ applies the NEQ predicate on the "worker" field.
func WorkerNotIn ¶
func WorkerNotIn(vs ...string) predicate.Assignment
WorkerNotIn applies the NotIn predicate on the "worker" field.
func Workspace ¶
func Workspace(v string) predicate.Assignment
Workspace applies equality check predicate on the "workspace" field. It's identical to WorkspaceEQ.
func WorkspaceContains ¶
func WorkspaceContains(v string) predicate.Assignment
WorkspaceContains applies the Contains predicate on the "workspace" field.
func WorkspaceContainsFold ¶
func WorkspaceContainsFold(v string) predicate.Assignment
WorkspaceContainsFold applies the ContainsFold predicate on the "workspace" field.
func WorkspaceEQ ¶
func WorkspaceEQ(v string) predicate.Assignment
WorkspaceEQ applies the EQ predicate on the "workspace" field.
func WorkspaceEqualFold ¶
func WorkspaceEqualFold(v string) predicate.Assignment
WorkspaceEqualFold applies the EqualFold predicate on the "workspace" field.
func WorkspaceGT ¶
func WorkspaceGT(v string) predicate.Assignment
WorkspaceGT applies the GT predicate on the "workspace" field.
func WorkspaceGTE ¶
func WorkspaceGTE(v string) predicate.Assignment
WorkspaceGTE applies the GTE predicate on the "workspace" field.
func WorkspaceHasPrefix ¶
func WorkspaceHasPrefix(v string) predicate.Assignment
WorkspaceHasPrefix applies the HasPrefix predicate on the "workspace" field.
func WorkspaceHasSuffix ¶
func WorkspaceHasSuffix(v string) predicate.Assignment
WorkspaceHasSuffix applies the HasSuffix predicate on the "workspace" field.
func WorkspaceIn ¶
func WorkspaceIn(vs ...string) predicate.Assignment
WorkspaceIn applies the In predicate on the "workspace" field.
func WorkspaceIsNil ¶
func WorkspaceIsNil() predicate.Assignment
WorkspaceIsNil applies the IsNil predicate on the "workspace" field.
func WorkspaceLT ¶
func WorkspaceLT(v string) predicate.Assignment
WorkspaceLT applies the LT predicate on the "workspace" field.
func WorkspaceLTE ¶
func WorkspaceLTE(v string) predicate.Assignment
WorkspaceLTE applies the LTE predicate on the "workspace" field.
func WorkspaceNEQ ¶
func WorkspaceNEQ(v string) predicate.Assignment
WorkspaceNEQ applies the NEQ predicate on the "workspace" field.
func WorkspaceNotIn ¶
func WorkspaceNotIn(vs ...string) predicate.Assignment
WorkspaceNotIn applies the NotIn predicate on the "workspace" field.
func WorkspaceNotNil ¶
func WorkspaceNotNil() predicate.Assignment
WorkspaceNotNil applies the NotNil predicate on the "workspace" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Assignment queries.
func ByCompletedAt ¶
func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
ByCompletedAt orders the results by the completed_at 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 ByLeaseExpiresAt ¶
func ByLeaseExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByLeaseExpiresAt orders the results by the lease_expires_at field.
func ByRoadmapItemField ¶
func ByRoadmapItemField(field string, opts ...sql.OrderTermOption) OrderOption
ByRoadmapItemField orders the results by roadmap_item 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 ByWorker ¶
func ByWorker(opts ...sql.OrderTermOption) OrderOption
ByWorker orders the results by the worker field.
func ByWorkspace ¶
func ByWorkspace(opts ...sql.OrderTermOption) OrderOption
ByWorkspace orders the results by the workspace field.