book

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the book type in the database.
	Label = "book"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldBookID holds the string denoting the bookid field in the database.
	FieldBookID = "book_id"
	// FieldOwner holds the string denoting the owner field in the database.
	FieldOwner = "owner"
	// FieldFilePath holds the string denoting the filepath field in the database.
	FieldFilePath = "file_path"
	// FieldBookStorePath holds the string denoting the bookstorepath field in the database.
	FieldBookStorePath = "book_store_path"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldChildBookNum holds the string denoting the childbooknum field in the database.
	FieldChildBookNum = "child_book_num"
	// FieldDepth holds the string denoting the depth field in the database.
	FieldDepth = "depth"
	// FieldParentFolder holds the string denoting the parentfolder field in the database.
	FieldParentFolder = "parent_folder"
	// FieldPageCount holds the string denoting the pagecount field in the database.
	FieldPageCount = "page_count"
	// FieldFileSize holds the string denoting the filesize field in the database.
	FieldFileSize = "file_size"
	// FieldAuthors holds the string denoting the authors field in the database.
	FieldAuthors = "authors"
	// FieldISBN holds the string denoting the isbn field in the database.
	FieldISBN = "isbn"
	// FieldPress holds the string denoting the press field in the database.
	FieldPress = "press"
	// FieldPublishedAt holds the string denoting the publishedat field in the database.
	FieldPublishedAt = "published_at"
	// FieldExtractPath holds the string denoting the extractpath field in the database.
	FieldExtractPath = "extract_path"
	// FieldModified holds the string denoting the modified field in the database.
	FieldModified = "modified"
	// FieldExtractNum holds the string denoting the extractnum field in the database.
	FieldExtractNum = "extract_num"
	// FieldInitComplete holds the string denoting the initcomplete field in the database.
	FieldInitComplete = "init_complete"
	// FieldReadPercent holds the string denoting the readpercent field in the database.
	FieldReadPercent = "read_percent"
	// FieldNonUTF8Zip holds the string denoting the nonutf8zip field in the database.
	FieldNonUTF8Zip = "non_utf8zip"
	// FieldZipTextEncoding holds the string denoting the ziptextencoding field in the database.
	FieldZipTextEncoding = "zip_text_encoding"
	// EdgePageInfos holds the string denoting the pageinfos edge name in mutations.
	EdgePageInfos = "PageInfos"
	// Table holds the table name of the book in the database.
	Table = "books"
	// PageInfosTable is the table that holds the PageInfos relation/edge.
	PageInfosTable = "single_page_infos"
	// PageInfosInverseTable is the table name for the SinglePageInfo entity.
	// It exists in this package in order to avoid circular dependency with the "singlepageinfo" package.
	PageInfosInverseTable = "single_page_infos"
	// PageInfosColumn is the table column denoting the PageInfos relation/edge.
	PageInfosColumn = "book_page_infos"
)

Variables

View Source
var (
	// TitleValidator is a validator for the "Title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// DefaultOwner holds the default value on creation for the "Owner" field.
	DefaultOwner string
	// ChildBookNumValidator is a validator for the "ChildBookNum" field. It is called by the builders before save.
	ChildBookNumValidator func(int) error
	// DepthValidator is a validator for the "Depth" field. It is called by the builders before save.
	DepthValidator func(int) error
	// PageCountValidator is a validator for the "PageCount" field. It is called by the builders before save.
	PageCountValidator func(int) error
	// DefaultModified holds the default value on creation for the "Modified" field.
	DefaultModified func() time.Time
)

Columns holds all SQL columns for book fields.

Functions

func And

func And(predicates ...predicate.Book) predicate.Book

And groups predicates with the AND operator between them.

func Authors

func Authors(v string) predicate.Book

Authors applies equality check predicate on the "Authors" field. It's identical to AuthorsEQ.

func AuthorsContains

func AuthorsContains(v string) predicate.Book

AuthorsContains applies the Contains predicate on the "Authors" field.

func AuthorsContainsFold

func AuthorsContainsFold(v string) predicate.Book

AuthorsContainsFold applies the ContainsFold predicate on the "Authors" field.

func AuthorsEQ

func AuthorsEQ(v string) predicate.Book

AuthorsEQ applies the EQ predicate on the "Authors" field.

func AuthorsEqualFold

func AuthorsEqualFold(v string) predicate.Book

AuthorsEqualFold applies the EqualFold predicate on the "Authors" field.

func AuthorsGT

func AuthorsGT(v string) predicate.Book

AuthorsGT applies the GT predicate on the "Authors" field.

func AuthorsGTE

func AuthorsGTE(v string) predicate.Book

AuthorsGTE applies the GTE predicate on the "Authors" field.

func AuthorsHasPrefix

func AuthorsHasPrefix(v string) predicate.Book

AuthorsHasPrefix applies the HasPrefix predicate on the "Authors" field.

func AuthorsHasSuffix

func AuthorsHasSuffix(v string) predicate.Book

AuthorsHasSuffix applies the HasSuffix predicate on the "Authors" field.

func AuthorsIn

func AuthorsIn(vs ...string) predicate.Book

AuthorsIn applies the In predicate on the "Authors" field.

func AuthorsLT

func AuthorsLT(v string) predicate.Book

AuthorsLT applies the LT predicate on the "Authors" field.

func AuthorsLTE

func AuthorsLTE(v string) predicate.Book

AuthorsLTE applies the LTE predicate on the "Authors" field.

func AuthorsNEQ

func AuthorsNEQ(v string) predicate.Book

AuthorsNEQ applies the NEQ predicate on the "Authors" field.

func AuthorsNotIn

func AuthorsNotIn(vs ...string) predicate.Book

AuthorsNotIn applies the NotIn predicate on the "Authors" field.

func BookID

func BookID(v string) predicate.Book

BookID applies equality check predicate on the "BookID" field. It's identical to BookIDEQ.

func BookIDContains

func BookIDContains(v string) predicate.Book

BookIDContains applies the Contains predicate on the "BookID" field.

func BookIDContainsFold

func BookIDContainsFold(v string) predicate.Book

BookIDContainsFold applies the ContainsFold predicate on the "BookID" field.

func BookIDEQ

func BookIDEQ(v string) predicate.Book

BookIDEQ applies the EQ predicate on the "BookID" field.

func BookIDEqualFold

func BookIDEqualFold(v string) predicate.Book

BookIDEqualFold applies the EqualFold predicate on the "BookID" field.

func BookIDGT

func BookIDGT(v string) predicate.Book

BookIDGT applies the GT predicate on the "BookID" field.

func BookIDGTE

func BookIDGTE(v string) predicate.Book

BookIDGTE applies the GTE predicate on the "BookID" field.

func BookIDHasPrefix

func BookIDHasPrefix(v string) predicate.Book

BookIDHasPrefix applies the HasPrefix predicate on the "BookID" field.

func BookIDHasSuffix

func BookIDHasSuffix(v string) predicate.Book

BookIDHasSuffix applies the HasSuffix predicate on the "BookID" field.

func BookIDIn

func BookIDIn(vs ...string) predicate.Book

BookIDIn applies the In predicate on the "BookID" field.

func BookIDLT

func BookIDLT(v string) predicate.Book

BookIDLT applies the LT predicate on the "BookID" field.

func BookIDLTE

func BookIDLTE(v string) predicate.Book

BookIDLTE applies the LTE predicate on the "BookID" field.

func BookIDNEQ

func BookIDNEQ(v string) predicate.Book

BookIDNEQ applies the NEQ predicate on the "BookID" field.

func BookIDNotIn

func BookIDNotIn(vs ...string) predicate.Book

BookIDNotIn applies the NotIn predicate on the "BookID" field.

func BookStorePath

func BookStorePath(v string) predicate.Book

BookStorePath applies equality check predicate on the "BookStorePath" field. It's identical to BookStorePathEQ.

func BookStorePathContains

func BookStorePathContains(v string) predicate.Book

BookStorePathContains applies the Contains predicate on the "BookStorePath" field.

func BookStorePathContainsFold

func BookStorePathContainsFold(v string) predicate.Book

BookStorePathContainsFold applies the ContainsFold predicate on the "BookStorePath" field.

func BookStorePathEQ

func BookStorePathEQ(v string) predicate.Book

BookStorePathEQ applies the EQ predicate on the "BookStorePath" field.

func BookStorePathEqualFold

func BookStorePathEqualFold(v string) predicate.Book

BookStorePathEqualFold applies the EqualFold predicate on the "BookStorePath" field.

func BookStorePathGT

func BookStorePathGT(v string) predicate.Book

BookStorePathGT applies the GT predicate on the "BookStorePath" field.

func BookStorePathGTE

func BookStorePathGTE(v string) predicate.Book

BookStorePathGTE applies the GTE predicate on the "BookStorePath" field.

func BookStorePathHasPrefix

func BookStorePathHasPrefix(v string) predicate.Book

BookStorePathHasPrefix applies the HasPrefix predicate on the "BookStorePath" field.

func BookStorePathHasSuffix

func BookStorePathHasSuffix(v string) predicate.Book

BookStorePathHasSuffix applies the HasSuffix predicate on the "BookStorePath" field.

func BookStorePathIn

func BookStorePathIn(vs ...string) predicate.Book

BookStorePathIn applies the In predicate on the "BookStorePath" field.

func BookStorePathLT

func BookStorePathLT(v string) predicate.Book

BookStorePathLT applies the LT predicate on the "BookStorePath" field.

func BookStorePathLTE

func BookStorePathLTE(v string) predicate.Book

BookStorePathLTE applies the LTE predicate on the "BookStorePath" field.

func BookStorePathNEQ

func BookStorePathNEQ(v string) predicate.Book

BookStorePathNEQ applies the NEQ predicate on the "BookStorePath" field.

func BookStorePathNotIn

func BookStorePathNotIn(vs ...string) predicate.Book

BookStorePathNotIn applies the NotIn predicate on the "BookStorePath" field.

func ChildBookNum

func ChildBookNum(v int) predicate.Book

ChildBookNum applies equality check predicate on the "ChildBookNum" field. It's identical to ChildBookNumEQ.

func ChildBookNumEQ

func ChildBookNumEQ(v int) predicate.Book

ChildBookNumEQ applies the EQ predicate on the "ChildBookNum" field.

func ChildBookNumGT

func ChildBookNumGT(v int) predicate.Book

ChildBookNumGT applies the GT predicate on the "ChildBookNum" field.

func ChildBookNumGTE

func ChildBookNumGTE(v int) predicate.Book

ChildBookNumGTE applies the GTE predicate on the "ChildBookNum" field.

func ChildBookNumIn

func ChildBookNumIn(vs ...int) predicate.Book

ChildBookNumIn applies the In predicate on the "ChildBookNum" field.

func ChildBookNumLT

func ChildBookNumLT(v int) predicate.Book

ChildBookNumLT applies the LT predicate on the "ChildBookNum" field.

func ChildBookNumLTE

func ChildBookNumLTE(v int) predicate.Book

ChildBookNumLTE applies the LTE predicate on the "ChildBookNum" field.

func ChildBookNumNEQ

func ChildBookNumNEQ(v int) predicate.Book

ChildBookNumNEQ applies the NEQ predicate on the "ChildBookNum" field.

func ChildBookNumNotIn

func ChildBookNumNotIn(vs ...int) predicate.Book

ChildBookNumNotIn applies the NotIn predicate on the "ChildBookNum" field.

func Depth

func Depth(v int) predicate.Book

Depth applies equality check predicate on the "Depth" field. It's identical to DepthEQ.

func DepthEQ

func DepthEQ(v int) predicate.Book

DepthEQ applies the EQ predicate on the "Depth" field.

func DepthGT

func DepthGT(v int) predicate.Book

DepthGT applies the GT predicate on the "Depth" field.

func DepthGTE

func DepthGTE(v int) predicate.Book

DepthGTE applies the GTE predicate on the "Depth" field.

func DepthIn

func DepthIn(vs ...int) predicate.Book

DepthIn applies the In predicate on the "Depth" field.

func DepthLT

func DepthLT(v int) predicate.Book

DepthLT applies the LT predicate on the "Depth" field.

func DepthLTE

func DepthLTE(v int) predicate.Book

DepthLTE applies the LTE predicate on the "Depth" field.

func DepthNEQ

func DepthNEQ(v int) predicate.Book

DepthNEQ applies the NEQ predicate on the "Depth" field.

func DepthNotIn

func DepthNotIn(vs ...int) predicate.Book

DepthNotIn applies the NotIn predicate on the "Depth" field.

func ExtractNum

func ExtractNum(v int) predicate.Book

ExtractNum applies equality check predicate on the "ExtractNum" field. It's identical to ExtractNumEQ.

func ExtractNumEQ

func ExtractNumEQ(v int) predicate.Book

ExtractNumEQ applies the EQ predicate on the "ExtractNum" field.

func ExtractNumGT

func ExtractNumGT(v int) predicate.Book

ExtractNumGT applies the GT predicate on the "ExtractNum" field.

func ExtractNumGTE

func ExtractNumGTE(v int) predicate.Book

ExtractNumGTE applies the GTE predicate on the "ExtractNum" field.

func ExtractNumIn

func ExtractNumIn(vs ...int) predicate.Book

ExtractNumIn applies the In predicate on the "ExtractNum" field.

func ExtractNumLT

func ExtractNumLT(v int) predicate.Book

ExtractNumLT applies the LT predicate on the "ExtractNum" field.

func ExtractNumLTE

func ExtractNumLTE(v int) predicate.Book

ExtractNumLTE applies the LTE predicate on the "ExtractNum" field.

func ExtractNumNEQ

func ExtractNumNEQ(v int) predicate.Book

ExtractNumNEQ applies the NEQ predicate on the "ExtractNum" field.

func ExtractNumNotIn

func ExtractNumNotIn(vs ...int) predicate.Book

ExtractNumNotIn applies the NotIn predicate on the "ExtractNum" field.

func ExtractPath

func ExtractPath(v string) predicate.Book

ExtractPath applies equality check predicate on the "ExtractPath" field. It's identical to ExtractPathEQ.

func ExtractPathContains

func ExtractPathContains(v string) predicate.Book

ExtractPathContains applies the Contains predicate on the "ExtractPath" field.

func ExtractPathContainsFold

func ExtractPathContainsFold(v string) predicate.Book

ExtractPathContainsFold applies the ContainsFold predicate on the "ExtractPath" field.

func ExtractPathEQ

func ExtractPathEQ(v string) predicate.Book

ExtractPathEQ applies the EQ predicate on the "ExtractPath" field.

func ExtractPathEqualFold

func ExtractPathEqualFold(v string) predicate.Book

ExtractPathEqualFold applies the EqualFold predicate on the "ExtractPath" field.

func ExtractPathGT

func ExtractPathGT(v string) predicate.Book

ExtractPathGT applies the GT predicate on the "ExtractPath" field.

func ExtractPathGTE

func ExtractPathGTE(v string) predicate.Book

ExtractPathGTE applies the GTE predicate on the "ExtractPath" field.

func ExtractPathHasPrefix

func ExtractPathHasPrefix(v string) predicate.Book

ExtractPathHasPrefix applies the HasPrefix predicate on the "ExtractPath" field.

func ExtractPathHasSuffix

func ExtractPathHasSuffix(v string) predicate.Book

ExtractPathHasSuffix applies the HasSuffix predicate on the "ExtractPath" field.

func ExtractPathIn

func ExtractPathIn(vs ...string) predicate.Book

ExtractPathIn applies the In predicate on the "ExtractPath" field.

func ExtractPathLT

func ExtractPathLT(v string) predicate.Book

ExtractPathLT applies the LT predicate on the "ExtractPath" field.

func ExtractPathLTE

func ExtractPathLTE(v string) predicate.Book

ExtractPathLTE applies the LTE predicate on the "ExtractPath" field.

func ExtractPathNEQ

func ExtractPathNEQ(v string) predicate.Book

ExtractPathNEQ applies the NEQ predicate on the "ExtractPath" field.

func ExtractPathNotIn

func ExtractPathNotIn(vs ...string) predicate.Book

ExtractPathNotIn applies the NotIn predicate on the "ExtractPath" field.

func FilePath

func FilePath(v string) predicate.Book

FilePath applies equality check predicate on the "FilePath" field. It's identical to FilePathEQ.

func FilePathContains

func FilePathContains(v string) predicate.Book

FilePathContains applies the Contains predicate on the "FilePath" field.

func FilePathContainsFold

func FilePathContainsFold(v string) predicate.Book

FilePathContainsFold applies the ContainsFold predicate on the "FilePath" field.

func FilePathEQ

func FilePathEQ(v string) predicate.Book

FilePathEQ applies the EQ predicate on the "FilePath" field.

func FilePathEqualFold

func FilePathEqualFold(v string) predicate.Book

FilePathEqualFold applies the EqualFold predicate on the "FilePath" field.

func FilePathGT

func FilePathGT(v string) predicate.Book

FilePathGT applies the GT predicate on the "FilePath" field.

func FilePathGTE

func FilePathGTE(v string) predicate.Book

FilePathGTE applies the GTE predicate on the "FilePath" field.

func FilePathHasPrefix

func FilePathHasPrefix(v string) predicate.Book

FilePathHasPrefix applies the HasPrefix predicate on the "FilePath" field.

func FilePathHasSuffix

func FilePathHasSuffix(v string) predicate.Book

FilePathHasSuffix applies the HasSuffix predicate on the "FilePath" field.

func FilePathIn

func FilePathIn(vs ...string) predicate.Book

FilePathIn applies the In predicate on the "FilePath" field.

func FilePathLT

func FilePathLT(v string) predicate.Book

FilePathLT applies the LT predicate on the "FilePath" field.

func FilePathLTE

func FilePathLTE(v string) predicate.Book

FilePathLTE applies the LTE predicate on the "FilePath" field.

func FilePathNEQ

func FilePathNEQ(v string) predicate.Book

FilePathNEQ applies the NEQ predicate on the "FilePath" field.

func FilePathNotIn

func FilePathNotIn(vs ...string) predicate.Book

FilePathNotIn applies the NotIn predicate on the "FilePath" field.

func FileSize

func FileSize(v int64) predicate.Book

FileSize applies equality check predicate on the "FileSize" field. It's identical to FileSizeEQ.

func FileSizeEQ

func FileSizeEQ(v int64) predicate.Book

FileSizeEQ applies the EQ predicate on the "FileSize" field.

func FileSizeGT

func FileSizeGT(v int64) predicate.Book

FileSizeGT applies the GT predicate on the "FileSize" field.

func FileSizeGTE

func FileSizeGTE(v int64) predicate.Book

FileSizeGTE applies the GTE predicate on the "FileSize" field.

func FileSizeIn

func FileSizeIn(vs ...int64) predicate.Book

FileSizeIn applies the In predicate on the "FileSize" field.

func FileSizeLT

func FileSizeLT(v int64) predicate.Book

FileSizeLT applies the LT predicate on the "FileSize" field.

func FileSizeLTE

func FileSizeLTE(v int64) predicate.Book

FileSizeLTE applies the LTE predicate on the "FileSize" field.

func FileSizeNEQ

func FileSizeNEQ(v int64) predicate.Book

FileSizeNEQ applies the NEQ predicate on the "FileSize" field.

func FileSizeNotIn

func FileSizeNotIn(vs ...int64) predicate.Book

FileSizeNotIn applies the NotIn predicate on the "FileSize" field.

func HasPageInfos

func HasPageInfos() predicate.Book

HasPageInfos applies the HasEdge predicate on the "PageInfos" edge.

func HasPageInfosWith

func HasPageInfosWith(preds ...predicate.SinglePageInfo) predicate.Book

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

func ID

func ID(id int) predicate.Book

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Book

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Book

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Book

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Book

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Book

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Book

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ISBN

func ISBN(v string) predicate.Book

ISBN applies equality check predicate on the "ISBN" field. It's identical to ISBNEQ.

func ISBNContains

func ISBNContains(v string) predicate.Book

ISBNContains applies the Contains predicate on the "ISBN" field.

func ISBNContainsFold

func ISBNContainsFold(v string) predicate.Book

ISBNContainsFold applies the ContainsFold predicate on the "ISBN" field.

func ISBNEQ

func ISBNEQ(v string) predicate.Book

ISBNEQ applies the EQ predicate on the "ISBN" field.

func ISBNEqualFold

func ISBNEqualFold(v string) predicate.Book

ISBNEqualFold applies the EqualFold predicate on the "ISBN" field.

func ISBNGT

func ISBNGT(v string) predicate.Book

ISBNGT applies the GT predicate on the "ISBN" field.

func ISBNGTE

func ISBNGTE(v string) predicate.Book

ISBNGTE applies the GTE predicate on the "ISBN" field.

func ISBNHasPrefix

func ISBNHasPrefix(v string) predicate.Book

ISBNHasPrefix applies the HasPrefix predicate on the "ISBN" field.

func ISBNHasSuffix

func ISBNHasSuffix(v string) predicate.Book

ISBNHasSuffix applies the HasSuffix predicate on the "ISBN" field.

func ISBNIn

func ISBNIn(vs ...string) predicate.Book

ISBNIn applies the In predicate on the "ISBN" field.

func ISBNLT

func ISBNLT(v string) predicate.Book

ISBNLT applies the LT predicate on the "ISBN" field.

func ISBNLTE

func ISBNLTE(v string) predicate.Book

ISBNLTE applies the LTE predicate on the "ISBN" field.

func ISBNNEQ

func ISBNNEQ(v string) predicate.Book

ISBNNEQ applies the NEQ predicate on the "ISBN" field.

func ISBNNotIn

func ISBNNotIn(vs ...string) predicate.Book

ISBNNotIn applies the NotIn predicate on the "ISBN" field.

func InitComplete

func InitComplete(v bool) predicate.Book

InitComplete applies equality check predicate on the "InitComplete" field. It's identical to InitCompleteEQ.

func InitCompleteEQ

func InitCompleteEQ(v bool) predicate.Book

InitCompleteEQ applies the EQ predicate on the "InitComplete" field.

func InitCompleteNEQ

func InitCompleteNEQ(v bool) predicate.Book

InitCompleteNEQ applies the NEQ predicate on the "InitComplete" field.

func Modified

func Modified(v time.Time) predicate.Book

Modified applies equality check predicate on the "Modified" field. It's identical to ModifiedEQ.

func ModifiedEQ

func ModifiedEQ(v time.Time) predicate.Book

ModifiedEQ applies the EQ predicate on the "Modified" field.

func ModifiedGT

func ModifiedGT(v time.Time) predicate.Book

ModifiedGT applies the GT predicate on the "Modified" field.

func ModifiedGTE

func ModifiedGTE(v time.Time) predicate.Book

ModifiedGTE applies the GTE predicate on the "Modified" field.

func ModifiedIn

func ModifiedIn(vs ...time.Time) predicate.Book

ModifiedIn applies the In predicate on the "Modified" field.

func ModifiedLT

func ModifiedLT(v time.Time) predicate.Book

ModifiedLT applies the LT predicate on the "Modified" field.

func ModifiedLTE

func ModifiedLTE(v time.Time) predicate.Book

ModifiedLTE applies the LTE predicate on the "Modified" field.

func ModifiedNEQ

func ModifiedNEQ(v time.Time) predicate.Book

ModifiedNEQ applies the NEQ predicate on the "Modified" field.

func ModifiedNotIn

func ModifiedNotIn(vs ...time.Time) predicate.Book

ModifiedNotIn applies the NotIn predicate on the "Modified" field.

func NonUTF8Zip

func NonUTF8Zip(v bool) predicate.Book

NonUTF8Zip applies equality check predicate on the "NonUTF8Zip" field. It's identical to NonUTF8ZipEQ.

func NonUTF8ZipEQ

func NonUTF8ZipEQ(v bool) predicate.Book

NonUTF8ZipEQ applies the EQ predicate on the "NonUTF8Zip" field.

func NonUTF8ZipNEQ

func NonUTF8ZipNEQ(v bool) predicate.Book

NonUTF8ZipNEQ applies the NEQ predicate on the "NonUTF8Zip" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Book) predicate.Book

Or groups predicates with the OR operator between them.

func Owner added in v0.9.1

func Owner(v string) predicate.Book

Owner applies equality check predicate on the "Owner" field. It's identical to OwnerEQ.

func OwnerContains added in v0.9.7

func OwnerContains(v string) predicate.Book

OwnerContains applies the Contains predicate on the "Owner" field.

func OwnerContainsFold added in v0.9.7

func OwnerContainsFold(v string) predicate.Book

OwnerContainsFold applies the ContainsFold predicate on the "Owner" field.

func OwnerEQ added in v0.9.1

func OwnerEQ(v string) predicate.Book

OwnerEQ applies the EQ predicate on the "Owner" field.

func OwnerEqualFold added in v0.9.7

func OwnerEqualFold(v string) predicate.Book

OwnerEqualFold applies the EqualFold predicate on the "Owner" field.

func OwnerGT added in v0.9.1

func OwnerGT(v string) predicate.Book

OwnerGT applies the GT predicate on the "Owner" field.

func OwnerGTE added in v0.9.1

func OwnerGTE(v string) predicate.Book

OwnerGTE applies the GTE predicate on the "Owner" field.

func OwnerHasPrefix added in v0.9.7

func OwnerHasPrefix(v string) predicate.Book

OwnerHasPrefix applies the HasPrefix predicate on the "Owner" field.

func OwnerHasSuffix added in v0.9.7

func OwnerHasSuffix(v string) predicate.Book

OwnerHasSuffix applies the HasSuffix predicate on the "Owner" field.

func OwnerIn added in v0.9.1

func OwnerIn(vs ...string) predicate.Book

OwnerIn applies the In predicate on the "Owner" field.

func OwnerLT added in v0.9.1

func OwnerLT(v string) predicate.Book

OwnerLT applies the LT predicate on the "Owner" field.

func OwnerLTE added in v0.9.1

func OwnerLTE(v string) predicate.Book

OwnerLTE applies the LTE predicate on the "Owner" field.

func OwnerNEQ added in v0.9.1

func OwnerNEQ(v string) predicate.Book

OwnerNEQ applies the NEQ predicate on the "Owner" field.

func OwnerNotIn added in v0.9.1

func OwnerNotIn(vs ...string) predicate.Book

OwnerNotIn applies the NotIn predicate on the "Owner" field.

func PageCount added in v0.9.7

func PageCount(v int) predicate.Book

PageCount applies equality check predicate on the "PageCount" field. It's identical to PageCountEQ.

func PageCountEQ added in v0.9.7

func PageCountEQ(v int) predicate.Book

PageCountEQ applies the EQ predicate on the "PageCount" field.

func PageCountGT added in v0.9.7

func PageCountGT(v int) predicate.Book

PageCountGT applies the GT predicate on the "PageCount" field.

func PageCountGTE added in v0.9.7

func PageCountGTE(v int) predicate.Book

PageCountGTE applies the GTE predicate on the "PageCount" field.

func PageCountIn added in v0.9.7

func PageCountIn(vs ...int) predicate.Book

PageCountIn applies the In predicate on the "PageCount" field.

func PageCountLT added in v0.9.7

func PageCountLT(v int) predicate.Book

PageCountLT applies the LT predicate on the "PageCount" field.

func PageCountLTE added in v0.9.7

func PageCountLTE(v int) predicate.Book

PageCountLTE applies the LTE predicate on the "PageCount" field.

func PageCountNEQ added in v0.9.7

func PageCountNEQ(v int) predicate.Book

PageCountNEQ applies the NEQ predicate on the "PageCount" field.

func PageCountNotIn added in v0.9.7

func PageCountNotIn(vs ...int) predicate.Book

PageCountNotIn applies the NotIn predicate on the "PageCount" field.

func ParentFolder

func ParentFolder(v string) predicate.Book

ParentFolder applies equality check predicate on the "ParentFolder" field. It's identical to ParentFolderEQ.

func ParentFolderContains

func ParentFolderContains(v string) predicate.Book

ParentFolderContains applies the Contains predicate on the "ParentFolder" field.

func ParentFolderContainsFold

func ParentFolderContainsFold(v string) predicate.Book

ParentFolderContainsFold applies the ContainsFold predicate on the "ParentFolder" field.

func ParentFolderEQ

func ParentFolderEQ(v string) predicate.Book

ParentFolderEQ applies the EQ predicate on the "ParentFolder" field.

func ParentFolderEqualFold

func ParentFolderEqualFold(v string) predicate.Book

ParentFolderEqualFold applies the EqualFold predicate on the "ParentFolder" field.

func ParentFolderGT

func ParentFolderGT(v string) predicate.Book

ParentFolderGT applies the GT predicate on the "ParentFolder" field.

func ParentFolderGTE

func ParentFolderGTE(v string) predicate.Book

ParentFolderGTE applies the GTE predicate on the "ParentFolder" field.

func ParentFolderHasPrefix

func ParentFolderHasPrefix(v string) predicate.Book

ParentFolderHasPrefix applies the HasPrefix predicate on the "ParentFolder" field.

func ParentFolderHasSuffix

func ParentFolderHasSuffix(v string) predicate.Book

ParentFolderHasSuffix applies the HasSuffix predicate on the "ParentFolder" field.

func ParentFolderIn

func ParentFolderIn(vs ...string) predicate.Book

ParentFolderIn applies the In predicate on the "ParentFolder" field.

func ParentFolderLT

func ParentFolderLT(v string) predicate.Book

ParentFolderLT applies the LT predicate on the "ParentFolder" field.

func ParentFolderLTE

func ParentFolderLTE(v string) predicate.Book

ParentFolderLTE applies the LTE predicate on the "ParentFolder" field.

func ParentFolderNEQ

func ParentFolderNEQ(v string) predicate.Book

ParentFolderNEQ applies the NEQ predicate on the "ParentFolder" field.

func ParentFolderNotIn

func ParentFolderNotIn(vs ...string) predicate.Book

ParentFolderNotIn applies the NotIn predicate on the "ParentFolder" field.

func Press

func Press(v string) predicate.Book

Press applies equality check predicate on the "Press" field. It's identical to PressEQ.

func PressContains

func PressContains(v string) predicate.Book

PressContains applies the Contains predicate on the "Press" field.

func PressContainsFold

func PressContainsFold(v string) predicate.Book

PressContainsFold applies the ContainsFold predicate on the "Press" field.

func PressEQ

func PressEQ(v string) predicate.Book

PressEQ applies the EQ predicate on the "Press" field.

func PressEqualFold

func PressEqualFold(v string) predicate.Book

PressEqualFold applies the EqualFold predicate on the "Press" field.

func PressGT

func PressGT(v string) predicate.Book

PressGT applies the GT predicate on the "Press" field.

func PressGTE

func PressGTE(v string) predicate.Book

PressGTE applies the GTE predicate on the "Press" field.

func PressHasPrefix

func PressHasPrefix(v string) predicate.Book

PressHasPrefix applies the HasPrefix predicate on the "Press" field.

func PressHasSuffix

func PressHasSuffix(v string) predicate.Book

PressHasSuffix applies the HasSuffix predicate on the "Press" field.

func PressIn

func PressIn(vs ...string) predicate.Book

PressIn applies the In predicate on the "Press" field.

func PressLT

func PressLT(v string) predicate.Book

PressLT applies the LT predicate on the "Press" field.

func PressLTE

func PressLTE(v string) predicate.Book

PressLTE applies the LTE predicate on the "Press" field.

func PressNEQ

func PressNEQ(v string) predicate.Book

PressNEQ applies the NEQ predicate on the "Press" field.

func PressNotIn

func PressNotIn(vs ...string) predicate.Book

PressNotIn applies the NotIn predicate on the "Press" field.

func PublishedAt

func PublishedAt(v string) predicate.Book

PublishedAt applies equality check predicate on the "PublishedAt" field. It's identical to PublishedAtEQ.

func PublishedAtContains

func PublishedAtContains(v string) predicate.Book

PublishedAtContains applies the Contains predicate on the "PublishedAt" field.

func PublishedAtContainsFold

func PublishedAtContainsFold(v string) predicate.Book

PublishedAtContainsFold applies the ContainsFold predicate on the "PublishedAt" field.

func PublishedAtEQ

func PublishedAtEQ(v string) predicate.Book

PublishedAtEQ applies the EQ predicate on the "PublishedAt" field.

func PublishedAtEqualFold

func PublishedAtEqualFold(v string) predicate.Book

PublishedAtEqualFold applies the EqualFold predicate on the "PublishedAt" field.

func PublishedAtGT

func PublishedAtGT(v string) predicate.Book

PublishedAtGT applies the GT predicate on the "PublishedAt" field.

func PublishedAtGTE

func PublishedAtGTE(v string) predicate.Book

PublishedAtGTE applies the GTE predicate on the "PublishedAt" field.

func PublishedAtHasPrefix

func PublishedAtHasPrefix(v string) predicate.Book

PublishedAtHasPrefix applies the HasPrefix predicate on the "PublishedAt" field.

func PublishedAtHasSuffix

func PublishedAtHasSuffix(v string) predicate.Book

PublishedAtHasSuffix applies the HasSuffix predicate on the "PublishedAt" field.

func PublishedAtIn

func PublishedAtIn(vs ...string) predicate.Book

PublishedAtIn applies the In predicate on the "PublishedAt" field.

func PublishedAtLT

func PublishedAtLT(v string) predicate.Book

PublishedAtLT applies the LT predicate on the "PublishedAt" field.

func PublishedAtLTE

func PublishedAtLTE(v string) predicate.Book

PublishedAtLTE applies the LTE predicate on the "PublishedAt" field.

func PublishedAtNEQ

func PublishedAtNEQ(v string) predicate.Book

PublishedAtNEQ applies the NEQ predicate on the "PublishedAt" field.

func PublishedAtNotIn

func PublishedAtNotIn(vs ...string) predicate.Book

PublishedAtNotIn applies the NotIn predicate on the "PublishedAt" field.

func ReadPercent

func ReadPercent(v float64) predicate.Book

ReadPercent applies equality check predicate on the "ReadPercent" field. It's identical to ReadPercentEQ.

func ReadPercentEQ

func ReadPercentEQ(v float64) predicate.Book

ReadPercentEQ applies the EQ predicate on the "ReadPercent" field.

func ReadPercentGT

func ReadPercentGT(v float64) predicate.Book

ReadPercentGT applies the GT predicate on the "ReadPercent" field.

func ReadPercentGTE

func ReadPercentGTE(v float64) predicate.Book

ReadPercentGTE applies the GTE predicate on the "ReadPercent" field.

func ReadPercentIn

func ReadPercentIn(vs ...float64) predicate.Book

ReadPercentIn applies the In predicate on the "ReadPercent" field.

func ReadPercentLT

func ReadPercentLT(v float64) predicate.Book

ReadPercentLT applies the LT predicate on the "ReadPercent" field.

func ReadPercentLTE

func ReadPercentLTE(v float64) predicate.Book

ReadPercentLTE applies the LTE predicate on the "ReadPercent" field.

func ReadPercentNEQ

func ReadPercentNEQ(v float64) predicate.Book

ReadPercentNEQ applies the NEQ predicate on the "ReadPercent" field.

func ReadPercentNotIn

func ReadPercentNotIn(vs ...float64) predicate.Book

ReadPercentNotIn applies the NotIn predicate on the "ReadPercent" field.

func Title added in v0.9.7

func Title(v string) predicate.Book

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

func TitleContains added in v0.9.7

func TitleContains(v string) predicate.Book

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

func TitleContainsFold added in v0.9.7

func TitleContainsFold(v string) predicate.Book

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

func TitleEQ added in v0.9.7

func TitleEQ(v string) predicate.Book

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

func TitleEqualFold added in v0.9.7

func TitleEqualFold(v string) predicate.Book

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

func TitleGT added in v0.9.7

func TitleGT(v string) predicate.Book

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

func TitleGTE added in v0.9.7

func TitleGTE(v string) predicate.Book

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

func TitleHasPrefix added in v0.9.7

func TitleHasPrefix(v string) predicate.Book

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

func TitleHasSuffix added in v0.9.7

func TitleHasSuffix(v string) predicate.Book

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

func TitleIn added in v0.9.7

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

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

func TitleLT added in v0.9.7

func TitleLT(v string) predicate.Book

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

func TitleLTE added in v0.9.7

func TitleLTE(v string) predicate.Book

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

func TitleNEQ added in v0.9.7

func TitleNEQ(v string) predicate.Book

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

func TitleNotIn added in v0.9.7

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

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

func Type

func Type(v string) predicate.Book

Type applies equality check predicate on the "Type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Book

TypeContains applies the Contains predicate on the "Type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Book

TypeContainsFold applies the ContainsFold predicate on the "Type" field.

func TypeEQ

func TypeEQ(v string) predicate.Book

TypeEQ applies the EQ predicate on the "Type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Book

TypeEqualFold applies the EqualFold predicate on the "Type" field.

func TypeGT

func TypeGT(v string) predicate.Book

TypeGT applies the GT predicate on the "Type" field.

func TypeGTE

func TypeGTE(v string) predicate.Book

TypeGTE applies the GTE predicate on the "Type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Book

TypeHasPrefix applies the HasPrefix predicate on the "Type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Book

TypeHasSuffix applies the HasSuffix predicate on the "Type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Book

TypeIn applies the In predicate on the "Type" field.

func TypeLT

func TypeLT(v string) predicate.Book

TypeLT applies the LT predicate on the "Type" field.

func TypeLTE

func TypeLTE(v string) predicate.Book

TypeLTE applies the LTE predicate on the "Type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Book

TypeNEQ applies the NEQ predicate on the "Type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Book

TypeNotIn applies the NotIn predicate on the "Type" field.

func ValidColumn

func ValidColumn(column string) bool

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

func ZipTextEncoding

func ZipTextEncoding(v string) predicate.Book

ZipTextEncoding applies equality check predicate on the "ZipTextEncoding" field. It's identical to ZipTextEncodingEQ.

func ZipTextEncodingContains

func ZipTextEncodingContains(v string) predicate.Book

ZipTextEncodingContains applies the Contains predicate on the "ZipTextEncoding" field.

func ZipTextEncodingContainsFold

func ZipTextEncodingContainsFold(v string) predicate.Book

ZipTextEncodingContainsFold applies the ContainsFold predicate on the "ZipTextEncoding" field.

func ZipTextEncodingEQ

func ZipTextEncodingEQ(v string) predicate.Book

ZipTextEncodingEQ applies the EQ predicate on the "ZipTextEncoding" field.

func ZipTextEncodingEqualFold

func ZipTextEncodingEqualFold(v string) predicate.Book

ZipTextEncodingEqualFold applies the EqualFold predicate on the "ZipTextEncoding" field.

func ZipTextEncodingGT

func ZipTextEncodingGT(v string) predicate.Book

ZipTextEncodingGT applies the GT predicate on the "ZipTextEncoding" field.

func ZipTextEncodingGTE

func ZipTextEncodingGTE(v string) predicate.Book

ZipTextEncodingGTE applies the GTE predicate on the "ZipTextEncoding" field.

func ZipTextEncodingHasPrefix

func ZipTextEncodingHasPrefix(v string) predicate.Book

ZipTextEncodingHasPrefix applies the HasPrefix predicate on the "ZipTextEncoding" field.

func ZipTextEncodingHasSuffix

func ZipTextEncodingHasSuffix(v string) predicate.Book

ZipTextEncodingHasSuffix applies the HasSuffix predicate on the "ZipTextEncoding" field.

func ZipTextEncodingIn

func ZipTextEncodingIn(vs ...string) predicate.Book

ZipTextEncodingIn applies the In predicate on the "ZipTextEncoding" field.

func ZipTextEncodingLT

func ZipTextEncodingLT(v string) predicate.Book

ZipTextEncodingLT applies the LT predicate on the "ZipTextEncoding" field.

func ZipTextEncodingLTE

func ZipTextEncodingLTE(v string) predicate.Book

ZipTextEncodingLTE applies the LTE predicate on the "ZipTextEncoding" field.

func ZipTextEncodingNEQ

func ZipTextEncodingNEQ(v string) predicate.Book

ZipTextEncodingNEQ applies the NEQ predicate on the "ZipTextEncoding" field.

func ZipTextEncodingNotIn

func ZipTextEncodingNotIn(vs ...string) predicate.Book

ZipTextEncodingNotIn applies the NotIn predicate on the "ZipTextEncoding" field.

Types

type OrderOption added in v0.9.5

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Book queries.

func ByAuthors added in v0.9.5

func ByAuthors(opts ...sql.OrderTermOption) OrderOption

ByAuthors orders the results by the Authors field.

func ByBookID added in v0.9.5

func ByBookID(opts ...sql.OrderTermOption) OrderOption

ByBookID orders the results by the BookID field.

func ByBookStorePath added in v0.9.5

func ByBookStorePath(opts ...sql.OrderTermOption) OrderOption

ByBookStorePath orders the results by the BookStorePath field.

func ByChildBookNum added in v0.9.5

func ByChildBookNum(opts ...sql.OrderTermOption) OrderOption

ByChildBookNum orders the results by the ChildBookNum field.

func ByDepth added in v0.9.5

func ByDepth(opts ...sql.OrderTermOption) OrderOption

ByDepth orders the results by the Depth field.

func ByExtractNum added in v0.9.5

func ByExtractNum(opts ...sql.OrderTermOption) OrderOption

ByExtractNum orders the results by the ExtractNum field.

func ByExtractPath added in v0.9.5

func ByExtractPath(opts ...sql.OrderTermOption) OrderOption

ByExtractPath orders the results by the ExtractPath field.

func ByFilePath added in v0.9.5

func ByFilePath(opts ...sql.OrderTermOption) OrderOption

ByFilePath orders the results by the FilePath field.

func ByFileSize added in v0.9.5

func ByFileSize(opts ...sql.OrderTermOption) OrderOption

ByFileSize orders the results by the FileSize field.

func ByID added in v0.9.5

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByISBN added in v0.9.5

func ByISBN(opts ...sql.OrderTermOption) OrderOption

ByISBN orders the results by the ISBN field.

func ByInitComplete added in v0.9.5

func ByInitComplete(opts ...sql.OrderTermOption) OrderOption

ByInitComplete orders the results by the InitComplete field.

func ByModified added in v0.9.5

func ByModified(opts ...sql.OrderTermOption) OrderOption

ByModified orders the results by the Modified field.

func ByNonUTF8Zip added in v0.9.5

func ByNonUTF8Zip(opts ...sql.OrderTermOption) OrderOption

ByNonUTF8Zip orders the results by the NonUTF8Zip field.

func ByOwner added in v0.9.5

func ByOwner(opts ...sql.OrderTermOption) OrderOption

ByOwner orders the results by the Owner field.

func ByPageCount added in v0.9.7

func ByPageCount(opts ...sql.OrderTermOption) OrderOption

ByPageCount orders the results by the PageCount field.

func ByPageInfos added in v0.9.5

func ByPageInfos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPageInfos orders the results by PageInfos terms.

func ByPageInfosCount added in v0.9.5

func ByPageInfosCount(opts ...sql.OrderTermOption) OrderOption

ByPageInfosCount orders the results by PageInfos count.

func ByParentFolder added in v0.9.5

func ByParentFolder(opts ...sql.OrderTermOption) OrderOption

ByParentFolder orders the results by the ParentFolder field.

func ByPress added in v0.9.5

func ByPress(opts ...sql.OrderTermOption) OrderOption

ByPress orders the results by the Press field.

func ByPublishedAt added in v0.9.5

func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption

ByPublishedAt orders the results by the PublishedAt field.

func ByReadPercent added in v0.9.5

func ByReadPercent(opts ...sql.OrderTermOption) OrderOption

ByReadPercent orders the results by the ReadPercent field.

func ByTitle added in v0.9.7

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the Title field.

func ByType added in v0.9.5

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the Type field.

func ByZipTextEncoding added in v0.9.5

func ByZipTextEncoding(opts ...sql.OrderTermOption) OrderOption

ByZipTextEncoding orders the results by the ZipTextEncoding field.

Jump to

Keyboard shortcuts

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