Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProviderID) predicate.ProviderID
- func CreatedAt(v time.Time) predicate.ProviderID
- func CreatedAtEQ(v time.Time) predicate.ProviderID
- func CreatedAtGT(v time.Time) predicate.ProviderID
- func CreatedAtGTE(v time.Time) predicate.ProviderID
- func CreatedAtIn(vs ...time.Time) predicate.ProviderID
- func CreatedAtLT(v time.Time) predicate.ProviderID
- func CreatedAtLTE(v time.Time) predicate.ProviderID
- func CreatedAtNEQ(v time.Time) predicate.ProviderID
- func CreatedAtNotIn(vs ...time.Time) predicate.ProviderID
- func HasParticpant() predicate.ProviderID
- func HasParticpantWith(preds ...predicate.Participant) predicate.ProviderID
- func ID(id string) predicate.ProviderID
- func IDEQ(id string) predicate.ProviderID
- func IDGT(id string) predicate.ProviderID
- func IDGTE(id string) predicate.ProviderID
- func IDIn(ids ...string) predicate.ProviderID
- func IDLT(id string) predicate.ProviderID
- func IDLTE(id string) predicate.ProviderID
- func IDNEQ(id string) predicate.ProviderID
- func IDNotIn(ids ...string) predicate.ProviderID
- func MturkWorkerID(v string) predicate.ProviderID
- func MturkWorkerIDContains(v string) predicate.ProviderID
- func MturkWorkerIDContainsFold(v string) predicate.ProviderID
- func MturkWorkerIDEQ(v string) predicate.ProviderID
- func MturkWorkerIDEqualFold(v string) predicate.ProviderID
- func MturkWorkerIDGT(v string) predicate.ProviderID
- func MturkWorkerIDGTE(v string) predicate.ProviderID
- func MturkWorkerIDHasPrefix(v string) predicate.ProviderID
- func MturkWorkerIDHasSuffix(v string) predicate.ProviderID
- func MturkWorkerIDIn(vs ...string) predicate.ProviderID
- func MturkWorkerIDLT(v string) predicate.ProviderID
- func MturkWorkerIDLTE(v string) predicate.ProviderID
- func MturkWorkerIDNEQ(v string) predicate.ProviderID
- func MturkWorkerIDNotIn(vs ...string) predicate.ProviderID
- func Not(p predicate.ProviderID) predicate.ProviderID
- func Or(predicates ...predicate.ProviderID) predicate.ProviderID
- func UpdatedAt(v time.Time) predicate.ProviderID
- func UpdatedAtEQ(v time.Time) predicate.ProviderID
- func UpdatedAtGT(v time.Time) predicate.ProviderID
- func UpdatedAtGTE(v time.Time) predicate.ProviderID
- func UpdatedAtIn(vs ...time.Time) predicate.ProviderID
- func UpdatedAtLT(v time.Time) predicate.ProviderID
- func UpdatedAtLTE(v time.Time) predicate.ProviderID
- func UpdatedAtNEQ(v time.Time) predicate.ProviderID
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProviderID
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the providerid type in the database. Label = "provider_id" // 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" // FieldMturkWorkerID holds the string denoting the mturkworkerid field in the database. FieldMturkWorkerID = "mturk_worker_id" // EdgeParticpant holds the string denoting the particpant edge name in mutations. EdgeParticpant = "particpant" // Table holds the table name of the providerid in the database. Table = "provider_ids" // ParticpantTable is the table the holds the particpant relation/edge. ParticpantTable = "provider_ids" // ParticpantInverseTable is the table name for the Participant entity. // It exists in this package in order to avoid circular dependency with the "participant" package. ParticpantInverseTable = "participants" // ParticpantColumn is the table column denoting the particpant relation/edge. ParticpantColumn = "participant_provider_ids" )
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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldMturkWorkerID, }
Columns holds all SQL columns for providerid fields.
var ForeignKeys = []string{
"participant_provider_ids",
}
ForeignKeys holds the SQL foreign-keys that are owned by the ProviderID type.
Functions ¶
func And ¶
func And(predicates ...predicate.ProviderID) predicate.ProviderID
And groups list of predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProviderID
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProviderID
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProviderID
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProviderID
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProviderID
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProviderID
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProviderID
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProviderID
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProviderID
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasParticpant ¶
func HasParticpant() predicate.ProviderID
HasParticpant applies the HasEdge predicate on the "particpant" edge.
func HasParticpantWith ¶
func HasParticpantWith(preds ...predicate.Participant) predicate.ProviderID
HasParticpantWith applies the HasEdge predicate on the "particpant" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.ProviderID
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ProviderID
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ProviderID
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ProviderID
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ProviderID
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ProviderID
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ProviderID
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ProviderID
IDNotIn applies the NotIn predicate on the ID field.
func MturkWorkerID ¶
func MturkWorkerID(v string) predicate.ProviderID
MturkWorkerID applies equality check predicate on the "mturkWorkerID" field. It's identical to MturkWorkerIDEQ.
func MturkWorkerIDContains ¶
func MturkWorkerIDContains(v string) predicate.ProviderID
MturkWorkerIDContains applies the Contains predicate on the "mturkWorkerID" field.
func MturkWorkerIDContainsFold ¶
func MturkWorkerIDContainsFold(v string) predicate.ProviderID
MturkWorkerIDContainsFold applies the ContainsFold predicate on the "mturkWorkerID" field.
func MturkWorkerIDEQ ¶
func MturkWorkerIDEQ(v string) predicate.ProviderID
MturkWorkerIDEQ applies the EQ predicate on the "mturkWorkerID" field.
func MturkWorkerIDEqualFold ¶
func MturkWorkerIDEqualFold(v string) predicate.ProviderID
MturkWorkerIDEqualFold applies the EqualFold predicate on the "mturkWorkerID" field.
func MturkWorkerIDGT ¶
func MturkWorkerIDGT(v string) predicate.ProviderID
MturkWorkerIDGT applies the GT predicate on the "mturkWorkerID" field.
func MturkWorkerIDGTE ¶
func MturkWorkerIDGTE(v string) predicate.ProviderID
MturkWorkerIDGTE applies the GTE predicate on the "mturkWorkerID" field.
func MturkWorkerIDHasPrefix ¶
func MturkWorkerIDHasPrefix(v string) predicate.ProviderID
MturkWorkerIDHasPrefix applies the HasPrefix predicate on the "mturkWorkerID" field.
func MturkWorkerIDHasSuffix ¶
func MturkWorkerIDHasSuffix(v string) predicate.ProviderID
MturkWorkerIDHasSuffix applies the HasSuffix predicate on the "mturkWorkerID" field.
func MturkWorkerIDIn ¶
func MturkWorkerIDIn(vs ...string) predicate.ProviderID
MturkWorkerIDIn applies the In predicate on the "mturkWorkerID" field.
func MturkWorkerIDLT ¶
func MturkWorkerIDLT(v string) predicate.ProviderID
MturkWorkerIDLT applies the LT predicate on the "mturkWorkerID" field.
func MturkWorkerIDLTE ¶
func MturkWorkerIDLTE(v string) predicate.ProviderID
MturkWorkerIDLTE applies the LTE predicate on the "mturkWorkerID" field.
func MturkWorkerIDNEQ ¶
func MturkWorkerIDNEQ(v string) predicate.ProviderID
MturkWorkerIDNEQ applies the NEQ predicate on the "mturkWorkerID" field.
func MturkWorkerIDNotIn ¶
func MturkWorkerIDNotIn(vs ...string) predicate.ProviderID
MturkWorkerIDNotIn applies the NotIn predicate on the "mturkWorkerID" field.
func Not ¶
func Not(p predicate.ProviderID) predicate.ProviderID
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProviderID) predicate.ProviderID
Or groups list of predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProviderID
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProviderID
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProviderID
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProviderID
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProviderID
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProviderID
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProviderID
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProviderID
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProviderID
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).
Types ¶
This section is empty.