Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TemplateExt) predicate.TemplateExt
- func CredentialType(v string) predicate.TemplateExt
- func CredentialTypeContains(v string) predicate.TemplateExt
- func CredentialTypeContainsFold(v string) predicate.TemplateExt
- func CredentialTypeEQ(v string) predicate.TemplateExt
- func CredentialTypeEqualFold(v string) predicate.TemplateExt
- func CredentialTypeGT(v string) predicate.TemplateExt
- func CredentialTypeGTE(v string) predicate.TemplateExt
- func CredentialTypeHasPrefix(v string) predicate.TemplateExt
- func CredentialTypeHasSuffix(v string) predicate.TemplateExt
- func CredentialTypeIn(vs ...string) predicate.TemplateExt
- func CredentialTypeLT(v string) predicate.TemplateExt
- func CredentialTypeLTE(v string) predicate.TemplateExt
- func CredentialTypeNEQ(v string) predicate.TemplateExt
- func CredentialTypeNotIn(vs ...string) predicate.TemplateExt
- func HasTemplate() predicate.TemplateExt
- func HasTemplateWith(preds ...predicate.Template) predicate.TemplateExt
- func ID(id int64) predicate.TemplateExt
- func IDEQ(id int64) predicate.TemplateExt
- func IDGT(id int64) predicate.TemplateExt
- func IDGTE(id int64) predicate.TemplateExt
- func IDIn(ids ...int64) predicate.TemplateExt
- func IDLT(id int64) predicate.TemplateExt
- func IDLTE(id int64) predicate.TemplateExt
- func IDNEQ(id int64) predicate.TemplateExt
- func IDNotIn(ids ...int64) predicate.TemplateExt
- func Not(p predicate.TemplateExt) predicate.TemplateExt
- func Or(predicates ...predicate.TemplateExt) predicate.TemplateExt
- func StripImageTools(v bool) predicate.TemplateExt
- func StripImageToolsEQ(v bool) predicate.TemplateExt
- func StripImageToolsIsNil() predicate.TemplateExt
- func StripImageToolsNEQ(v bool) predicate.TemplateExt
- func StripImageToolsNotNil() predicate.TemplateExt
- func TemplateID(v int64) predicate.TemplateExt
- func TemplateIDEQ(v int64) predicate.TemplateExt
- func TemplateIDIn(vs ...int64) predicate.TemplateExt
- func TemplateIDNEQ(v int64) predicate.TemplateExt
- func TemplateIDNotIn(vs ...int64) predicate.TemplateExt
- func ValidColumn(column string) bool
- type OrderOption
- func ByCredentialType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByStripImageTools(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the templateext type in the database. Label = "template_ext" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTemplateID holds the string denoting the template_id field in the database. FieldTemplateID = "template_id" // FieldCredentialType holds the string denoting the credential_type field in the database. FieldCredentialType = "credential_type" // FieldStripImageTools holds the string denoting the strip_image_tools field in the database. FieldStripImageTools = "strip_image_tools" // EdgeTemplate holds the string denoting the template edge name in mutations. EdgeTemplate = "template" // Table holds the table name of the templateext in the database. Table = "template_exts" // TemplateTable is the table that holds the template relation/edge. TemplateTable = "template_exts" // TemplateInverseTable is the table name for the Template entity. // It exists in this package in order to avoid circular dependency with the "template" package. TemplateInverseTable = "templates" // TemplateColumn is the table column denoting the template relation/edge. TemplateColumn = "template_id" )
Variables ¶
var Columns = []string{ FieldID, FieldTemplateID, FieldCredentialType, FieldStripImageTools, }
Columns holds all SQL columns for templateext fields.
Functions ¶
func And ¶
func And(predicates ...predicate.TemplateExt) predicate.TemplateExt
And groups predicates with the AND operator between them.
func CredentialType ¶
func CredentialType(v string) predicate.TemplateExt
CredentialType applies equality check predicate on the "credential_type" field. It's identical to CredentialTypeEQ.
func CredentialTypeContains ¶
func CredentialTypeContains(v string) predicate.TemplateExt
CredentialTypeContains applies the Contains predicate on the "credential_type" field.
func CredentialTypeContainsFold ¶
func CredentialTypeContainsFold(v string) predicate.TemplateExt
CredentialTypeContainsFold applies the ContainsFold predicate on the "credential_type" field.
func CredentialTypeEQ ¶
func CredentialTypeEQ(v string) predicate.TemplateExt
CredentialTypeEQ applies the EQ predicate on the "credential_type" field.
func CredentialTypeEqualFold ¶
func CredentialTypeEqualFold(v string) predicate.TemplateExt
CredentialTypeEqualFold applies the EqualFold predicate on the "credential_type" field.
func CredentialTypeGT ¶
func CredentialTypeGT(v string) predicate.TemplateExt
CredentialTypeGT applies the GT predicate on the "credential_type" field.
func CredentialTypeGTE ¶
func CredentialTypeGTE(v string) predicate.TemplateExt
CredentialTypeGTE applies the GTE predicate on the "credential_type" field.
func CredentialTypeHasPrefix ¶
func CredentialTypeHasPrefix(v string) predicate.TemplateExt
CredentialTypeHasPrefix applies the HasPrefix predicate on the "credential_type" field.
func CredentialTypeHasSuffix ¶
func CredentialTypeHasSuffix(v string) predicate.TemplateExt
CredentialTypeHasSuffix applies the HasSuffix predicate on the "credential_type" field.
func CredentialTypeIn ¶
func CredentialTypeIn(vs ...string) predicate.TemplateExt
CredentialTypeIn applies the In predicate on the "credential_type" field.
func CredentialTypeLT ¶
func CredentialTypeLT(v string) predicate.TemplateExt
CredentialTypeLT applies the LT predicate on the "credential_type" field.
func CredentialTypeLTE ¶
func CredentialTypeLTE(v string) predicate.TemplateExt
CredentialTypeLTE applies the LTE predicate on the "credential_type" field.
func CredentialTypeNEQ ¶
func CredentialTypeNEQ(v string) predicate.TemplateExt
CredentialTypeNEQ applies the NEQ predicate on the "credential_type" field.
func CredentialTypeNotIn ¶
func CredentialTypeNotIn(vs ...string) predicate.TemplateExt
CredentialTypeNotIn applies the NotIn predicate on the "credential_type" field.
func HasTemplate ¶
func HasTemplate() predicate.TemplateExt
HasTemplate applies the HasEdge predicate on the "template" edge.
func HasTemplateWith ¶
func HasTemplateWith(preds ...predicate.Template) predicate.TemplateExt
HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int64) predicate.TemplateExt
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.TemplateExt
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.TemplateExt
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.TemplateExt
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.TemplateExt
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.TemplateExt
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.TemplateExt
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.TemplateExt
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.TemplateExt) predicate.TemplateExt
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TemplateExt) predicate.TemplateExt
Or groups predicates with the OR operator between them.
func StripImageTools ¶
func StripImageTools(v bool) predicate.TemplateExt
StripImageTools applies equality check predicate on the "strip_image_tools" field. It's identical to StripImageToolsEQ.
func StripImageToolsEQ ¶
func StripImageToolsEQ(v bool) predicate.TemplateExt
StripImageToolsEQ applies the EQ predicate on the "strip_image_tools" field.
func StripImageToolsIsNil ¶
func StripImageToolsIsNil() predicate.TemplateExt
StripImageToolsIsNil applies the IsNil predicate on the "strip_image_tools" field.
func StripImageToolsNEQ ¶
func StripImageToolsNEQ(v bool) predicate.TemplateExt
StripImageToolsNEQ applies the NEQ predicate on the "strip_image_tools" field.
func StripImageToolsNotNil ¶
func StripImageToolsNotNil() predicate.TemplateExt
StripImageToolsNotNil applies the NotNil predicate on the "strip_image_tools" field.
func TemplateID ¶
func TemplateID(v int64) predicate.TemplateExt
TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.
func TemplateIDEQ ¶
func TemplateIDEQ(v int64) predicate.TemplateExt
TemplateIDEQ applies the EQ predicate on the "template_id" field.
func TemplateIDIn ¶
func TemplateIDIn(vs ...int64) predicate.TemplateExt
TemplateIDIn applies the In predicate on the "template_id" field.
func TemplateIDNEQ ¶
func TemplateIDNEQ(v int64) predicate.TemplateExt
TemplateIDNEQ applies the NEQ predicate on the "template_id" field.
func TemplateIDNotIn ¶
func TemplateIDNotIn(vs ...int64) predicate.TemplateExt
TemplateIDNotIn applies the NotIn predicate on the "template_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 TemplateExt queries.
func ByCredentialType ¶
func ByCredentialType(opts ...sql.OrderTermOption) OrderOption
ByCredentialType orders the results by the credential_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByStripImageTools ¶
func ByStripImageTools(opts ...sql.OrderTermOption) OrderOption
ByStripImageTools orders the results by the strip_image_tools field.
func ByTemplateField ¶
func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
ByTemplateField orders the results by template field.
func ByTemplateID ¶
func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
ByTemplateID orders the results by the template_id field.