Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Chapter) predicate.Chapter
- func ChapterID(v string) predicate.Chapter
- func ChapterIDContains(v string) predicate.Chapter
- func ChapterIDContainsFold(v string) predicate.Chapter
- func ChapterIDEQ(v string) predicate.Chapter
- func ChapterIDEqualFold(v string) predicate.Chapter
- func ChapterIDGT(v string) predicate.Chapter
- func ChapterIDGTE(v string) predicate.Chapter
- func ChapterIDHasPrefix(v string) predicate.Chapter
- func ChapterIDHasSuffix(v string) predicate.Chapter
- func ChapterIDIn(vs ...string) predicate.Chapter
- func ChapterIDLT(v string) predicate.Chapter
- func ChapterIDLTE(v string) predicate.Chapter
- func ChapterIDNEQ(v string) predicate.Chapter
- func ChapterIDNotIn(vs ...string) predicate.Chapter
- func CreatedOn(v time.Time) predicate.Chapter
- func CreatedOnEQ(v time.Time) predicate.Chapter
- func CreatedOnGT(v time.Time) predicate.Chapter
- func CreatedOnGTE(v time.Time) predicate.Chapter
- func CreatedOnIn(vs ...time.Time) predicate.Chapter
- func CreatedOnIsNil() predicate.Chapter
- func CreatedOnLT(v time.Time) predicate.Chapter
- func CreatedOnLTE(v time.Time) predicate.Chapter
- func CreatedOnNEQ(v time.Time) predicate.Chapter
- func CreatedOnNotIn(vs ...time.Time) predicate.Chapter
- func CreatedOnNotNil() predicate.Chapter
- func HasManga() predicate.Chapter
- func HasMangaWith(preds ...predicate.Manga) predicate.Chapter
- func ID(id int) predicate.Chapter
- func IDEQ(id int) predicate.Chapter
- func IDGT(id int) predicate.Chapter
- func IDGTE(id int) predicate.Chapter
- func IDIn(ids ...int) predicate.Chapter
- func IDLT(id int) predicate.Chapter
- func IDLTE(id int) predicate.Chapter
- func IDNEQ(id int) predicate.Chapter
- func IDNotIn(ids ...int) predicate.Chapter
- func Not(p predicate.Chapter) predicate.Chapter
- func Num(v string) predicate.Chapter
- func NumContains(v string) predicate.Chapter
- func NumContainsFold(v string) predicate.Chapter
- func NumEQ(v string) predicate.Chapter
- func NumEqualFold(v string) predicate.Chapter
- func NumGT(v string) predicate.Chapter
- func NumGTE(v string) predicate.Chapter
- func NumHasPrefix(v string) predicate.Chapter
- func NumHasSuffix(v string) predicate.Chapter
- func NumIn(vs ...string) predicate.Chapter
- func NumLT(v string) predicate.Chapter
- func NumLTE(v string) predicate.Chapter
- func NumNEQ(v string) predicate.Chapter
- func NumNotIn(vs ...string) predicate.Chapter
- func Or(predicates ...predicate.Chapter) predicate.Chapter
- func RegisteredOn(v time.Time) predicate.Chapter
- func RegisteredOnEQ(v time.Time) predicate.Chapter
- func RegisteredOnGT(v time.Time) predicate.Chapter
- func RegisteredOnGTE(v time.Time) predicate.Chapter
- func RegisteredOnIn(vs ...time.Time) predicate.Chapter
- func RegisteredOnLT(v time.Time) predicate.Chapter
- func RegisteredOnLTE(v time.Time) predicate.Chapter
- func RegisteredOnNEQ(v time.Time) predicate.Chapter
- func RegisteredOnNotIn(vs ...time.Time) predicate.Chapter
- func Title(v string) predicate.Chapter
- func TitleContains(v string) predicate.Chapter
- func TitleContainsFold(v string) predicate.Chapter
- func TitleEQ(v string) predicate.Chapter
- func TitleEqualFold(v string) predicate.Chapter
- func TitleGT(v string) predicate.Chapter
- func TitleGTE(v string) predicate.Chapter
- func TitleHasPrefix(v string) predicate.Chapter
- func TitleHasSuffix(v string) predicate.Chapter
- func TitleIn(vs ...string) predicate.Chapter
- func TitleIsNil() predicate.Chapter
- func TitleLT(v string) predicate.Chapter
- func TitleLTE(v string) predicate.Chapter
- func TitleNEQ(v string) predicate.Chapter
- func TitleNotIn(vs ...string) predicate.Chapter
- func TitleNotNil() predicate.Chapter
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the chapter type in the database. Label = "chapter" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldChapterID holds the string denoting the chapterid field in the database. FieldChapterID = "chapter_id" // FieldNum holds the string denoting the num field in the database. FieldNum = "num" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldCreatedOn holds the string denoting the createdon field in the database. FieldCreatedOn = "created_on" // FieldRegisteredOn holds the string denoting the registeredon field in the database. FieldRegisteredOn = "registered_on" // EdgeManga holds the string denoting the manga edge name in mutations. EdgeManga = "Manga" // Table holds the table name of the chapter in the database. Table = "chapters" // MangaTable is the table that holds the Manga relation/edge. MangaTable = "chapters" // MangaInverseTable is the table name for the Manga entity. // It exists in this package in order to avoid circular dependency with the "manga" package. MangaInverseTable = "mangas" // MangaColumn is the table column denoting the Manga relation/edge. MangaColumn = "manga_chapters" )
Variables ¶
var Columns = []string{ FieldID, FieldChapterID, FieldNum, FieldTitle, FieldCreatedOn, FieldRegisteredOn, }
Columns holds all SQL columns for chapter fields.
var ForeignKeys = []string{
"manga_chapters",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "chapters" table and are not defined as standalone fields in the schema.
Functions ¶
func ChapterID ¶
ChapterID applies equality check predicate on the "ChapterID" field. It's identical to ChapterIDEQ.
func ChapterIDContains ¶
ChapterIDContains applies the Contains predicate on the "ChapterID" field.
func ChapterIDContainsFold ¶
ChapterIDContainsFold applies the ContainsFold predicate on the "ChapterID" field.
func ChapterIDEQ ¶
ChapterIDEQ applies the EQ predicate on the "ChapterID" field.
func ChapterIDEqualFold ¶
ChapterIDEqualFold applies the EqualFold predicate on the "ChapterID" field.
func ChapterIDGT ¶
ChapterIDGT applies the GT predicate on the "ChapterID" field.
func ChapterIDGTE ¶
ChapterIDGTE applies the GTE predicate on the "ChapterID" field.
func ChapterIDHasPrefix ¶
ChapterIDHasPrefix applies the HasPrefix predicate on the "ChapterID" field.
func ChapterIDHasSuffix ¶
ChapterIDHasSuffix applies the HasSuffix predicate on the "ChapterID" field.
func ChapterIDIn ¶
ChapterIDIn applies the In predicate on the "ChapterID" field.
func ChapterIDLT ¶
ChapterIDLT applies the LT predicate on the "ChapterID" field.
func ChapterIDLTE ¶
ChapterIDLTE applies the LTE predicate on the "ChapterID" field.
func ChapterIDNEQ ¶
ChapterIDNEQ applies the NEQ predicate on the "ChapterID" field.
func ChapterIDNotIn ¶
ChapterIDNotIn applies the NotIn predicate on the "ChapterID" field.
func CreatedOn ¶
CreatedOn applies equality check predicate on the "CreatedOn" field. It's identical to CreatedOnEQ.
func CreatedOnEQ ¶
CreatedOnEQ applies the EQ predicate on the "CreatedOn" field.
func CreatedOnGT ¶
CreatedOnGT applies the GT predicate on the "CreatedOn" field.
func CreatedOnGTE ¶
CreatedOnGTE applies the GTE predicate on the "CreatedOn" field.
func CreatedOnIn ¶
CreatedOnIn applies the In predicate on the "CreatedOn" field.
func CreatedOnIsNil ¶
CreatedOnIsNil applies the IsNil predicate on the "CreatedOn" field.
func CreatedOnLT ¶
CreatedOnLT applies the LT predicate on the "CreatedOn" field.
func CreatedOnLTE ¶
CreatedOnLTE applies the LTE predicate on the "CreatedOn" field.
func CreatedOnNEQ ¶
CreatedOnNEQ applies the NEQ predicate on the "CreatedOn" field.
func CreatedOnNotIn ¶
CreatedOnNotIn applies the NotIn predicate on the "CreatedOn" field.
func CreatedOnNotNil ¶
CreatedOnNotNil applies the NotNil predicate on the "CreatedOn" field.
func HasMangaWith ¶
HasMangaWith applies the HasEdge predicate on the "Manga" edge with a given conditions (other predicates).
func NumContains ¶
NumContains applies the Contains predicate on the "Num" field.
func NumContainsFold ¶
NumContainsFold applies the ContainsFold predicate on the "Num" field.
func NumEqualFold ¶
NumEqualFold applies the EqualFold predicate on the "Num" field.
func NumHasPrefix ¶
NumHasPrefix applies the HasPrefix predicate on the "Num" field.
func NumHasSuffix ¶
NumHasSuffix applies the HasSuffix predicate on the "Num" field.
func RegisteredOn ¶
RegisteredOn applies equality check predicate on the "RegisteredOn" field. It's identical to RegisteredOnEQ.
func RegisteredOnEQ ¶
RegisteredOnEQ applies the EQ predicate on the "RegisteredOn" field.
func RegisteredOnGT ¶
RegisteredOnGT applies the GT predicate on the "RegisteredOn" field.
func RegisteredOnGTE ¶
RegisteredOnGTE applies the GTE predicate on the "RegisteredOn" field.
func RegisteredOnIn ¶
RegisteredOnIn applies the In predicate on the "RegisteredOn" field.
func RegisteredOnLT ¶
RegisteredOnLT applies the LT predicate on the "RegisteredOn" field.
func RegisteredOnLTE ¶
RegisteredOnLTE applies the LTE predicate on the "RegisteredOn" field.
func RegisteredOnNEQ ¶
RegisteredOnNEQ applies the NEQ predicate on the "RegisteredOn" field.
func RegisteredOnNotIn ¶
RegisteredOnNotIn applies the NotIn predicate on the "RegisteredOn" field.
func Title ¶
Title applies equality check predicate on the "Title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "Title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "Title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "Title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "Title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "Title" field.
func TitleIsNil ¶
TitleIsNil applies the IsNil predicate on the "Title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "Title" field.
func TitleNotNil ¶
TitleNotNil applies the NotNil predicate on the "Title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.