Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Book) predicate.Book
- func Authors(v string) predicate.Book
- func AuthorsContains(v string) predicate.Book
- func AuthorsContainsFold(v string) predicate.Book
- func AuthorsEQ(v string) predicate.Book
- func AuthorsEqualFold(v string) predicate.Book
- func AuthorsGT(v string) predicate.Book
- func AuthorsGTE(v string) predicate.Book
- func AuthorsHasPrefix(v string) predicate.Book
- func AuthorsHasSuffix(v string) predicate.Book
- func AuthorsIn(vs ...string) predicate.Book
- func AuthorsLT(v string) predicate.Book
- func AuthorsLTE(v string) predicate.Book
- func AuthorsNEQ(v string) predicate.Book
- func AuthorsNotIn(vs ...string) predicate.Book
- func BookID(v string) predicate.Book
- func BookIDContains(v string) predicate.Book
- func BookIDContainsFold(v string) predicate.Book
- func BookIDEQ(v string) predicate.Book
- func BookIDEqualFold(v string) predicate.Book
- func BookIDGT(v string) predicate.Book
- func BookIDGTE(v string) predicate.Book
- func BookIDHasPrefix(v string) predicate.Book
- func BookIDHasSuffix(v string) predicate.Book
- func BookIDIn(vs ...string) predicate.Book
- func BookIDLT(v string) predicate.Book
- func BookIDLTE(v string) predicate.Book
- func BookIDNEQ(v string) predicate.Book
- func BookIDNotIn(vs ...string) predicate.Book
- func BookStorePath(v string) predicate.Book
- func BookStorePathContains(v string) predicate.Book
- func BookStorePathContainsFold(v string) predicate.Book
- func BookStorePathEQ(v string) predicate.Book
- func BookStorePathEqualFold(v string) predicate.Book
- func BookStorePathGT(v string) predicate.Book
- func BookStorePathGTE(v string) predicate.Book
- func BookStorePathHasPrefix(v string) predicate.Book
- func BookStorePathHasSuffix(v string) predicate.Book
- func BookStorePathIn(vs ...string) predicate.Book
- func BookStorePathLT(v string) predicate.Book
- func BookStorePathLTE(v string) predicate.Book
- func BookStorePathNEQ(v string) predicate.Book
- func BookStorePathNotIn(vs ...string) predicate.Book
- func ChildBookNum(v int) predicate.Book
- func ChildBookNumEQ(v int) predicate.Book
- func ChildBookNumGT(v int) predicate.Book
- func ChildBookNumGTE(v int) predicate.Book
- func ChildBookNumIn(vs ...int) predicate.Book
- func ChildBookNumLT(v int) predicate.Book
- func ChildBookNumLTE(v int) predicate.Book
- func ChildBookNumNEQ(v int) predicate.Book
- func ChildBookNumNotIn(vs ...int) predicate.Book
- func Depth(v int) predicate.Book
- func DepthEQ(v int) predicate.Book
- func DepthGT(v int) predicate.Book
- func DepthGTE(v int) predicate.Book
- func DepthIn(vs ...int) predicate.Book
- func DepthLT(v int) predicate.Book
- func DepthLTE(v int) predicate.Book
- func DepthNEQ(v int) predicate.Book
- func DepthNotIn(vs ...int) predicate.Book
- func ExtractNum(v int) predicate.Book
- func ExtractNumEQ(v int) predicate.Book
- func ExtractNumGT(v int) predicate.Book
- func ExtractNumGTE(v int) predicate.Book
- func ExtractNumIn(vs ...int) predicate.Book
- func ExtractNumLT(v int) predicate.Book
- func ExtractNumLTE(v int) predicate.Book
- func ExtractNumNEQ(v int) predicate.Book
- func ExtractNumNotIn(vs ...int) predicate.Book
- func ExtractPath(v string) predicate.Book
- func ExtractPathContains(v string) predicate.Book
- func ExtractPathContainsFold(v string) predicate.Book
- func ExtractPathEQ(v string) predicate.Book
- func ExtractPathEqualFold(v string) predicate.Book
- func ExtractPathGT(v string) predicate.Book
- func ExtractPathGTE(v string) predicate.Book
- func ExtractPathHasPrefix(v string) predicate.Book
- func ExtractPathHasSuffix(v string) predicate.Book
- func ExtractPathIn(vs ...string) predicate.Book
- func ExtractPathLT(v string) predicate.Book
- func ExtractPathLTE(v string) predicate.Book
- func ExtractPathNEQ(v string) predicate.Book
- func ExtractPathNotIn(vs ...string) predicate.Book
- func FilePath(v string) predicate.Book
- func FilePathContains(v string) predicate.Book
- func FilePathContainsFold(v string) predicate.Book
- func FilePathEQ(v string) predicate.Book
- func FilePathEqualFold(v string) predicate.Book
- func FilePathGT(v string) predicate.Book
- func FilePathGTE(v string) predicate.Book
- func FilePathHasPrefix(v string) predicate.Book
- func FilePathHasSuffix(v string) predicate.Book
- func FilePathIn(vs ...string) predicate.Book
- func FilePathLT(v string) predicate.Book
- func FilePathLTE(v string) predicate.Book
- func FilePathNEQ(v string) predicate.Book
- func FilePathNotIn(vs ...string) predicate.Book
- func FileSize(v int64) predicate.Book
- func FileSizeEQ(v int64) predicate.Book
- func FileSizeGT(v int64) predicate.Book
- func FileSizeGTE(v int64) predicate.Book
- func FileSizeIn(vs ...int64) predicate.Book
- func FileSizeLT(v int64) predicate.Book
- func FileSizeLTE(v int64) predicate.Book
- func FileSizeNEQ(v int64) predicate.Book
- func FileSizeNotIn(vs ...int64) predicate.Book
- func HasPageInfos() predicate.Book
- func HasPageInfosWith(preds ...predicate.SinglePageInfo) predicate.Book
- func ID(id int) predicate.Book
- func IDEQ(id int) predicate.Book
- func IDGT(id int) predicate.Book
- func IDGTE(id int) predicate.Book
- func IDIn(ids ...int) predicate.Book
- func IDLT(id int) predicate.Book
- func IDLTE(id int) predicate.Book
- func IDNEQ(id int) predicate.Book
- func IDNotIn(ids ...int) predicate.Book
- func ISBN(v string) predicate.Book
- func ISBNContains(v string) predicate.Book
- func ISBNContainsFold(v string) predicate.Book
- func ISBNEQ(v string) predicate.Book
- func ISBNEqualFold(v string) predicate.Book
- func ISBNGT(v string) predicate.Book
- func ISBNGTE(v string) predicate.Book
- func ISBNHasPrefix(v string) predicate.Book
- func ISBNHasSuffix(v string) predicate.Book
- func ISBNIn(vs ...string) predicate.Book
- func ISBNLT(v string) predicate.Book
- func ISBNLTE(v string) predicate.Book
- func ISBNNEQ(v string) predicate.Book
- func ISBNNotIn(vs ...string) predicate.Book
- func InitComplete(v bool) predicate.Book
- func InitCompleteEQ(v bool) predicate.Book
- func InitCompleteNEQ(v bool) predicate.Book
- func Modified(v time.Time) predicate.Book
- func ModifiedEQ(v time.Time) predicate.Book
- func ModifiedGT(v time.Time) predicate.Book
- func ModifiedGTE(v time.Time) predicate.Book
- func ModifiedIn(vs ...time.Time) predicate.Book
- func ModifiedLT(v time.Time) predicate.Book
- func ModifiedLTE(v time.Time) predicate.Book
- func ModifiedNEQ(v time.Time) predicate.Book
- func ModifiedNotIn(vs ...time.Time) predicate.Book
- func NonUTF8Zip(v bool) predicate.Book
- func NonUTF8ZipEQ(v bool) predicate.Book
- func NonUTF8ZipNEQ(v bool) predicate.Book
- func Not(p predicate.Book) predicate.Book
- func Or(predicates ...predicate.Book) predicate.Book
- func Owner(v string) predicate.Book
- func OwnerContains(v string) predicate.Book
- func OwnerContainsFold(v string) predicate.Book
- func OwnerEQ(v string) predicate.Book
- func OwnerEqualFold(v string) predicate.Book
- func OwnerGT(v string) predicate.Book
- func OwnerGTE(v string) predicate.Book
- func OwnerHasPrefix(v string) predicate.Book
- func OwnerHasSuffix(v string) predicate.Book
- func OwnerIn(vs ...string) predicate.Book
- func OwnerLT(v string) predicate.Book
- func OwnerLTE(v string) predicate.Book
- func OwnerNEQ(v string) predicate.Book
- func OwnerNotIn(vs ...string) predicate.Book
- func PageCount(v int) predicate.Book
- func PageCountEQ(v int) predicate.Book
- func PageCountGT(v int) predicate.Book
- func PageCountGTE(v int) predicate.Book
- func PageCountIn(vs ...int) predicate.Book
- func PageCountLT(v int) predicate.Book
- func PageCountLTE(v int) predicate.Book
- func PageCountNEQ(v int) predicate.Book
- func PageCountNotIn(vs ...int) predicate.Book
- func ParentFolder(v string) predicate.Book
- func ParentFolderContains(v string) predicate.Book
- func ParentFolderContainsFold(v string) predicate.Book
- func ParentFolderEQ(v string) predicate.Book
- func ParentFolderEqualFold(v string) predicate.Book
- func ParentFolderGT(v string) predicate.Book
- func ParentFolderGTE(v string) predicate.Book
- func ParentFolderHasPrefix(v string) predicate.Book
- func ParentFolderHasSuffix(v string) predicate.Book
- func ParentFolderIn(vs ...string) predicate.Book
- func ParentFolderLT(v string) predicate.Book
- func ParentFolderLTE(v string) predicate.Book
- func ParentFolderNEQ(v string) predicate.Book
- func ParentFolderNotIn(vs ...string) predicate.Book
- func Press(v string) predicate.Book
- func PressContains(v string) predicate.Book
- func PressContainsFold(v string) predicate.Book
- func PressEQ(v string) predicate.Book
- func PressEqualFold(v string) predicate.Book
- func PressGT(v string) predicate.Book
- func PressGTE(v string) predicate.Book
- func PressHasPrefix(v string) predicate.Book
- func PressHasSuffix(v string) predicate.Book
- func PressIn(vs ...string) predicate.Book
- func PressLT(v string) predicate.Book
- func PressLTE(v string) predicate.Book
- func PressNEQ(v string) predicate.Book
- func PressNotIn(vs ...string) predicate.Book
- func PublishedAt(v string) predicate.Book
- func PublishedAtContains(v string) predicate.Book
- func PublishedAtContainsFold(v string) predicate.Book
- func PublishedAtEQ(v string) predicate.Book
- func PublishedAtEqualFold(v string) predicate.Book
- func PublishedAtGT(v string) predicate.Book
- func PublishedAtGTE(v string) predicate.Book
- func PublishedAtHasPrefix(v string) predicate.Book
- func PublishedAtHasSuffix(v string) predicate.Book
- func PublishedAtIn(vs ...string) predicate.Book
- func PublishedAtLT(v string) predicate.Book
- func PublishedAtLTE(v string) predicate.Book
- func PublishedAtNEQ(v string) predicate.Book
- func PublishedAtNotIn(vs ...string) predicate.Book
- func ReadPercent(v float64) predicate.Book
- func ReadPercentEQ(v float64) predicate.Book
- func ReadPercentGT(v float64) predicate.Book
- func ReadPercentGTE(v float64) predicate.Book
- func ReadPercentIn(vs ...float64) predicate.Book
- func ReadPercentLT(v float64) predicate.Book
- func ReadPercentLTE(v float64) predicate.Book
- func ReadPercentNEQ(v float64) predicate.Book
- func ReadPercentNotIn(vs ...float64) predicate.Book
- func Title(v string) predicate.Book
- func TitleContains(v string) predicate.Book
- func TitleContainsFold(v string) predicate.Book
- func TitleEQ(v string) predicate.Book
- func TitleEqualFold(v string) predicate.Book
- func TitleGT(v string) predicate.Book
- func TitleGTE(v string) predicate.Book
- func TitleHasPrefix(v string) predicate.Book
- func TitleHasSuffix(v string) predicate.Book
- func TitleIn(vs ...string) predicate.Book
- func TitleLT(v string) predicate.Book
- func TitleLTE(v string) predicate.Book
- func TitleNEQ(v string) predicate.Book
- func TitleNotIn(vs ...string) predicate.Book
- func Type(v string) predicate.Book
- func TypeContains(v string) predicate.Book
- func TypeContainsFold(v string) predicate.Book
- func TypeEQ(v string) predicate.Book
- func TypeEqualFold(v string) predicate.Book
- func TypeGT(v string) predicate.Book
- func TypeGTE(v string) predicate.Book
- func TypeHasPrefix(v string) predicate.Book
- func TypeHasSuffix(v string) predicate.Book
- func TypeIn(vs ...string) predicate.Book
- func TypeLT(v string) predicate.Book
- func TypeLTE(v string) predicate.Book
- func TypeNEQ(v string) predicate.Book
- func TypeNotIn(vs ...string) predicate.Book
- func ValidColumn(column string) bool
- func ZipTextEncoding(v string) predicate.Book
- func ZipTextEncodingContains(v string) predicate.Book
- func ZipTextEncodingContainsFold(v string) predicate.Book
- func ZipTextEncodingEQ(v string) predicate.Book
- func ZipTextEncodingEqualFold(v string) predicate.Book
- func ZipTextEncodingGT(v string) predicate.Book
- func ZipTextEncodingGTE(v string) predicate.Book
- func ZipTextEncodingHasPrefix(v string) predicate.Book
- func ZipTextEncodingHasSuffix(v string) predicate.Book
- func ZipTextEncodingIn(vs ...string) predicate.Book
- func ZipTextEncodingLT(v string) predicate.Book
- func ZipTextEncodingLTE(v string) predicate.Book
- func ZipTextEncodingNEQ(v string) predicate.Book
- func ZipTextEncodingNotIn(vs ...string) predicate.Book
- type OrderOption
- func ByAuthors(opts ...sql.OrderTermOption) OrderOption
- func ByBookID(opts ...sql.OrderTermOption) OrderOption
- func ByBookStorePath(opts ...sql.OrderTermOption) OrderOption
- func ByChildBookNum(opts ...sql.OrderTermOption) OrderOption
- func ByDepth(opts ...sql.OrderTermOption) OrderOption
- func ByExtractNum(opts ...sql.OrderTermOption) OrderOption
- func ByExtractPath(opts ...sql.OrderTermOption) OrderOption
- func ByFilePath(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByISBN(opts ...sql.OrderTermOption) OrderOption
- func ByInitComplete(opts ...sql.OrderTermOption) OrderOption
- func ByModified(opts ...sql.OrderTermOption) OrderOption
- func ByNonUTF8Zip(opts ...sql.OrderTermOption) OrderOption
- func ByOwner(opts ...sql.OrderTermOption) OrderOption
- func ByPageCount(opts ...sql.OrderTermOption) OrderOption
- func ByPageInfos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPageInfosCount(opts ...sql.OrderTermOption) OrderOption
- func ByParentFolder(opts ...sql.OrderTermOption) OrderOption
- func ByPress(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByReadPercent(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByZipTextEncoding(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldTitle, FieldBookID, FieldOwner, FieldFilePath, FieldBookStorePath, FieldType, FieldChildBookNum, FieldDepth, FieldParentFolder, FieldPageCount, FieldFileSize, FieldAuthors, FieldISBN, FieldPress, FieldPublishedAt, FieldExtractPath, FieldModified, FieldExtractNum, FieldInitComplete, FieldReadPercent, FieldNonUTF8Zip, FieldZipTextEncoding, }
Columns holds all SQL columns for book fields.
Functions ¶
func Authors ¶
Authors applies equality check predicate on the "Authors" field. It's identical to AuthorsEQ.
func AuthorsContains ¶
AuthorsContains applies the Contains predicate on the "Authors" field.
func AuthorsContainsFold ¶
AuthorsContainsFold applies the ContainsFold predicate on the "Authors" field.
func AuthorsEqualFold ¶
AuthorsEqualFold applies the EqualFold predicate on the "Authors" field.
func AuthorsGTE ¶
AuthorsGTE applies the GTE predicate on the "Authors" field.
func AuthorsHasPrefix ¶
AuthorsHasPrefix applies the HasPrefix predicate on the "Authors" field.
func AuthorsHasSuffix ¶
AuthorsHasSuffix applies the HasSuffix predicate on the "Authors" field.
func AuthorsLTE ¶
AuthorsLTE applies the LTE predicate on the "Authors" field.
func AuthorsNEQ ¶
AuthorsNEQ applies the NEQ predicate on the "Authors" field.
func AuthorsNotIn ¶
AuthorsNotIn applies the NotIn predicate on the "Authors" field.
func BookID ¶
BookID applies equality check predicate on the "BookID" field. It's identical to BookIDEQ.
func BookIDContains ¶
BookIDContains applies the Contains predicate on the "BookID" field.
func BookIDContainsFold ¶
BookIDContainsFold applies the ContainsFold predicate on the "BookID" field.
func BookIDEqualFold ¶
BookIDEqualFold applies the EqualFold predicate on the "BookID" field.
func BookIDHasPrefix ¶
BookIDHasPrefix applies the HasPrefix predicate on the "BookID" field.
func BookIDHasSuffix ¶
BookIDHasSuffix applies the HasSuffix predicate on the "BookID" field.
func BookIDNotIn ¶
BookIDNotIn applies the NotIn predicate on the "BookID" field.
func BookStorePath ¶
BookStorePath applies equality check predicate on the "BookStorePath" field. It's identical to BookStorePathEQ.
func BookStorePathContains ¶
BookStorePathContains applies the Contains predicate on the "BookStorePath" field.
func BookStorePathContainsFold ¶
BookStorePathContainsFold applies the ContainsFold predicate on the "BookStorePath" field.
func BookStorePathEQ ¶
BookStorePathEQ applies the EQ predicate on the "BookStorePath" field.
func BookStorePathEqualFold ¶
BookStorePathEqualFold applies the EqualFold predicate on the "BookStorePath" field.
func BookStorePathGT ¶
BookStorePathGT applies the GT predicate on the "BookStorePath" field.
func BookStorePathGTE ¶
BookStorePathGTE applies the GTE predicate on the "BookStorePath" field.
func BookStorePathHasPrefix ¶
BookStorePathHasPrefix applies the HasPrefix predicate on the "BookStorePath" field.
func BookStorePathHasSuffix ¶
BookStorePathHasSuffix applies the HasSuffix predicate on the "BookStorePath" field.
func BookStorePathIn ¶
BookStorePathIn applies the In predicate on the "BookStorePath" field.
func BookStorePathLT ¶
BookStorePathLT applies the LT predicate on the "BookStorePath" field.
func BookStorePathLTE ¶
BookStorePathLTE applies the LTE predicate on the "BookStorePath" field.
func BookStorePathNEQ ¶
BookStorePathNEQ applies the NEQ predicate on the "BookStorePath" field.
func BookStorePathNotIn ¶
BookStorePathNotIn applies the NotIn predicate on the "BookStorePath" field.
func ChildBookNum ¶
ChildBookNum applies equality check predicate on the "ChildBookNum" field. It's identical to ChildBookNumEQ.
func ChildBookNumEQ ¶
ChildBookNumEQ applies the EQ predicate on the "ChildBookNum" field.
func ChildBookNumGT ¶
ChildBookNumGT applies the GT predicate on the "ChildBookNum" field.
func ChildBookNumGTE ¶
ChildBookNumGTE applies the GTE predicate on the "ChildBookNum" field.
func ChildBookNumIn ¶
ChildBookNumIn applies the In predicate on the "ChildBookNum" field.
func ChildBookNumLT ¶
ChildBookNumLT applies the LT predicate on the "ChildBookNum" field.
func ChildBookNumLTE ¶
ChildBookNumLTE applies the LTE predicate on the "ChildBookNum" field.
func ChildBookNumNEQ ¶
ChildBookNumNEQ applies the NEQ predicate on the "ChildBookNum" field.
func ChildBookNumNotIn ¶
ChildBookNumNotIn applies the NotIn predicate on the "ChildBookNum" field.
func Depth ¶
Depth applies equality check predicate on the "Depth" field. It's identical to DepthEQ.
func DepthNotIn ¶
DepthNotIn applies the NotIn predicate on the "Depth" field.
func ExtractNum ¶
ExtractNum applies equality check predicate on the "ExtractNum" field. It's identical to ExtractNumEQ.
func ExtractNumEQ ¶
ExtractNumEQ applies the EQ predicate on the "ExtractNum" field.
func ExtractNumGT ¶
ExtractNumGT applies the GT predicate on the "ExtractNum" field.
func ExtractNumGTE ¶
ExtractNumGTE applies the GTE predicate on the "ExtractNum" field.
func ExtractNumIn ¶
ExtractNumIn applies the In predicate on the "ExtractNum" field.
func ExtractNumLT ¶
ExtractNumLT applies the LT predicate on the "ExtractNum" field.
func ExtractNumLTE ¶
ExtractNumLTE applies the LTE predicate on the "ExtractNum" field.
func ExtractNumNEQ ¶
ExtractNumNEQ applies the NEQ predicate on the "ExtractNum" field.
func ExtractNumNotIn ¶
ExtractNumNotIn applies the NotIn predicate on the "ExtractNum" field.
func ExtractPath ¶
ExtractPath applies equality check predicate on the "ExtractPath" field. It's identical to ExtractPathEQ.
func ExtractPathContains ¶
ExtractPathContains applies the Contains predicate on the "ExtractPath" field.
func ExtractPathContainsFold ¶
ExtractPathContainsFold applies the ContainsFold predicate on the "ExtractPath" field.
func ExtractPathEQ ¶
ExtractPathEQ applies the EQ predicate on the "ExtractPath" field.
func ExtractPathEqualFold ¶
ExtractPathEqualFold applies the EqualFold predicate on the "ExtractPath" field.
func ExtractPathGT ¶
ExtractPathGT applies the GT predicate on the "ExtractPath" field.
func ExtractPathGTE ¶
ExtractPathGTE applies the GTE predicate on the "ExtractPath" field.
func ExtractPathHasPrefix ¶
ExtractPathHasPrefix applies the HasPrefix predicate on the "ExtractPath" field.
func ExtractPathHasSuffix ¶
ExtractPathHasSuffix applies the HasSuffix predicate on the "ExtractPath" field.
func ExtractPathIn ¶
ExtractPathIn applies the In predicate on the "ExtractPath" field.
func ExtractPathLT ¶
ExtractPathLT applies the LT predicate on the "ExtractPath" field.
func ExtractPathLTE ¶
ExtractPathLTE applies the LTE predicate on the "ExtractPath" field.
func ExtractPathNEQ ¶
ExtractPathNEQ applies the NEQ predicate on the "ExtractPath" field.
func ExtractPathNotIn ¶
ExtractPathNotIn applies the NotIn predicate on the "ExtractPath" field.
func FilePath ¶
FilePath applies equality check predicate on the "FilePath" field. It's identical to FilePathEQ.
func FilePathContains ¶
FilePathContains applies the Contains predicate on the "FilePath" field.
func FilePathContainsFold ¶
FilePathContainsFold applies the ContainsFold predicate on the "FilePath" field.
func FilePathEQ ¶
FilePathEQ applies the EQ predicate on the "FilePath" field.
func FilePathEqualFold ¶
FilePathEqualFold applies the EqualFold predicate on the "FilePath" field.
func FilePathGT ¶
FilePathGT applies the GT predicate on the "FilePath" field.
func FilePathGTE ¶
FilePathGTE applies the GTE predicate on the "FilePath" field.
func FilePathHasPrefix ¶
FilePathHasPrefix applies the HasPrefix predicate on the "FilePath" field.
func FilePathHasSuffix ¶
FilePathHasSuffix applies the HasSuffix predicate on the "FilePath" field.
func FilePathIn ¶
FilePathIn applies the In predicate on the "FilePath" field.
func FilePathLT ¶
FilePathLT applies the LT predicate on the "FilePath" field.
func FilePathLTE ¶
FilePathLTE applies the LTE predicate on the "FilePath" field.
func FilePathNEQ ¶
FilePathNEQ applies the NEQ predicate on the "FilePath" field.
func FilePathNotIn ¶
FilePathNotIn applies the NotIn predicate on the "FilePath" field.
func FileSize ¶
FileSize applies equality check predicate on the "FileSize" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶
FileSizeEQ applies the EQ predicate on the "FileSize" field.
func FileSizeGT ¶
FileSizeGT applies the GT predicate on the "FileSize" field.
func FileSizeGTE ¶
FileSizeGTE applies the GTE predicate on the "FileSize" field.
func FileSizeIn ¶
FileSizeIn applies the In predicate on the "FileSize" field.
func FileSizeLT ¶
FileSizeLT applies the LT predicate on the "FileSize" field.
func FileSizeLTE ¶
FileSizeLTE applies the LTE predicate on the "FileSize" field.
func FileSizeNEQ ¶
FileSizeNEQ applies the NEQ predicate on the "FileSize" field.
func FileSizeNotIn ¶
FileSizeNotIn applies the NotIn predicate on the "FileSize" field.
func HasPageInfos ¶
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 ISBNContains ¶
ISBNContains applies the Contains predicate on the "ISBN" field.
func ISBNContainsFold ¶
ISBNContainsFold applies the ContainsFold predicate on the "ISBN" field.
func ISBNEqualFold ¶
ISBNEqualFold applies the EqualFold predicate on the "ISBN" field.
func ISBNHasPrefix ¶
ISBNHasPrefix applies the HasPrefix predicate on the "ISBN" field.
func ISBNHasSuffix ¶
ISBNHasSuffix applies the HasSuffix predicate on the "ISBN" field.
func InitComplete ¶
InitComplete applies equality check predicate on the "InitComplete" field. It's identical to InitCompleteEQ.
func InitCompleteEQ ¶
InitCompleteEQ applies the EQ predicate on the "InitComplete" field.
func InitCompleteNEQ ¶
InitCompleteNEQ applies the NEQ predicate on the "InitComplete" 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 NonUTF8Zip ¶
NonUTF8Zip applies equality check predicate on the "NonUTF8Zip" field. It's identical to NonUTF8ZipEQ.
func NonUTF8ZipEQ ¶
NonUTF8ZipEQ applies the EQ predicate on the "NonUTF8Zip" field.
func NonUTF8ZipNEQ ¶
NonUTF8ZipNEQ applies the NEQ predicate on the "NonUTF8Zip" field.
func Owner ¶
Owner applies equality check predicate on the "Owner" field. It's identical to OwnerEQ.
func OwnerContains ¶
OwnerContains applies the Contains predicate on the "Owner" field.
func OwnerContainsFold ¶
OwnerContainsFold applies the ContainsFold predicate on the "Owner" field.
func OwnerEqualFold ¶
OwnerEqualFold applies the EqualFold predicate on the "Owner" field.
func OwnerHasPrefix ¶
OwnerHasPrefix applies the HasPrefix predicate on the "Owner" field.
func OwnerHasSuffix ¶
OwnerHasSuffix applies the HasSuffix predicate on the "Owner" field.
func OwnerNotIn ¶
OwnerNotIn applies the NotIn predicate on the "Owner" field.
func PageCount ¶
PageCount applies equality check predicate on the "PageCount" field. It's identical to PageCountEQ.
func PageCountEQ ¶
PageCountEQ applies the EQ predicate on the "PageCount" field.
func PageCountGT ¶
PageCountGT applies the GT predicate on the "PageCount" field.
func PageCountGTE ¶
PageCountGTE applies the GTE predicate on the "PageCount" field.
func PageCountIn ¶
PageCountIn applies the In predicate on the "PageCount" field.
func PageCountLT ¶
PageCountLT applies the LT predicate on the "PageCount" field.
func PageCountLTE ¶
PageCountLTE applies the LTE predicate on the "PageCount" field.
func PageCountNEQ ¶
PageCountNEQ applies the NEQ predicate on the "PageCount" field.
func PageCountNotIn ¶
PageCountNotIn applies the NotIn predicate on the "PageCount" field.
func ParentFolder ¶
ParentFolder applies equality check predicate on the "ParentFolder" field. It's identical to ParentFolderEQ.
func ParentFolderContains ¶
ParentFolderContains applies the Contains predicate on the "ParentFolder" field.
func ParentFolderContainsFold ¶
ParentFolderContainsFold applies the ContainsFold predicate on the "ParentFolder" field.
func ParentFolderEQ ¶
ParentFolderEQ applies the EQ predicate on the "ParentFolder" field.
func ParentFolderEqualFold ¶
ParentFolderEqualFold applies the EqualFold predicate on the "ParentFolder" field.
func ParentFolderGT ¶
ParentFolderGT applies the GT predicate on the "ParentFolder" field.
func ParentFolderGTE ¶
ParentFolderGTE applies the GTE predicate on the "ParentFolder" field.
func ParentFolderHasPrefix ¶
ParentFolderHasPrefix applies the HasPrefix predicate on the "ParentFolder" field.
func ParentFolderHasSuffix ¶
ParentFolderHasSuffix applies the HasSuffix predicate on the "ParentFolder" field.
func ParentFolderIn ¶
ParentFolderIn applies the In predicate on the "ParentFolder" field.
func ParentFolderLT ¶
ParentFolderLT applies the LT predicate on the "ParentFolder" field.
func ParentFolderLTE ¶
ParentFolderLTE applies the LTE predicate on the "ParentFolder" field.
func ParentFolderNEQ ¶
ParentFolderNEQ applies the NEQ predicate on the "ParentFolder" field.
func ParentFolderNotIn ¶
ParentFolderNotIn applies the NotIn predicate on the "ParentFolder" field.
func Press ¶
Press applies equality check predicate on the "Press" field. It's identical to PressEQ.
func PressContains ¶
PressContains applies the Contains predicate on the "Press" field.
func PressContainsFold ¶
PressContainsFold applies the ContainsFold predicate on the "Press" field.
func PressEqualFold ¶
PressEqualFold applies the EqualFold predicate on the "Press" field.
func PressHasPrefix ¶
PressHasPrefix applies the HasPrefix predicate on the "Press" field.
func PressHasSuffix ¶
PressHasSuffix applies the HasSuffix predicate on the "Press" field.
func PressNotIn ¶
PressNotIn applies the NotIn predicate on the "Press" field.
func PublishedAt ¶
PublishedAt applies equality check predicate on the "PublishedAt" field. It's identical to PublishedAtEQ.
func PublishedAtContains ¶
PublishedAtContains applies the Contains predicate on the "PublishedAt" field.
func PublishedAtContainsFold ¶
PublishedAtContainsFold applies the ContainsFold predicate on the "PublishedAt" field.
func PublishedAtEQ ¶
PublishedAtEQ applies the EQ predicate on the "PublishedAt" field.
func PublishedAtEqualFold ¶
PublishedAtEqualFold applies the EqualFold predicate on the "PublishedAt" field.
func PublishedAtGT ¶
PublishedAtGT applies the GT predicate on the "PublishedAt" field.
func PublishedAtGTE ¶
PublishedAtGTE applies the GTE predicate on the "PublishedAt" field.
func PublishedAtHasPrefix ¶
PublishedAtHasPrefix applies the HasPrefix predicate on the "PublishedAt" field.
func PublishedAtHasSuffix ¶
PublishedAtHasSuffix applies the HasSuffix predicate on the "PublishedAt" field.
func PublishedAtIn ¶
PublishedAtIn applies the In predicate on the "PublishedAt" field.
func PublishedAtLT ¶
PublishedAtLT applies the LT predicate on the "PublishedAt" field.
func PublishedAtLTE ¶
PublishedAtLTE applies the LTE predicate on the "PublishedAt" field.
func PublishedAtNEQ ¶
PublishedAtNEQ applies the NEQ predicate on the "PublishedAt" field.
func PublishedAtNotIn ¶
PublishedAtNotIn applies the NotIn predicate on the "PublishedAt" field.
func ReadPercent ¶
ReadPercent applies equality check predicate on the "ReadPercent" field. It's identical to ReadPercentEQ.
func ReadPercentEQ ¶
ReadPercentEQ applies the EQ predicate on the "ReadPercent" field.
func ReadPercentGT ¶
ReadPercentGT applies the GT predicate on the "ReadPercent" field.
func ReadPercentGTE ¶
ReadPercentGTE applies the GTE predicate on the "ReadPercent" field.
func ReadPercentIn ¶
ReadPercentIn applies the In predicate on the "ReadPercent" field.
func ReadPercentLT ¶
ReadPercentLT applies the LT predicate on the "ReadPercent" field.
func ReadPercentLTE ¶
ReadPercentLTE applies the LTE predicate on the "ReadPercent" field.
func ReadPercentNEQ ¶
ReadPercentNEQ applies the NEQ predicate on the "ReadPercent" field.
func ReadPercentNotIn ¶
ReadPercentNotIn applies the NotIn predicate on the "ReadPercent" 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 TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "Title" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "Type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "Type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "Type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "Type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "Type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ZipTextEncoding ¶
ZipTextEncoding applies equality check predicate on the "ZipTextEncoding" field. It's identical to ZipTextEncodingEQ.
func ZipTextEncodingContains ¶
ZipTextEncodingContains applies the Contains predicate on the "ZipTextEncoding" field.
func ZipTextEncodingContainsFold ¶
ZipTextEncodingContainsFold applies the ContainsFold predicate on the "ZipTextEncoding" field.
func ZipTextEncodingEQ ¶
ZipTextEncodingEQ applies the EQ predicate on the "ZipTextEncoding" field.
func ZipTextEncodingEqualFold ¶
ZipTextEncodingEqualFold applies the EqualFold predicate on the "ZipTextEncoding" field.
func ZipTextEncodingGT ¶
ZipTextEncodingGT applies the GT predicate on the "ZipTextEncoding" field.
func ZipTextEncodingGTE ¶
ZipTextEncodingGTE applies the GTE predicate on the "ZipTextEncoding" field.
func ZipTextEncodingHasPrefix ¶
ZipTextEncodingHasPrefix applies the HasPrefix predicate on the "ZipTextEncoding" field.
func ZipTextEncodingHasSuffix ¶
ZipTextEncodingHasSuffix applies the HasSuffix predicate on the "ZipTextEncoding" field.
func ZipTextEncodingIn ¶
ZipTextEncodingIn applies the In predicate on the "ZipTextEncoding" field.
func ZipTextEncodingLT ¶
ZipTextEncodingLT applies the LT predicate on the "ZipTextEncoding" field.
func ZipTextEncodingLTE ¶
ZipTextEncodingLTE applies the LTE predicate on the "ZipTextEncoding" field.
func ZipTextEncodingNEQ ¶
ZipTextEncodingNEQ applies the NEQ predicate on the "ZipTextEncoding" field.
func ZipTextEncodingNotIn ¶
ZipTextEncodingNotIn applies the NotIn predicate on the "ZipTextEncoding" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Book queries.
func ByAuthors ¶
func ByAuthors(opts ...sql.OrderTermOption) OrderOption
ByAuthors orders the results by the Authors field.
func ByBookID ¶
func ByBookID(opts ...sql.OrderTermOption) OrderOption
ByBookID orders the results by the BookID field.
func ByBookStorePath ¶
func ByBookStorePath(opts ...sql.OrderTermOption) OrderOption
ByBookStorePath orders the results by the BookStorePath field.
func ByChildBookNum ¶
func ByChildBookNum(opts ...sql.OrderTermOption) OrderOption
ByChildBookNum orders the results by the ChildBookNum field.
func ByDepth ¶
func ByDepth(opts ...sql.OrderTermOption) OrderOption
ByDepth orders the results by the Depth field.
func ByExtractNum ¶
func ByExtractNum(opts ...sql.OrderTermOption) OrderOption
ByExtractNum orders the results by the ExtractNum field.
func ByExtractPath ¶
func ByExtractPath(opts ...sql.OrderTermOption) OrderOption
ByExtractPath orders the results by the ExtractPath field.
func ByFilePath ¶
func ByFilePath(opts ...sql.OrderTermOption) OrderOption
ByFilePath orders the results by the FilePath field.
func ByFileSize ¶
func ByFileSize(opts ...sql.OrderTermOption) OrderOption
ByFileSize orders the results by the FileSize field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByISBN ¶
func ByISBN(opts ...sql.OrderTermOption) OrderOption
ByISBN orders the results by the ISBN field.
func ByInitComplete ¶
func ByInitComplete(opts ...sql.OrderTermOption) OrderOption
ByInitComplete orders the results by the InitComplete field.
func ByModified ¶
func ByModified(opts ...sql.OrderTermOption) OrderOption
ByModified orders the results by the Modified field.
func ByNonUTF8Zip ¶
func ByNonUTF8Zip(opts ...sql.OrderTermOption) OrderOption
ByNonUTF8Zip orders the results by the NonUTF8Zip field.
func ByOwner ¶
func ByOwner(opts ...sql.OrderTermOption) OrderOption
ByOwner orders the results by the Owner field.
func ByPageCount ¶
func ByPageCount(opts ...sql.OrderTermOption) OrderOption
ByPageCount orders the results by the PageCount field.
func ByPageInfos ¶
func ByPageInfos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPageInfos orders the results by PageInfos terms.
func ByPageInfosCount ¶
func ByPageInfosCount(opts ...sql.OrderTermOption) OrderOption
ByPageInfosCount orders the results by PageInfos count.
func ByParentFolder ¶
func ByParentFolder(opts ...sql.OrderTermOption) OrderOption
ByParentFolder orders the results by the ParentFolder field.
func ByPress ¶
func ByPress(opts ...sql.OrderTermOption) OrderOption
ByPress orders the results by the Press field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the PublishedAt field.
func ByReadPercent ¶
func ByReadPercent(opts ...sql.OrderTermOption) OrderOption
ByReadPercent orders the results by the ReadPercent field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the Title field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the Type field.
func ByZipTextEncoding ¶
func ByZipTextEncoding(opts ...sql.OrderTermOption) OrderOption
ByZipTextEncoding orders the results by the ZipTextEncoding field.