Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowSettings) predicate.WorkflowSettings
- func ContentTypesIsNil() predicate.WorkflowSettings
- func ContentTypesNotNil() predicate.WorkflowSettings
- func ID(id int) predicate.WorkflowSettings
- func IDEQ(id int) predicate.WorkflowSettings
- func IDGT(id int) predicate.WorkflowSettings
- func IDGTE(id int) predicate.WorkflowSettings
- func IDIn(ids ...int) predicate.WorkflowSettings
- func IDLT(id int) predicate.WorkflowSettings
- func IDLTE(id int) predicate.WorkflowSettings
- func IDNEQ(id int) predicate.WorkflowSettings
- func IDNotIn(ids ...int) predicate.WorkflowSettings
- func LockMinutes(v int) predicate.WorkflowSettings
- func LockMinutesEQ(v int) predicate.WorkflowSettings
- func LockMinutesGT(v int) predicate.WorkflowSettings
- func LockMinutesGTE(v int) predicate.WorkflowSettings
- func LockMinutesIn(vs ...int) predicate.WorkflowSettings
- func LockMinutesLT(v int) predicate.WorkflowSettings
- func LockMinutesLTE(v int) predicate.WorkflowSettings
- func LockMinutesNEQ(v int) predicate.WorkflowSettings
- func LockMinutesNotIn(vs ...int) predicate.WorkflowSettings
- func Not(p predicate.WorkflowSettings) predicate.WorkflowSettings
- func Or(predicates ...predicate.WorkflowSettings) predicate.WorkflowSettings
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowsettings type in the database. Label = "workflow_settings" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldContentTypes holds the string denoting the content_types field in the database. FieldContentTypes = "content_types" // FieldLockMinutes holds the string denoting the lock_minutes field in the database. FieldLockMinutes = "lock_minutes" // Table holds the table name of the workflowsettings in the database. Table = "workflow_settings" )
Variables ¶
var Columns = []string{ FieldID, FieldContentTypes, FieldLockMinutes, }
Columns holds all SQL columns for workflowsettings fields.
var ( // DefaultLockMinutes holds the default value on creation for the "lock_minutes" field. DefaultLockMinutes int )
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowSettings) predicate.WorkflowSettings
And groups predicates with the AND operator between them.
func ContentTypesIsNil ¶
func ContentTypesIsNil() predicate.WorkflowSettings
ContentTypesIsNil applies the IsNil predicate on the "content_types" field.
func ContentTypesNotNil ¶
func ContentTypesNotNil() predicate.WorkflowSettings
ContentTypesNotNil applies the NotNil predicate on the "content_types" field.
func IDEQ ¶
func IDEQ(id int) predicate.WorkflowSettings
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.WorkflowSettings
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.WorkflowSettings
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.WorkflowSettings
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.WorkflowSettings
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.WorkflowSettings
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.WorkflowSettings
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.WorkflowSettings
IDNotIn applies the NotIn predicate on the ID field.
func LockMinutes ¶
func LockMinutes(v int) predicate.WorkflowSettings
LockMinutes applies equality check predicate on the "lock_minutes" field. It's identical to LockMinutesEQ.
func LockMinutesEQ ¶
func LockMinutesEQ(v int) predicate.WorkflowSettings
LockMinutesEQ applies the EQ predicate on the "lock_minutes" field.
func LockMinutesGT ¶
func LockMinutesGT(v int) predicate.WorkflowSettings
LockMinutesGT applies the GT predicate on the "lock_minutes" field.
func LockMinutesGTE ¶
func LockMinutesGTE(v int) predicate.WorkflowSettings
LockMinutesGTE applies the GTE predicate on the "lock_minutes" field.
func LockMinutesIn ¶
func LockMinutesIn(vs ...int) predicate.WorkflowSettings
LockMinutesIn applies the In predicate on the "lock_minutes" field.
func LockMinutesLT ¶
func LockMinutesLT(v int) predicate.WorkflowSettings
LockMinutesLT applies the LT predicate on the "lock_minutes" field.
func LockMinutesLTE ¶
func LockMinutesLTE(v int) predicate.WorkflowSettings
LockMinutesLTE applies the LTE predicate on the "lock_minutes" field.
func LockMinutesNEQ ¶
func LockMinutesNEQ(v int) predicate.WorkflowSettings
LockMinutesNEQ applies the NEQ predicate on the "lock_minutes" field.
func LockMinutesNotIn ¶
func LockMinutesNotIn(vs ...int) predicate.WorkflowSettings
LockMinutesNotIn applies the NotIn predicate on the "lock_minutes" field.
func Not ¶
func Not(p predicate.WorkflowSettings) predicate.WorkflowSettings
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowSettings) predicate.WorkflowSettings
Or groups predicates with the OR operator between them.
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 WorkflowSettings queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLockMinutes ¶
func ByLockMinutes(opts ...sql.OrderTermOption) OrderOption
ByLockMinutes orders the results by the lock_minutes field.