Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Link) predicate.Link
- func CategoryID(v uint32) predicate.Link
- func CategoryIDEQ(v uint32) predicate.Link
- func CategoryIDGT(v uint32) predicate.Link
- func CategoryIDGTE(v uint32) predicate.Link
- func CategoryIDIn(vs ...uint32) predicate.Link
- func CategoryIDLT(v uint32) predicate.Link
- func CategoryIDLTE(v uint32) predicate.Link
- func CategoryIDNEQ(v uint32) predicate.Link
- func CategoryIDNotIn(vs ...uint32) predicate.Link
- func Created(v time.Time) predicate.Link
- func CreatedEQ(v time.Time) predicate.Link
- func CreatedGT(v time.Time) predicate.Link
- func CreatedGTE(v time.Time) predicate.Link
- func CreatedIn(vs ...time.Time) predicate.Link
- func CreatedLT(v time.Time) predicate.Link
- func CreatedLTE(v time.Time) predicate.Link
- func CreatedNEQ(v time.Time) predicate.Link
- func CreatedNotIn(vs ...time.Time) predicate.Link
- func FaviconURL(v string) predicate.Link
- func FaviconURLContains(v string) predicate.Link
- func FaviconURLContainsFold(v string) predicate.Link
- func FaviconURLEQ(v string) predicate.Link
- func FaviconURLEqualFold(v string) predicate.Link
- func FaviconURLGT(v string) predicate.Link
- func FaviconURLGTE(v string) predicate.Link
- func FaviconURLHasPrefix(v string) predicate.Link
- func FaviconURLHasSuffix(v string) predicate.Link
- func FaviconURLIn(vs ...string) predicate.Link
- func FaviconURLIsNil() predicate.Link
- func FaviconURLLT(v string) predicate.Link
- func FaviconURLLTE(v string) predicate.Link
- func FaviconURLNEQ(v string) predicate.Link
- func FaviconURLNotIn(vs ...string) predicate.Link
- func FaviconURLNotNil() predicate.Link
- func ID(id uint32) predicate.Link
- func IDEQ(id uint32) predicate.Link
- func IDGT(id uint32) predicate.Link
- func IDGTE(id uint32) predicate.Link
- func IDIn(ids ...uint32) predicate.Link
- func IDLT(id uint32) predicate.Link
- func IDLTE(id uint32) predicate.Link
- func IDNEQ(id uint32) predicate.Link
- func IDNotIn(ids ...uint32) predicate.Link
- func Modified(v time.Time) predicate.Link
- func ModifiedEQ(v time.Time) predicate.Link
- func ModifiedGT(v time.Time) predicate.Link
- func ModifiedGTE(v time.Time) predicate.Link
- func ModifiedIn(vs ...time.Time) predicate.Link
- func ModifiedLT(v time.Time) predicate.Link
- func ModifiedLTE(v time.Time) predicate.Link
- func ModifiedNEQ(v time.Time) predicate.Link
- func ModifiedNotIn(vs ...time.Time) predicate.Link
- func Name(v string) predicate.Link
- func NameContains(v string) predicate.Link
- func NameContainsFold(v string) predicate.Link
- func NameEQ(v string) predicate.Link
- func NameEqualFold(v string) predicate.Link
- func NameGT(v string) predicate.Link
- func NameGTE(v string) predicate.Link
- func NameHasPrefix(v string) predicate.Link
- func NameHasSuffix(v string) predicate.Link
- func NameIn(vs ...string) predicate.Link
- func NameJa(v string) predicate.Link
- func NameJaContains(v string) predicate.Link
- func NameJaContainsFold(v string) predicate.Link
- func NameJaEQ(v string) predicate.Link
- func NameJaEqualFold(v string) predicate.Link
- func NameJaGT(v string) predicate.Link
- func NameJaGTE(v string) predicate.Link
- func NameJaHasPrefix(v string) predicate.Link
- func NameJaHasSuffix(v string) predicate.Link
- func NameJaIn(vs ...string) predicate.Link
- func NameJaLT(v string) predicate.Link
- func NameJaLTE(v string) predicate.Link
- func NameJaNEQ(v string) predicate.Link
- func NameJaNotIn(vs ...string) predicate.Link
- func NameLT(v string) predicate.Link
- func NameLTE(v string) predicate.Link
- func NameNEQ(v string) predicate.Link
- func NameNotIn(vs ...string) predicate.Link
- func Not(p predicate.Link) predicate.Link
- func Or(predicates ...predicate.Link) predicate.Link
- func SiteURL(v string) predicate.Link
- func SiteURLContains(v string) predicate.Link
- func SiteURLContainsFold(v string) predicate.Link
- func SiteURLEQ(v string) predicate.Link
- func SiteURLEqualFold(v string) predicate.Link
- func SiteURLGT(v string) predicate.Link
- func SiteURLGTE(v string) predicate.Link
- func SiteURLHasPrefix(v string) predicate.Link
- func SiteURLHasSuffix(v string) predicate.Link
- func SiteURLIn(vs ...string) predicate.Link
- func SiteURLLT(v string) predicate.Link
- func SiteURLLTE(v string) predicate.Link
- func SiteURLNEQ(v string) predicate.Link
- func SiteURLNotIn(vs ...string) predicate.Link
- func UserID(v uint32) predicate.Link
- func UserIDEQ(v uint32) predicate.Link
- func UserIDGT(v uint32) predicate.Link
- func UserIDGTE(v uint32) predicate.Link
- func UserIDIn(vs ...uint32) predicate.Link
- func UserIDLT(v uint32) predicate.Link
- func UserIDLTE(v uint32) predicate.Link
- func UserIDNEQ(v uint32) predicate.Link
- func UserIDNotIn(vs ...uint32) predicate.Link
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the link type in the database. Label = "link" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldNameJa holds the string denoting the name_ja field in the database. FieldNameJa = "name_ja" // FieldSiteURL holds the string denoting the site_url field in the database. FieldSiteURL = "site_url" // FieldFaviconURL holds the string denoting the favicon_url field in the database. FieldFaviconURL = "favicon_url" // FieldCategoryID holds the string denoting the category_id field in the database. FieldCategoryID = "category_id" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldModified holds the string denoting the modified field in the database. FieldModified = "modified" // Table holds the table name of the link in the database. Table = "links" )
Variables ¶
var ( // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // DefaultModified holds the default value on creation for the "modified" field. DefaultModified func() time.Time // UpdateDefaultModified holds the default value on update for the "modified" field. UpdateDefaultModified func() time.Time )
var Columns = []string{ FieldID, FieldUserID, FieldName, FieldNameJa, FieldSiteURL, FieldFaviconURL, FieldCategoryID, FieldCreated, FieldModified, }
Columns holds all SQL columns for link fields.
Functions ¶
func CategoryID ¶
CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.
func CategoryIDEQ ¶
CategoryIDEQ applies the EQ predicate on the "category_id" field.
func CategoryIDGT ¶
CategoryIDGT applies the GT predicate on the "category_id" field.
func CategoryIDGTE ¶
CategoryIDGTE applies the GTE predicate on the "category_id" field.
func CategoryIDIn ¶
CategoryIDIn applies the In predicate on the "category_id" field.
func CategoryIDLT ¶
CategoryIDLT applies the LT predicate on the "category_id" field.
func CategoryIDLTE ¶
CategoryIDLTE applies the LTE predicate on the "category_id" field.
func CategoryIDNEQ ¶
CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
func CategoryIDNotIn ¶
CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func FaviconURL ¶
FaviconURL applies equality check predicate on the "favicon_url" field. It's identical to FaviconURLEQ.
func FaviconURLContains ¶
FaviconURLContains applies the Contains predicate on the "favicon_url" field.
func FaviconURLContainsFold ¶
FaviconURLContainsFold applies the ContainsFold predicate on the "favicon_url" field.
func FaviconURLEQ ¶
FaviconURLEQ applies the EQ predicate on the "favicon_url" field.
func FaviconURLEqualFold ¶
FaviconURLEqualFold applies the EqualFold predicate on the "favicon_url" field.
func FaviconURLGT ¶
FaviconURLGT applies the GT predicate on the "favicon_url" field.
func FaviconURLGTE ¶
FaviconURLGTE applies the GTE predicate on the "favicon_url" field.
func FaviconURLHasPrefix ¶
FaviconURLHasPrefix applies the HasPrefix predicate on the "favicon_url" field.
func FaviconURLHasSuffix ¶
FaviconURLHasSuffix applies the HasSuffix predicate on the "favicon_url" field.
func FaviconURLIn ¶
FaviconURLIn applies the In predicate on the "favicon_url" field.
func FaviconURLIsNil ¶
FaviconURLIsNil applies the IsNil predicate on the "favicon_url" field.
func FaviconURLLT ¶
FaviconURLLT applies the LT predicate on the "favicon_url" field.
func FaviconURLLTE ¶
FaviconURLLTE applies the LTE predicate on the "favicon_url" field.
func FaviconURLNEQ ¶
FaviconURLNEQ applies the NEQ predicate on the "favicon_url" field.
func FaviconURLNotIn ¶
FaviconURLNotIn applies the NotIn predicate on the "favicon_url" field.
func FaviconURLNotNil ¶
FaviconURLNotNil applies the NotNil predicate on the "favicon_url" field.
func Modified ¶
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedLT ¶
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameJa ¶
NameJa applies equality check predicate on the "name_ja" field. It's identical to NameJaEQ.
func NameJaContains ¶
NameJaContains applies the Contains predicate on the "name_ja" field.
func NameJaContainsFold ¶
NameJaContainsFold applies the ContainsFold predicate on the "name_ja" field.
func NameJaEqualFold ¶
NameJaEqualFold applies the EqualFold predicate on the "name_ja" field.
func NameJaHasPrefix ¶
NameJaHasPrefix applies the HasPrefix predicate on the "name_ja" field.
func NameJaHasSuffix ¶
NameJaHasSuffix applies the HasSuffix predicate on the "name_ja" field.
func NameJaNotIn ¶
NameJaNotIn applies the NotIn predicate on the "name_ja" field.
func SiteURL ¶
SiteURL applies equality check predicate on the "site_url" field. It's identical to SiteURLEQ.
func SiteURLContains ¶
SiteURLContains applies the Contains predicate on the "site_url" field.
func SiteURLContainsFold ¶
SiteURLContainsFold applies the ContainsFold predicate on the "site_url" field.
func SiteURLEqualFold ¶
SiteURLEqualFold applies the EqualFold predicate on the "site_url" field.
func SiteURLGTE ¶
SiteURLGTE applies the GTE predicate on the "site_url" field.
func SiteURLHasPrefix ¶
SiteURLHasPrefix applies the HasPrefix predicate on the "site_url" field.
func SiteURLHasSuffix ¶
SiteURLHasSuffix applies the HasSuffix predicate on the "site_url" field.
func SiteURLLTE ¶
SiteURLLTE applies the LTE predicate on the "site_url" field.
func SiteURLNEQ ¶
SiteURLNEQ applies the NEQ predicate on the "site_url" field.
func SiteURLNotIn ¶
SiteURLNotIn applies the NotIn predicate on the "site_url" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.