chapter

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for chapter fields.

View Source
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 And

func And(predicates ...predicate.Chapter) predicate.Chapter

And groups predicates with the AND operator between them.

func ChapterID

func ChapterID(v string) predicate.Chapter

ChapterID applies equality check predicate on the "ChapterID" field. It's identical to ChapterIDEQ.

func ChapterIDContains

func ChapterIDContains(v string) predicate.Chapter

ChapterIDContains applies the Contains predicate on the "ChapterID" field.

func ChapterIDContainsFold

func ChapterIDContainsFold(v string) predicate.Chapter

ChapterIDContainsFold applies the ContainsFold predicate on the "ChapterID" field.

func ChapterIDEQ

func ChapterIDEQ(v string) predicate.Chapter

ChapterIDEQ applies the EQ predicate on the "ChapterID" field.

func ChapterIDEqualFold

func ChapterIDEqualFold(v string) predicate.Chapter

ChapterIDEqualFold applies the EqualFold predicate on the "ChapterID" field.

func ChapterIDGT

func ChapterIDGT(v string) predicate.Chapter

ChapterIDGT applies the GT predicate on the "ChapterID" field.

func ChapterIDGTE

func ChapterIDGTE(v string) predicate.Chapter

ChapterIDGTE applies the GTE predicate on the "ChapterID" field.

func ChapterIDHasPrefix

func ChapterIDHasPrefix(v string) predicate.Chapter

ChapterIDHasPrefix applies the HasPrefix predicate on the "ChapterID" field.

func ChapterIDHasSuffix

func ChapterIDHasSuffix(v string) predicate.Chapter

ChapterIDHasSuffix applies the HasSuffix predicate on the "ChapterID" field.

func ChapterIDIn

func ChapterIDIn(vs ...string) predicate.Chapter

ChapterIDIn applies the In predicate on the "ChapterID" field.

func ChapterIDLT

func ChapterIDLT(v string) predicate.Chapter

ChapterIDLT applies the LT predicate on the "ChapterID" field.

func ChapterIDLTE

func ChapterIDLTE(v string) predicate.Chapter

ChapterIDLTE applies the LTE predicate on the "ChapterID" field.

func ChapterIDNEQ

func ChapterIDNEQ(v string) predicate.Chapter

ChapterIDNEQ applies the NEQ predicate on the "ChapterID" field.

func ChapterIDNotIn

func ChapterIDNotIn(vs ...string) predicate.Chapter

ChapterIDNotIn applies the NotIn predicate on the "ChapterID" field.

func CreatedOn

func CreatedOn(v time.Time) predicate.Chapter

CreatedOn applies equality check predicate on the "CreatedOn" field. It's identical to CreatedOnEQ.

func CreatedOnEQ

func CreatedOnEQ(v time.Time) predicate.Chapter

CreatedOnEQ applies the EQ predicate on the "CreatedOn" field.

func CreatedOnGT

func CreatedOnGT(v time.Time) predicate.Chapter

CreatedOnGT applies the GT predicate on the "CreatedOn" field.

func CreatedOnGTE

func CreatedOnGTE(v time.Time) predicate.Chapter

CreatedOnGTE applies the GTE predicate on the "CreatedOn" field.

func CreatedOnIn

func CreatedOnIn(vs ...time.Time) predicate.Chapter

CreatedOnIn applies the In predicate on the "CreatedOn" field.

func CreatedOnIsNil

func CreatedOnIsNil() predicate.Chapter

CreatedOnIsNil applies the IsNil predicate on the "CreatedOn" field.

func CreatedOnLT

func CreatedOnLT(v time.Time) predicate.Chapter

CreatedOnLT applies the LT predicate on the "CreatedOn" field.

func CreatedOnLTE

func CreatedOnLTE(v time.Time) predicate.Chapter

CreatedOnLTE applies the LTE predicate on the "CreatedOn" field.

func CreatedOnNEQ

func CreatedOnNEQ(v time.Time) predicate.Chapter

CreatedOnNEQ applies the NEQ predicate on the "CreatedOn" field.

func CreatedOnNotIn

func CreatedOnNotIn(vs ...time.Time) predicate.Chapter

CreatedOnNotIn applies the NotIn predicate on the "CreatedOn" field.

func CreatedOnNotNil

func CreatedOnNotNil() predicate.Chapter

CreatedOnNotNil applies the NotNil predicate on the "CreatedOn" field.

func HasManga

func HasManga() predicate.Chapter

HasManga applies the HasEdge predicate on the "Manga" edge.

func HasMangaWith

func HasMangaWith(preds ...predicate.Manga) predicate.Chapter

HasMangaWith applies the HasEdge predicate on the "Manga" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Chapter

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Chapter

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Chapter

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Chapter

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Chapter

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Chapter

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Chapter

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Chapter

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Chapter

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Num

func Num(v string) predicate.Chapter

Num applies equality check predicate on the "Num" field. It's identical to NumEQ.

func NumContains

func NumContains(v string) predicate.Chapter

NumContains applies the Contains predicate on the "Num" field.

func NumContainsFold

func NumContainsFold(v string) predicate.Chapter

NumContainsFold applies the ContainsFold predicate on the "Num" field.

func NumEQ

func NumEQ(v string) predicate.Chapter

NumEQ applies the EQ predicate on the "Num" field.

func NumEqualFold

func NumEqualFold(v string) predicate.Chapter

NumEqualFold applies the EqualFold predicate on the "Num" field.

func NumGT

func NumGT(v string) predicate.Chapter

NumGT applies the GT predicate on the "Num" field.

func NumGTE

func NumGTE(v string) predicate.Chapter

NumGTE applies the GTE predicate on the "Num" field.

func NumHasPrefix

func NumHasPrefix(v string) predicate.Chapter

NumHasPrefix applies the HasPrefix predicate on the "Num" field.

func NumHasSuffix

func NumHasSuffix(v string) predicate.Chapter

NumHasSuffix applies the HasSuffix predicate on the "Num" field.

func NumIn

func NumIn(vs ...string) predicate.Chapter

NumIn applies the In predicate on the "Num" field.

func NumLT

func NumLT(v string) predicate.Chapter

NumLT applies the LT predicate on the "Num" field.

func NumLTE

func NumLTE(v string) predicate.Chapter

NumLTE applies the LTE predicate on the "Num" field.

func NumNEQ

func NumNEQ(v string) predicate.Chapter

NumNEQ applies the NEQ predicate on the "Num" field.

func NumNotIn

func NumNotIn(vs ...string) predicate.Chapter

NumNotIn applies the NotIn predicate on the "Num" field.

func Or

func Or(predicates ...predicate.Chapter) predicate.Chapter

Or groups predicates with the OR operator between them.

func RegisteredOn

func RegisteredOn(v time.Time) predicate.Chapter

RegisteredOn applies equality check predicate on the "RegisteredOn" field. It's identical to RegisteredOnEQ.

func RegisteredOnEQ

func RegisteredOnEQ(v time.Time) predicate.Chapter

RegisteredOnEQ applies the EQ predicate on the "RegisteredOn" field.

func RegisteredOnGT

func RegisteredOnGT(v time.Time) predicate.Chapter

RegisteredOnGT applies the GT predicate on the "RegisteredOn" field.

func RegisteredOnGTE

func RegisteredOnGTE(v time.Time) predicate.Chapter

RegisteredOnGTE applies the GTE predicate on the "RegisteredOn" field.

func RegisteredOnIn

func RegisteredOnIn(vs ...time.Time) predicate.Chapter

RegisteredOnIn applies the In predicate on the "RegisteredOn" field.

func RegisteredOnLT

func RegisteredOnLT(v time.Time) predicate.Chapter

RegisteredOnLT applies the LT predicate on the "RegisteredOn" field.

func RegisteredOnLTE

func RegisteredOnLTE(v time.Time) predicate.Chapter

RegisteredOnLTE applies the LTE predicate on the "RegisteredOn" field.

func RegisteredOnNEQ

func RegisteredOnNEQ(v time.Time) predicate.Chapter

RegisteredOnNEQ applies the NEQ predicate on the "RegisteredOn" field.

func RegisteredOnNotIn

func RegisteredOnNotIn(vs ...time.Time) predicate.Chapter

RegisteredOnNotIn applies the NotIn predicate on the "RegisteredOn" field.

func Title

func Title(v string) predicate.Chapter

Title applies equality check predicate on the "Title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Chapter

TitleContains applies the Contains predicate on the "Title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Chapter

TitleContainsFold applies the ContainsFold predicate on the "Title" field.

func TitleEQ

func TitleEQ(v string) predicate.Chapter

TitleEQ applies the EQ predicate on the "Title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Chapter

TitleEqualFold applies the EqualFold predicate on the "Title" field.

func TitleGT

func TitleGT(v string) predicate.Chapter

TitleGT applies the GT predicate on the "Title" field.

func TitleGTE

func TitleGTE(v string) predicate.Chapter

TitleGTE applies the GTE predicate on the "Title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Chapter

TitleHasPrefix applies the HasPrefix predicate on the "Title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Chapter

TitleHasSuffix applies the HasSuffix predicate on the "Title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Chapter

TitleIn applies the In predicate on the "Title" field.

func TitleIsNil

func TitleIsNil() predicate.Chapter

TitleIsNil applies the IsNil predicate on the "Title" field.

func TitleLT

func TitleLT(v string) predicate.Chapter

TitleLT applies the LT predicate on the "Title" field.

func TitleLTE

func TitleLTE(v string) predicate.Chapter

TitleLTE applies the LTE predicate on the "Title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Chapter

TitleNEQ applies the NEQ predicate on the "Title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Chapter

TitleNotIn applies the NotIn predicate on the "Title" field.

func TitleNotNil

func TitleNotNil() predicate.Chapter

TitleNotNil applies the NotNil predicate on the "Title" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL