manga

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 manga type in the database.
	Label = "manga"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMangaID holds the string denoting the mangaid field in the database.
	FieldMangaID = "manga_id"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldMapping holds the string denoting the mapping field in the database.
	FieldMapping = "mapping"
	// FieldRegisteredOn holds the string denoting the registeredon field in the database.
	FieldRegisteredOn = "registered_on"
	// FieldFilteredGroups holds the string denoting the filteredgroups field in the database.
	FieldFilteredGroups = "filtered_groups"
	// EdgeChapters holds the string denoting the chapters edge name in mutations.
	EdgeChapters = "Chapters"
	// Table holds the table name of the manga in the database.
	Table = "mangas"
	// ChaptersTable is the table that holds the Chapters relation/edge.
	ChaptersTable = "chapters"
	// ChaptersInverseTable is the table name for the Chapter entity.
	// It exists in this package in order to avoid circular dependency with the "chapter" package.
	ChaptersInverseTable = "chapters"
	// ChaptersColumn is the table column denoting the Chapters relation/edge.
	ChaptersColumn = "manga_chapters"
)

Variables

Columns holds all SQL columns for manga fields.

Functions

func And

func And(predicates ...predicate.Manga) predicate.Manga

And groups predicates with the AND operator between them.

func HasChapters

func HasChapters() predicate.Manga

HasChapters applies the HasEdge predicate on the "Chapters" edge.

func HasChaptersWith

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

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

func ID

func ID(id int) predicate.Manga

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Manga

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Manga

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Manga

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Manga

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Manga

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Manga

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MangaID

func MangaID(v string) predicate.Manga

MangaID applies equality check predicate on the "MangaID" field. It's identical to MangaIDEQ.

func MangaIDContains

func MangaIDContains(v string) predicate.Manga

MangaIDContains applies the Contains predicate on the "MangaID" field.

func MangaIDContainsFold

func MangaIDContainsFold(v string) predicate.Manga

MangaIDContainsFold applies the ContainsFold predicate on the "MangaID" field.

func MangaIDEQ

func MangaIDEQ(v string) predicate.Manga

MangaIDEQ applies the EQ predicate on the "MangaID" field.

func MangaIDEqualFold

func MangaIDEqualFold(v string) predicate.Manga

MangaIDEqualFold applies the EqualFold predicate on the "MangaID" field.

func MangaIDGT

func MangaIDGT(v string) predicate.Manga

MangaIDGT applies the GT predicate on the "MangaID" field.

func MangaIDGTE

func MangaIDGTE(v string) predicate.Manga

MangaIDGTE applies the GTE predicate on the "MangaID" field.

func MangaIDHasPrefix

func MangaIDHasPrefix(v string) predicate.Manga

MangaIDHasPrefix applies the HasPrefix predicate on the "MangaID" field.

func MangaIDHasSuffix

func MangaIDHasSuffix(v string) predicate.Manga

MangaIDHasSuffix applies the HasSuffix predicate on the "MangaID" field.

func MangaIDIn

func MangaIDIn(vs ...string) predicate.Manga

MangaIDIn applies the In predicate on the "MangaID" field.

func MangaIDLT

func MangaIDLT(v string) predicate.Manga

MangaIDLT applies the LT predicate on the "MangaID" field.

func MangaIDLTE

func MangaIDLTE(v string) predicate.Manga

MangaIDLTE applies the LTE predicate on the "MangaID" field.

func MangaIDNEQ

func MangaIDNEQ(v string) predicate.Manga

MangaIDNEQ applies the NEQ predicate on the "MangaID" field.

func MangaIDNotIn

func MangaIDNotIn(vs ...string) predicate.Manga

MangaIDNotIn applies the NotIn predicate on the "MangaID" field.

func Mapping

func Mapping(v string) predicate.Manga

Mapping applies equality check predicate on the "Mapping" field. It's identical to MappingEQ.

func MappingContains

func MappingContains(v string) predicate.Manga

MappingContains applies the Contains predicate on the "Mapping" field.

func MappingContainsFold

func MappingContainsFold(v string) predicate.Manga

MappingContainsFold applies the ContainsFold predicate on the "Mapping" field.

func MappingEQ

func MappingEQ(v string) predicate.Manga

MappingEQ applies the EQ predicate on the "Mapping" field.

func MappingEqualFold

func MappingEqualFold(v string) predicate.Manga

MappingEqualFold applies the EqualFold predicate on the "Mapping" field.

func MappingGT

func MappingGT(v string) predicate.Manga

MappingGT applies the GT predicate on the "Mapping" field.

func MappingGTE

func MappingGTE(v string) predicate.Manga

MappingGTE applies the GTE predicate on the "Mapping" field.

func MappingHasPrefix

func MappingHasPrefix(v string) predicate.Manga

MappingHasPrefix applies the HasPrefix predicate on the "Mapping" field.

func MappingHasSuffix

func MappingHasSuffix(v string) predicate.Manga

MappingHasSuffix applies the HasSuffix predicate on the "Mapping" field.

func MappingIn

func MappingIn(vs ...string) predicate.Manga

MappingIn applies the In predicate on the "Mapping" field.

func MappingLT

func MappingLT(v string) predicate.Manga

MappingLT applies the LT predicate on the "Mapping" field.

func MappingLTE

func MappingLTE(v string) predicate.Manga

MappingLTE applies the LTE predicate on the "Mapping" field.

func MappingNEQ

func MappingNEQ(v string) predicate.Manga

MappingNEQ applies the NEQ predicate on the "Mapping" field.

func MappingNotIn

func MappingNotIn(vs ...string) predicate.Manga

MappingNotIn applies the NotIn predicate on the "Mapping" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Manga) predicate.Manga

Or groups predicates with the OR operator between them.

func RegisteredOn

func RegisteredOn(v time.Time) predicate.Manga

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

func RegisteredOnEQ

func RegisteredOnEQ(v time.Time) predicate.Manga

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

func RegisteredOnGT

func RegisteredOnGT(v time.Time) predicate.Manga

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

func RegisteredOnGTE

func RegisteredOnGTE(v time.Time) predicate.Manga

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

func RegisteredOnIn

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

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

func RegisteredOnLT

func RegisteredOnLT(v time.Time) predicate.Manga

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

func RegisteredOnLTE

func RegisteredOnLTE(v time.Time) predicate.Manga

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

func RegisteredOnNEQ

func RegisteredOnNEQ(v time.Time) predicate.Manga

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

func RegisteredOnNotIn

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

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

func Source

func Source(v string) predicate.Manga

Source applies equality check predicate on the "Source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Manga

SourceContains applies the Contains predicate on the "Source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Manga

SourceContainsFold applies the ContainsFold predicate on the "Source" field.

func SourceEQ

func SourceEQ(v string) predicate.Manga

SourceEQ applies the EQ predicate on the "Source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Manga

SourceEqualFold applies the EqualFold predicate on the "Source" field.

func SourceGT

func SourceGT(v string) predicate.Manga

SourceGT applies the GT predicate on the "Source" field.

func SourceGTE

func SourceGTE(v string) predicate.Manga

SourceGTE applies the GTE predicate on the "Source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Manga

SourceHasPrefix applies the HasPrefix predicate on the "Source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Manga

SourceHasSuffix applies the HasSuffix predicate on the "Source" field.

func SourceIn

func SourceIn(vs ...string) predicate.Manga

SourceIn applies the In predicate on the "Source" field.

func SourceLT

func SourceLT(v string) predicate.Manga

SourceLT applies the LT predicate on the "Source" field.

func SourceLTE

func SourceLTE(v string) predicate.Manga

SourceLTE applies the LTE predicate on the "Source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Manga

SourceNEQ applies the NEQ predicate on the "Source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.Manga

SourceNotIn applies the NotIn predicate on the "Source" field.

func Title

func Title(v string) predicate.Manga

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

func TitleContains

func TitleContains(v string) predicate.Manga

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.Manga

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

func TitleEQ

func TitleEQ(v string) predicate.Manga

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.Manga

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

func TitleGT

func TitleGT(v string) predicate.Manga

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

func TitleGTE

func TitleGTE(v string) predicate.Manga

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Manga

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Manga

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

func TitleIn

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

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

func TitleLT

func TitleLT(v string) predicate.Manga

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

func TitleLTE

func TitleLTE(v string) predicate.Manga

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

func TitleNEQ

func TitleNEQ(v string) predicate.Manga

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

func TitleNotIn

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

TitleNotIn applies the NotIn 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