Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BackgroundTaskArtifact) predicate.BackgroundTaskArtifact
- func Body(v string) predicate.BackgroundTaskArtifact
- func BodyContains(v string) predicate.BackgroundTaskArtifact
- func BodyContainsFold(v string) predicate.BackgroundTaskArtifact
- func BodyEQ(v string) predicate.BackgroundTaskArtifact
- func BodyEqualFold(v string) predicate.BackgroundTaskArtifact
- func BodyGT(v string) predicate.BackgroundTaskArtifact
- func BodyGTE(v string) predicate.BackgroundTaskArtifact
- func BodyHasPrefix(v string) predicate.BackgroundTaskArtifact
- func BodyHasSuffix(v string) predicate.BackgroundTaskArtifact
- func BodyIn(vs ...string) predicate.BackgroundTaskArtifact
- func BodyLT(v string) predicate.BackgroundTaskArtifact
- func BodyLTE(v string) predicate.BackgroundTaskArtifact
- func BodyNEQ(v string) predicate.BackgroundTaskArtifact
- func BodyNotIn(vs ...string) predicate.BackgroundTaskArtifact
- func ContentType(v string) predicate.BackgroundTaskArtifact
- func ContentTypeContains(v string) predicate.BackgroundTaskArtifact
- func ContentTypeContainsFold(v string) predicate.BackgroundTaskArtifact
- func ContentTypeEQ(v string) predicate.BackgroundTaskArtifact
- func ContentTypeEqualFold(v string) predicate.BackgroundTaskArtifact
- func ContentTypeGT(v string) predicate.BackgroundTaskArtifact
- func ContentTypeGTE(v string) predicate.BackgroundTaskArtifact
- func ContentTypeHasPrefix(v string) predicate.BackgroundTaskArtifact
- func ContentTypeHasSuffix(v string) predicate.BackgroundTaskArtifact
- func ContentTypeIn(vs ...string) predicate.BackgroundTaskArtifact
- func ContentTypeLT(v string) predicate.BackgroundTaskArtifact
- func ContentTypeLTE(v string) predicate.BackgroundTaskArtifact
- func ContentTypeNEQ(v string) predicate.BackgroundTaskArtifact
- func ContentTypeNotIn(vs ...string) predicate.BackgroundTaskArtifact
- func CreatedAt(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtEQ(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtGT(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtGTE(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtIn(vs ...time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtLT(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtLTE(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtNEQ(v time.Time) predicate.BackgroundTaskArtifact
- func CreatedAtNotIn(vs ...time.Time) predicate.BackgroundTaskArtifact
- func HasTask() predicate.BackgroundTaskArtifact
- func HasTaskWith(preds ...predicate.BackgroundTask) predicate.BackgroundTaskArtifact
- func HasUser() predicate.BackgroundTaskArtifact
- func HasUserWith(preds ...predicate.User) predicate.BackgroundTaskArtifact
- func ID(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDEQ(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDGT(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDGTE(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDIn(ids ...uuid.UUID) predicate.BackgroundTaskArtifact
- func IDLT(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDLTE(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDNEQ(id uuid.UUID) predicate.BackgroundTaskArtifact
- func IDNotIn(ids ...uuid.UUID) predicate.BackgroundTaskArtifact
- func Not(p predicate.BackgroundTaskArtifact) predicate.BackgroundTaskArtifact
- func Or(predicates ...predicate.BackgroundTaskArtifact) predicate.BackgroundTaskArtifact
- func Revision(v int) predicate.BackgroundTaskArtifact
- func RevisionEQ(v int) predicate.BackgroundTaskArtifact
- func RevisionGT(v int) predicate.BackgroundTaskArtifact
- func RevisionGTE(v int) predicate.BackgroundTaskArtifact
- func RevisionIn(vs ...int) predicate.BackgroundTaskArtifact
- func RevisionLT(v int) predicate.BackgroundTaskArtifact
- func RevisionLTE(v int) predicate.BackgroundTaskArtifact
- func RevisionNEQ(v int) predicate.BackgroundTaskArtifact
- func RevisionNotIn(vs ...int) predicate.BackgroundTaskArtifact
- func UpdatedAt(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtEQ(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtGT(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtGTE(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtIn(vs ...time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtLT(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtLTE(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtNEQ(v time.Time) predicate.BackgroundTaskArtifact
- func UpdatedAtNotIn(vs ...time.Time) predicate.BackgroundTaskArtifact
- func UpdatedByRunID(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDContains(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDContainsFold(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDEQ(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDEqualFold(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDGT(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDGTE(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDHasPrefix(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDHasSuffix(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDIn(vs ...string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDIsNil() predicate.BackgroundTaskArtifact
- func UpdatedByRunIDLT(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDLTE(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDNEQ(v string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDNotIn(vs ...string) predicate.BackgroundTaskArtifact
- func UpdatedByRunIDNotNil() predicate.BackgroundTaskArtifact
- func ValidColumn(column string) bool
- type OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByContentType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByRunID(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the backgroundtaskartifact type in the database. Label = "background_task_artifact" // FieldID holds the string denoting the id field in the database. FieldID = "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" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // FieldUpdatedByRunID holds the string denoting the updated_by_run_id field in the database. FieldUpdatedByRunID = "updated_by_run_id" // FieldContentType holds the string denoting the content_type field in the database. FieldContentType = "content_type" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeTask holds the string denoting the task edge name in mutations. EdgeTask = "task" // Table holds the table name of the backgroundtaskartifact in the database. Table = "background_task_artifacts" // UserTable is the table that holds the user relation/edge. UserTable = "background_task_artifacts" // 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_background_task_artifacts" // TaskTable is the table that holds the task relation/edge. TaskTable = "background_task_artifacts" // TaskInverseTable is the table name for the BackgroundTask entity. // It exists in this package in order to avoid circular dependency with the "backgroundtask" package. TaskInverseTable = "background_tasks" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "background_task_id" )
Variables ¶
var ( Hooks [1]ent.Hook Policy ent.Policy // 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 // DefaultBody holds the default value on creation for the "body" field. DefaultBody string // DefaultRevision holds the default value on creation for the "revision" field. DefaultRevision int // RevisionValidator is a validator for the "revision" field. It is called by the builders before save. RevisionValidator func(int) error // DefaultContentType holds the default value on creation for the "content_type" field. DefaultContentType string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldBody, FieldRevision, FieldUpdatedByRunID, FieldContentType, }
Columns holds all SQL columns for backgroundtaskartifact fields.
var ForeignKeys = []string{
"background_task_id",
"user_background_task_artifacts",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "background_task_artifacts" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.BackgroundTaskArtifact) predicate.BackgroundTaskArtifact
And groups predicates with the AND operator between them.
func Body ¶
func Body(v string) predicate.BackgroundTaskArtifact
Body applies equality check predicate on the "body" field. It's identical to BodyEQ.
func BodyContains ¶
func BodyContains(v string) predicate.BackgroundTaskArtifact
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
func BodyContainsFold(v string) predicate.BackgroundTaskArtifact
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEQ ¶
func BodyEQ(v string) predicate.BackgroundTaskArtifact
BodyEQ applies the EQ predicate on the "body" field.
func BodyEqualFold ¶
func BodyEqualFold(v string) predicate.BackgroundTaskArtifact
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyGT ¶
func BodyGT(v string) predicate.BackgroundTaskArtifact
BodyGT applies the GT predicate on the "body" field.
func BodyGTE ¶
func BodyGTE(v string) predicate.BackgroundTaskArtifact
BodyGTE applies the GTE predicate on the "body" field.
func BodyHasPrefix ¶
func BodyHasPrefix(v string) predicate.BackgroundTaskArtifact
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
func BodyHasSuffix(v string) predicate.BackgroundTaskArtifact
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func BodyIn ¶
func BodyIn(vs ...string) predicate.BackgroundTaskArtifact
BodyIn applies the In predicate on the "body" field.
func BodyLT ¶
func BodyLT(v string) predicate.BackgroundTaskArtifact
BodyLT applies the LT predicate on the "body" field.
func BodyLTE ¶
func BodyLTE(v string) predicate.BackgroundTaskArtifact
BodyLTE applies the LTE predicate on the "body" field.
func BodyNEQ ¶
func BodyNEQ(v string) predicate.BackgroundTaskArtifact
BodyNEQ applies the NEQ predicate on the "body" field.
func BodyNotIn ¶
func BodyNotIn(vs ...string) predicate.BackgroundTaskArtifact
BodyNotIn applies the NotIn predicate on the "body" field.
func ContentType ¶
func ContentType(v string) predicate.BackgroundTaskArtifact
ContentType applies equality check predicate on the "content_type" field. It's identical to ContentTypeEQ.
func ContentTypeContains ¶
func ContentTypeContains(v string) predicate.BackgroundTaskArtifact
ContentTypeContains applies the Contains predicate on the "content_type" field.
func ContentTypeContainsFold ¶
func ContentTypeContainsFold(v string) predicate.BackgroundTaskArtifact
ContentTypeContainsFold applies the ContainsFold predicate on the "content_type" field.
func ContentTypeEQ ¶
func ContentTypeEQ(v string) predicate.BackgroundTaskArtifact
ContentTypeEQ applies the EQ predicate on the "content_type" field.
func ContentTypeEqualFold ¶
func ContentTypeEqualFold(v string) predicate.BackgroundTaskArtifact
ContentTypeEqualFold applies the EqualFold predicate on the "content_type" field.
func ContentTypeGT ¶
func ContentTypeGT(v string) predicate.BackgroundTaskArtifact
ContentTypeGT applies the GT predicate on the "content_type" field.
func ContentTypeGTE ¶
func ContentTypeGTE(v string) predicate.BackgroundTaskArtifact
ContentTypeGTE applies the GTE predicate on the "content_type" field.
func ContentTypeHasPrefix ¶
func ContentTypeHasPrefix(v string) predicate.BackgroundTaskArtifact
ContentTypeHasPrefix applies the HasPrefix predicate on the "content_type" field.
func ContentTypeHasSuffix ¶
func ContentTypeHasSuffix(v string) predicate.BackgroundTaskArtifact
ContentTypeHasSuffix applies the HasSuffix predicate on the "content_type" field.
func ContentTypeIn ¶
func ContentTypeIn(vs ...string) predicate.BackgroundTaskArtifact
ContentTypeIn applies the In predicate on the "content_type" field.
func ContentTypeLT ¶
func ContentTypeLT(v string) predicate.BackgroundTaskArtifact
ContentTypeLT applies the LT predicate on the "content_type" field.
func ContentTypeLTE ¶
func ContentTypeLTE(v string) predicate.BackgroundTaskArtifact
ContentTypeLTE applies the LTE predicate on the "content_type" field.
func ContentTypeNEQ ¶
func ContentTypeNEQ(v string) predicate.BackgroundTaskArtifact
ContentTypeNEQ applies the NEQ predicate on the "content_type" field.
func ContentTypeNotIn ¶
func ContentTypeNotIn(vs ...string) predicate.BackgroundTaskArtifact
ContentTypeNotIn applies the NotIn predicate on the "content_type" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BackgroundTaskArtifact
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BackgroundTaskArtifact
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BackgroundTaskArtifact
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BackgroundTaskArtifact
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasTask ¶
func HasTask() predicate.BackgroundTaskArtifact
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.BackgroundTask) predicate.BackgroundTaskArtifact
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.BackgroundTaskArtifact
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.BackgroundTaskArtifact
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.BackgroundTaskArtifact
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BackgroundTaskArtifact
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BackgroundTaskArtifact
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.BackgroundTaskArtifact
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.BackgroundTaskArtifact
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.BackgroundTaskArtifact
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.BackgroundTaskArtifact
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.BackgroundTaskArtifact
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.BackgroundTaskArtifact
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.BackgroundTaskArtifact) predicate.BackgroundTaskArtifact
Or groups predicates with the OR operator between them.
func Revision ¶
func Revision(v int) predicate.BackgroundTaskArtifact
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
func RevisionEQ(v int) predicate.BackgroundTaskArtifact
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
func RevisionGT(v int) predicate.BackgroundTaskArtifact
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
func RevisionGTE(v int) predicate.BackgroundTaskArtifact
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
func RevisionIn(vs ...int) predicate.BackgroundTaskArtifact
RevisionIn applies the In predicate on the "revision" field.
func RevisionLT ¶
func RevisionLT(v int) predicate.BackgroundTaskArtifact
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
func RevisionLTE(v int) predicate.BackgroundTaskArtifact
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
func RevisionNEQ(v int) predicate.BackgroundTaskArtifact
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
func RevisionNotIn(vs ...int) predicate.BackgroundTaskArtifact
RevisionNotIn applies the NotIn predicate on the "revision" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BackgroundTaskArtifact
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BackgroundTaskArtifact
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BackgroundTaskArtifact
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedByRunID ¶
func UpdatedByRunID(v string) predicate.BackgroundTaskArtifact
UpdatedByRunID applies equality check predicate on the "updated_by_run_id" field. It's identical to UpdatedByRunIDEQ.
func UpdatedByRunIDContains ¶
func UpdatedByRunIDContains(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDContains applies the Contains predicate on the "updated_by_run_id" field.
func UpdatedByRunIDContainsFold ¶
func UpdatedByRunIDContainsFold(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDContainsFold applies the ContainsFold predicate on the "updated_by_run_id" field.
func UpdatedByRunIDEQ ¶
func UpdatedByRunIDEQ(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDEQ applies the EQ predicate on the "updated_by_run_id" field.
func UpdatedByRunIDEqualFold ¶
func UpdatedByRunIDEqualFold(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDEqualFold applies the EqualFold predicate on the "updated_by_run_id" field.
func UpdatedByRunIDGT ¶
func UpdatedByRunIDGT(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDGT applies the GT predicate on the "updated_by_run_id" field.
func UpdatedByRunIDGTE ¶
func UpdatedByRunIDGTE(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDGTE applies the GTE predicate on the "updated_by_run_id" field.
func UpdatedByRunIDHasPrefix ¶
func UpdatedByRunIDHasPrefix(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDHasPrefix applies the HasPrefix predicate on the "updated_by_run_id" field.
func UpdatedByRunIDHasSuffix ¶
func UpdatedByRunIDHasSuffix(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDHasSuffix applies the HasSuffix predicate on the "updated_by_run_id" field.
func UpdatedByRunIDIn ¶
func UpdatedByRunIDIn(vs ...string) predicate.BackgroundTaskArtifact
UpdatedByRunIDIn applies the In predicate on the "updated_by_run_id" field.
func UpdatedByRunIDIsNil ¶
func UpdatedByRunIDIsNil() predicate.BackgroundTaskArtifact
UpdatedByRunIDIsNil applies the IsNil predicate on the "updated_by_run_id" field.
func UpdatedByRunIDLT ¶
func UpdatedByRunIDLT(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDLT applies the LT predicate on the "updated_by_run_id" field.
func UpdatedByRunIDLTE ¶
func UpdatedByRunIDLTE(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDLTE applies the LTE predicate on the "updated_by_run_id" field.
func UpdatedByRunIDNEQ ¶
func UpdatedByRunIDNEQ(v string) predicate.BackgroundTaskArtifact
UpdatedByRunIDNEQ applies the NEQ predicate on the "updated_by_run_id" field.
func UpdatedByRunIDNotIn ¶
func UpdatedByRunIDNotIn(vs ...string) predicate.BackgroundTaskArtifact
UpdatedByRunIDNotIn applies the NotIn predicate on the "updated_by_run_id" field.
func UpdatedByRunIDNotNil ¶
func UpdatedByRunIDNotNil() predicate.BackgroundTaskArtifact
UpdatedByRunIDNotNil applies the NotNil predicate on the "updated_by_run_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the BackgroundTaskArtifact queries.
func ByBody ¶
func ByBody(opts ...sql.OrderTermOption) OrderOption
ByBody orders the results by the body field.
func ByContentType ¶
func ByContentType(opts ...sql.OrderTermOption) OrderOption
ByContentType orders the results by the content_type 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 ByRevision ¶
func ByRevision(opts ...sql.OrderTermOption) OrderOption
ByRevision orders the results by the revision field.
func ByTaskField ¶
func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaskField orders the results by task field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedByRunID ¶
func ByUpdatedByRunID(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByRunID orders the results by the updated_by_run_id field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.