Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SinglePageInfo) predicate.SinglePageInfo
- func BlurHash(v string) predicate.SinglePageInfo
- func BlurHashContains(v string) predicate.SinglePageInfo
- func BlurHashContainsFold(v string) predicate.SinglePageInfo
- func BlurHashEQ(v string) predicate.SinglePageInfo
- func BlurHashEqualFold(v string) predicate.SinglePageInfo
- func BlurHashGT(v string) predicate.SinglePageInfo
- func BlurHashGTE(v string) predicate.SinglePageInfo
- func BlurHashHasPrefix(v string) predicate.SinglePageInfo
- func BlurHashHasSuffix(v string) predicate.SinglePageInfo
- func BlurHashIn(vs ...string) predicate.SinglePageInfo
- func BlurHashLT(v string) predicate.SinglePageInfo
- func BlurHashLTE(v string) predicate.SinglePageInfo
- func BlurHashNEQ(v string) predicate.SinglePageInfo
- func BlurHashNotIn(vs ...string) predicate.SinglePageInfo
- func BookID(v string) predicate.SinglePageInfo
- func BookIDContains(v string) predicate.SinglePageInfo
- func BookIDContainsFold(v string) predicate.SinglePageInfo
- func BookIDEQ(v string) predicate.SinglePageInfo
- func BookIDEqualFold(v string) predicate.SinglePageInfo
- func BookIDGT(v string) predicate.SinglePageInfo
- func BookIDGTE(v string) predicate.SinglePageInfo
- func BookIDHasPrefix(v string) predicate.SinglePageInfo
- func BookIDHasSuffix(v string) predicate.SinglePageInfo
- func BookIDIn(vs ...string) predicate.SinglePageInfo
- func BookIDLT(v string) predicate.SinglePageInfo
- func BookIDLTE(v string) predicate.SinglePageInfo
- func BookIDNEQ(v string) predicate.SinglePageInfo
- func BookIDNotIn(vs ...string) predicate.SinglePageInfo
- func FileSize(v int64) predicate.SinglePageInfo
- func FileSizeEQ(v int64) predicate.SinglePageInfo
- func FileSizeGT(v int64) predicate.SinglePageInfo
- func FileSizeGTE(v int64) predicate.SinglePageInfo
- func FileSizeIn(vs ...int64) predicate.SinglePageInfo
- func FileSizeLT(v int64) predicate.SinglePageInfo
- func FileSizeLTE(v int64) predicate.SinglePageInfo
- func FileSizeNEQ(v int64) predicate.SinglePageInfo
- func FileSizeNotIn(vs ...int64) predicate.SinglePageInfo
- func Height(v int) predicate.SinglePageInfo
- func HeightEQ(v int) predicate.SinglePageInfo
- func HeightGT(v int) predicate.SinglePageInfo
- func HeightGTE(v int) predicate.SinglePageInfo
- func HeightIn(vs ...int) predicate.SinglePageInfo
- func HeightLT(v int) predicate.SinglePageInfo
- func HeightLTE(v int) predicate.SinglePageInfo
- func HeightNEQ(v int) predicate.SinglePageInfo
- func HeightNotIn(vs ...int) predicate.SinglePageInfo
- func ID(id int) predicate.SinglePageInfo
- func IDEQ(id int) predicate.SinglePageInfo
- func IDGT(id int) predicate.SinglePageInfo
- func IDGTE(id int) predicate.SinglePageInfo
- func IDIn(ids ...int) predicate.SinglePageInfo
- func IDLT(id int) predicate.SinglePageInfo
- func IDLTE(id int) predicate.SinglePageInfo
- func IDNEQ(id int) predicate.SinglePageInfo
- func IDNotIn(ids ...int) predicate.SinglePageInfo
- func ImgType(v string) predicate.SinglePageInfo
- func ImgTypeContains(v string) predicate.SinglePageInfo
- func ImgTypeContainsFold(v string) predicate.SinglePageInfo
- func ImgTypeEQ(v string) predicate.SinglePageInfo
- func ImgTypeEqualFold(v string) predicate.SinglePageInfo
- func ImgTypeGT(v string) predicate.SinglePageInfo
- func ImgTypeGTE(v string) predicate.SinglePageInfo
- func ImgTypeHasPrefix(v string) predicate.SinglePageInfo
- func ImgTypeHasSuffix(v string) predicate.SinglePageInfo
- func ImgTypeIn(vs ...string) predicate.SinglePageInfo
- func ImgTypeLT(v string) predicate.SinglePageInfo
- func ImgTypeLTE(v string) predicate.SinglePageInfo
- func ImgTypeNEQ(v string) predicate.SinglePageInfo
- func ImgTypeNotIn(vs ...string) predicate.SinglePageInfo
- func ModeTime(v time.Time) predicate.SinglePageInfo
- func ModeTimeEQ(v time.Time) predicate.SinglePageInfo
- func ModeTimeGT(v time.Time) predicate.SinglePageInfo
- func ModeTimeGTE(v time.Time) predicate.SinglePageInfo
- func ModeTimeIn(vs ...time.Time) predicate.SinglePageInfo
- func ModeTimeLT(v time.Time) predicate.SinglePageInfo
- func ModeTimeLTE(v time.Time) predicate.SinglePageInfo
- func ModeTimeNEQ(v time.Time) predicate.SinglePageInfo
- func ModeTimeNotIn(vs ...time.Time) predicate.SinglePageInfo
- func NameInArchive(v string) predicate.SinglePageInfo
- func NameInArchiveContains(v string) predicate.SinglePageInfo
- func NameInArchiveContainsFold(v string) predicate.SinglePageInfo
- func NameInArchiveEQ(v string) predicate.SinglePageInfo
- func NameInArchiveEqualFold(v string) predicate.SinglePageInfo
- func NameInArchiveGT(v string) predicate.SinglePageInfo
- func NameInArchiveGTE(v string) predicate.SinglePageInfo
- func NameInArchiveHasPrefix(v string) predicate.SinglePageInfo
- func NameInArchiveHasSuffix(v string) predicate.SinglePageInfo
- func NameInArchiveIn(vs ...string) predicate.SinglePageInfo
- func NameInArchiveLT(v string) predicate.SinglePageInfo
- func NameInArchiveLTE(v string) predicate.SinglePageInfo
- func NameInArchiveNEQ(v string) predicate.SinglePageInfo
- func NameInArchiveNotIn(vs ...string) predicate.SinglePageInfo
- func Not(p predicate.SinglePageInfo) predicate.SinglePageInfo
- func Or(predicates ...predicate.SinglePageInfo) predicate.SinglePageInfo
- func PageNum(v int) predicate.SinglePageInfo
- func PageNumEQ(v int) predicate.SinglePageInfo
- func PageNumGT(v int) predicate.SinglePageInfo
- func PageNumGTE(v int) predicate.SinglePageInfo
- func PageNumIn(vs ...int) predicate.SinglePageInfo
- func PageNumLT(v int) predicate.SinglePageInfo
- func PageNumLTE(v int) predicate.SinglePageInfo
- func PageNumNEQ(v int) predicate.SinglePageInfo
- func PageNumNotIn(vs ...int) predicate.SinglePageInfo
- func RealImageFilePATH(v string) predicate.SinglePageInfo
- func RealImageFilePATHContains(v string) predicate.SinglePageInfo
- func RealImageFilePATHContainsFold(v string) predicate.SinglePageInfo
- func RealImageFilePATHEQ(v string) predicate.SinglePageInfo
- func RealImageFilePATHEqualFold(v string) predicate.SinglePageInfo
- func RealImageFilePATHGT(v string) predicate.SinglePageInfo
- func RealImageFilePATHGTE(v string) predicate.SinglePageInfo
- func RealImageFilePATHHasPrefix(v string) predicate.SinglePageInfo
- func RealImageFilePATHHasSuffix(v string) predicate.SinglePageInfo
- func RealImageFilePATHIn(vs ...string) predicate.SinglePageInfo
- func RealImageFilePATHLT(v string) predicate.SinglePageInfo
- func RealImageFilePATHLTE(v string) predicate.SinglePageInfo
- func RealImageFilePATHNEQ(v string) predicate.SinglePageInfo
- func RealImageFilePATHNotIn(vs ...string) predicate.SinglePageInfo
- func URL(v string) predicate.SinglePageInfo
- func URLContains(v string) predicate.SinglePageInfo
- func URLContainsFold(v string) predicate.SinglePageInfo
- func URLEQ(v string) predicate.SinglePageInfo
- func URLEqualFold(v string) predicate.SinglePageInfo
- func URLGT(v string) predicate.SinglePageInfo
- func URLGTE(v string) predicate.SinglePageInfo
- func URLHasPrefix(v string) predicate.SinglePageInfo
- func URLHasSuffix(v string) predicate.SinglePageInfo
- func URLIn(vs ...string) predicate.SinglePageInfo
- func URLLT(v string) predicate.SinglePageInfo
- func URLLTE(v string) predicate.SinglePageInfo
- func URLNEQ(v string) predicate.SinglePageInfo
- func URLNotIn(vs ...string) predicate.SinglePageInfo
- func ValidColumn(column string) bool
- func Width(v int) predicate.SinglePageInfo
- func WidthEQ(v int) predicate.SinglePageInfo
- func WidthGT(v int) predicate.SinglePageInfo
- func WidthGTE(v int) predicate.SinglePageInfo
- func WidthIn(vs ...int) predicate.SinglePageInfo
- func WidthLT(v int) predicate.SinglePageInfo
- func WidthLTE(v int) predicate.SinglePageInfo
- func WidthNEQ(v int) predicate.SinglePageInfo
- func WidthNotIn(vs ...int) predicate.SinglePageInfo
- type OrderOption
- func ByBlurHash(opts ...sql.OrderTermOption) OrderOption
- func ByBookID(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByHeight(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImgType(opts ...sql.OrderTermOption) OrderOption
- func ByModeTime(opts ...sql.OrderTermOption) OrderOption
- func ByNameInArchive(opts ...sql.OrderTermOption) OrderOption
- func ByPageNum(opts ...sql.OrderTermOption) OrderOption
- func ByRealImageFilePATH(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
- func ByWidth(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the singlepageinfo type in the database. Label = "single_page_info" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBookID holds the string denoting the bookid field in the database. FieldBookID = "book_id" // FieldPageNum holds the string denoting the pagenum field in the database. FieldPageNum = "page_num" // FieldNameInArchive holds the string denoting the nameinarchive field in the database. FieldNameInArchive = "name_in_archive" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldBlurHash holds the string denoting the blurhash field in the database. FieldBlurHash = "blur_hash" // FieldHeight holds the string denoting the height field in the database. FieldHeight = "height" // FieldWidth holds the string denoting the width field in the database. FieldWidth = "width" // FieldModeTime holds the string denoting the modetime field in the database. FieldModeTime = "mode_time" // FieldFileSize holds the string denoting the filesize field in the database. FieldFileSize = "file_size" // FieldRealImageFilePATH holds the string denoting the realimagefilepath field in the database. FieldRealImageFilePATH = "real_image_file_path" // FieldImgType holds the string denoting the imgtype field in the database. FieldImgType = "img_type" // Table holds the table name of the singlepageinfo in the database. Table = "single_page_infos" )
Variables ¶
var Columns = []string{ FieldID, FieldBookID, FieldPageNum, FieldNameInArchive, FieldURL, FieldBlurHash, FieldHeight, FieldWidth, FieldModeTime, FieldFileSize, FieldRealImageFilePATH, FieldImgType, }
Columns holds all SQL columns for singlepageinfo fields.
var ( // DefaultModeTime holds the default value on creation for the "ModeTime" field. DefaultModeTime func() time.Time )
var ForeignKeys = []string{
"book_page_infos",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "single_page_infos" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.SinglePageInfo) predicate.SinglePageInfo
And groups predicates with the AND operator between them.
func BlurHash ¶
func BlurHash(v string) predicate.SinglePageInfo
BlurHash applies equality check predicate on the "BlurHash" field. It's identical to BlurHashEQ.
func BlurHashContains ¶
func BlurHashContains(v string) predicate.SinglePageInfo
BlurHashContains applies the Contains predicate on the "BlurHash" field.
func BlurHashContainsFold ¶
func BlurHashContainsFold(v string) predicate.SinglePageInfo
BlurHashContainsFold applies the ContainsFold predicate on the "BlurHash" field.
func BlurHashEQ ¶
func BlurHashEQ(v string) predicate.SinglePageInfo
BlurHashEQ applies the EQ predicate on the "BlurHash" field.
func BlurHashEqualFold ¶
func BlurHashEqualFold(v string) predicate.SinglePageInfo
BlurHashEqualFold applies the EqualFold predicate on the "BlurHash" field.
func BlurHashGT ¶
func BlurHashGT(v string) predicate.SinglePageInfo
BlurHashGT applies the GT predicate on the "BlurHash" field.
func BlurHashGTE ¶
func BlurHashGTE(v string) predicate.SinglePageInfo
BlurHashGTE applies the GTE predicate on the "BlurHash" field.
func BlurHashHasPrefix ¶
func BlurHashHasPrefix(v string) predicate.SinglePageInfo
BlurHashHasPrefix applies the HasPrefix predicate on the "BlurHash" field.
func BlurHashHasSuffix ¶
func BlurHashHasSuffix(v string) predicate.SinglePageInfo
BlurHashHasSuffix applies the HasSuffix predicate on the "BlurHash" field.
func BlurHashIn ¶
func BlurHashIn(vs ...string) predicate.SinglePageInfo
BlurHashIn applies the In predicate on the "BlurHash" field.
func BlurHashLT ¶
func BlurHashLT(v string) predicate.SinglePageInfo
BlurHashLT applies the LT predicate on the "BlurHash" field.
func BlurHashLTE ¶
func BlurHashLTE(v string) predicate.SinglePageInfo
BlurHashLTE applies the LTE predicate on the "BlurHash" field.
func BlurHashNEQ ¶
func BlurHashNEQ(v string) predicate.SinglePageInfo
BlurHashNEQ applies the NEQ predicate on the "BlurHash" field.
func BlurHashNotIn ¶
func BlurHashNotIn(vs ...string) predicate.SinglePageInfo
BlurHashNotIn applies the NotIn predicate on the "BlurHash" field.
func BookID ¶
func BookID(v string) predicate.SinglePageInfo
BookID applies equality check predicate on the "BookID" field. It's identical to BookIDEQ.
func BookIDContains ¶
func BookIDContains(v string) predicate.SinglePageInfo
BookIDContains applies the Contains predicate on the "BookID" field.
func BookIDContainsFold ¶
func BookIDContainsFold(v string) predicate.SinglePageInfo
BookIDContainsFold applies the ContainsFold predicate on the "BookID" field.
func BookIDEQ ¶
func BookIDEQ(v string) predicate.SinglePageInfo
BookIDEQ applies the EQ predicate on the "BookID" field.
func BookIDEqualFold ¶
func BookIDEqualFold(v string) predicate.SinglePageInfo
BookIDEqualFold applies the EqualFold predicate on the "BookID" field.
func BookIDGT ¶
func BookIDGT(v string) predicate.SinglePageInfo
BookIDGT applies the GT predicate on the "BookID" field.
func BookIDGTE ¶
func BookIDGTE(v string) predicate.SinglePageInfo
BookIDGTE applies the GTE predicate on the "BookID" field.
func BookIDHasPrefix ¶
func BookIDHasPrefix(v string) predicate.SinglePageInfo
BookIDHasPrefix applies the HasPrefix predicate on the "BookID" field.
func BookIDHasSuffix ¶
func BookIDHasSuffix(v string) predicate.SinglePageInfo
BookIDHasSuffix applies the HasSuffix predicate on the "BookID" field.
func BookIDIn ¶
func BookIDIn(vs ...string) predicate.SinglePageInfo
BookIDIn applies the In predicate on the "BookID" field.
func BookIDLT ¶
func BookIDLT(v string) predicate.SinglePageInfo
BookIDLT applies the LT predicate on the "BookID" field.
func BookIDLTE ¶
func BookIDLTE(v string) predicate.SinglePageInfo
BookIDLTE applies the LTE predicate on the "BookID" field.
func BookIDNEQ ¶
func BookIDNEQ(v string) predicate.SinglePageInfo
BookIDNEQ applies the NEQ predicate on the "BookID" field.
func BookIDNotIn ¶
func BookIDNotIn(vs ...string) predicate.SinglePageInfo
BookIDNotIn applies the NotIn predicate on the "BookID" field.
func FileSize ¶
func FileSize(v int64) predicate.SinglePageInfo
FileSize applies equality check predicate on the "FileSize" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶
func FileSizeEQ(v int64) predicate.SinglePageInfo
FileSizeEQ applies the EQ predicate on the "FileSize" field.
func FileSizeGT ¶
func FileSizeGT(v int64) predicate.SinglePageInfo
FileSizeGT applies the GT predicate on the "FileSize" field.
func FileSizeGTE ¶
func FileSizeGTE(v int64) predicate.SinglePageInfo
FileSizeGTE applies the GTE predicate on the "FileSize" field.
func FileSizeIn ¶
func FileSizeIn(vs ...int64) predicate.SinglePageInfo
FileSizeIn applies the In predicate on the "FileSize" field.
func FileSizeLT ¶
func FileSizeLT(v int64) predicate.SinglePageInfo
FileSizeLT applies the LT predicate on the "FileSize" field.
func FileSizeLTE ¶
func FileSizeLTE(v int64) predicate.SinglePageInfo
FileSizeLTE applies the LTE predicate on the "FileSize" field.
func FileSizeNEQ ¶
func FileSizeNEQ(v int64) predicate.SinglePageInfo
FileSizeNEQ applies the NEQ predicate on the "FileSize" field.
func FileSizeNotIn ¶
func FileSizeNotIn(vs ...int64) predicate.SinglePageInfo
FileSizeNotIn applies the NotIn predicate on the "FileSize" field.
func Height ¶
func Height(v int) predicate.SinglePageInfo
Height applies equality check predicate on the "Height" field. It's identical to HeightEQ.
func HeightEQ ¶
func HeightEQ(v int) predicate.SinglePageInfo
HeightEQ applies the EQ predicate on the "Height" field.
func HeightGT ¶
func HeightGT(v int) predicate.SinglePageInfo
HeightGT applies the GT predicate on the "Height" field.
func HeightGTE ¶
func HeightGTE(v int) predicate.SinglePageInfo
HeightGTE applies the GTE predicate on the "Height" field.
func HeightIn ¶
func HeightIn(vs ...int) predicate.SinglePageInfo
HeightIn applies the In predicate on the "Height" field.
func HeightLT ¶
func HeightLT(v int) predicate.SinglePageInfo
HeightLT applies the LT predicate on the "Height" field.
func HeightLTE ¶
func HeightLTE(v int) predicate.SinglePageInfo
HeightLTE applies the LTE predicate on the "Height" field.
func HeightNEQ ¶
func HeightNEQ(v int) predicate.SinglePageInfo
HeightNEQ applies the NEQ predicate on the "Height" field.
func HeightNotIn ¶
func HeightNotIn(vs ...int) predicate.SinglePageInfo
HeightNotIn applies the NotIn predicate on the "Height" field.
func IDEQ ¶
func IDEQ(id int) predicate.SinglePageInfo
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.SinglePageInfo
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.SinglePageInfo
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.SinglePageInfo
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.SinglePageInfo
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SinglePageInfo
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SinglePageInfo
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.SinglePageInfo
IDNotIn applies the NotIn predicate on the ID field.
func ImgType ¶
func ImgType(v string) predicate.SinglePageInfo
ImgType applies equality check predicate on the "ImgType" field. It's identical to ImgTypeEQ.
func ImgTypeContains ¶
func ImgTypeContains(v string) predicate.SinglePageInfo
ImgTypeContains applies the Contains predicate on the "ImgType" field.
func ImgTypeContainsFold ¶
func ImgTypeContainsFold(v string) predicate.SinglePageInfo
ImgTypeContainsFold applies the ContainsFold predicate on the "ImgType" field.
func ImgTypeEQ ¶
func ImgTypeEQ(v string) predicate.SinglePageInfo
ImgTypeEQ applies the EQ predicate on the "ImgType" field.
func ImgTypeEqualFold ¶
func ImgTypeEqualFold(v string) predicate.SinglePageInfo
ImgTypeEqualFold applies the EqualFold predicate on the "ImgType" field.
func ImgTypeGT ¶
func ImgTypeGT(v string) predicate.SinglePageInfo
ImgTypeGT applies the GT predicate on the "ImgType" field.
func ImgTypeGTE ¶
func ImgTypeGTE(v string) predicate.SinglePageInfo
ImgTypeGTE applies the GTE predicate on the "ImgType" field.
func ImgTypeHasPrefix ¶
func ImgTypeHasPrefix(v string) predicate.SinglePageInfo
ImgTypeHasPrefix applies the HasPrefix predicate on the "ImgType" field.
func ImgTypeHasSuffix ¶
func ImgTypeHasSuffix(v string) predicate.SinglePageInfo
ImgTypeHasSuffix applies the HasSuffix predicate on the "ImgType" field.
func ImgTypeIn ¶
func ImgTypeIn(vs ...string) predicate.SinglePageInfo
ImgTypeIn applies the In predicate on the "ImgType" field.
func ImgTypeLT ¶
func ImgTypeLT(v string) predicate.SinglePageInfo
ImgTypeLT applies the LT predicate on the "ImgType" field.
func ImgTypeLTE ¶
func ImgTypeLTE(v string) predicate.SinglePageInfo
ImgTypeLTE applies the LTE predicate on the "ImgType" field.
func ImgTypeNEQ ¶
func ImgTypeNEQ(v string) predicate.SinglePageInfo
ImgTypeNEQ applies the NEQ predicate on the "ImgType" field.
func ImgTypeNotIn ¶
func ImgTypeNotIn(vs ...string) predicate.SinglePageInfo
ImgTypeNotIn applies the NotIn predicate on the "ImgType" field.
func ModeTime ¶
func ModeTime(v time.Time) predicate.SinglePageInfo
ModeTime applies equality check predicate on the "ModeTime" field. It's identical to ModeTimeEQ.
func ModeTimeEQ ¶
func ModeTimeEQ(v time.Time) predicate.SinglePageInfo
ModeTimeEQ applies the EQ predicate on the "ModeTime" field.
func ModeTimeGT ¶
func ModeTimeGT(v time.Time) predicate.SinglePageInfo
ModeTimeGT applies the GT predicate on the "ModeTime" field.
func ModeTimeGTE ¶
func ModeTimeGTE(v time.Time) predicate.SinglePageInfo
ModeTimeGTE applies the GTE predicate on the "ModeTime" field.
func ModeTimeIn ¶
func ModeTimeIn(vs ...time.Time) predicate.SinglePageInfo
ModeTimeIn applies the In predicate on the "ModeTime" field.
func ModeTimeLT ¶
func ModeTimeLT(v time.Time) predicate.SinglePageInfo
ModeTimeLT applies the LT predicate on the "ModeTime" field.
func ModeTimeLTE ¶
func ModeTimeLTE(v time.Time) predicate.SinglePageInfo
ModeTimeLTE applies the LTE predicate on the "ModeTime" field.
func ModeTimeNEQ ¶
func ModeTimeNEQ(v time.Time) predicate.SinglePageInfo
ModeTimeNEQ applies the NEQ predicate on the "ModeTime" field.
func ModeTimeNotIn ¶
func ModeTimeNotIn(vs ...time.Time) predicate.SinglePageInfo
ModeTimeNotIn applies the NotIn predicate on the "ModeTime" field.
func NameInArchive ¶
func NameInArchive(v string) predicate.SinglePageInfo
NameInArchive applies equality check predicate on the "NameInArchive" field. It's identical to NameInArchiveEQ.
func NameInArchiveContains ¶
func NameInArchiveContains(v string) predicate.SinglePageInfo
NameInArchiveContains applies the Contains predicate on the "NameInArchive" field.
func NameInArchiveContainsFold ¶
func NameInArchiveContainsFold(v string) predicate.SinglePageInfo
NameInArchiveContainsFold applies the ContainsFold predicate on the "NameInArchive" field.
func NameInArchiveEQ ¶
func NameInArchiveEQ(v string) predicate.SinglePageInfo
NameInArchiveEQ applies the EQ predicate on the "NameInArchive" field.
func NameInArchiveEqualFold ¶
func NameInArchiveEqualFold(v string) predicate.SinglePageInfo
NameInArchiveEqualFold applies the EqualFold predicate on the "NameInArchive" field.
func NameInArchiveGT ¶
func NameInArchiveGT(v string) predicate.SinglePageInfo
NameInArchiveGT applies the GT predicate on the "NameInArchive" field.
func NameInArchiveGTE ¶
func NameInArchiveGTE(v string) predicate.SinglePageInfo
NameInArchiveGTE applies the GTE predicate on the "NameInArchive" field.
func NameInArchiveHasPrefix ¶
func NameInArchiveHasPrefix(v string) predicate.SinglePageInfo
NameInArchiveHasPrefix applies the HasPrefix predicate on the "NameInArchive" field.
func NameInArchiveHasSuffix ¶
func NameInArchiveHasSuffix(v string) predicate.SinglePageInfo
NameInArchiveHasSuffix applies the HasSuffix predicate on the "NameInArchive" field.
func NameInArchiveIn ¶
func NameInArchiveIn(vs ...string) predicate.SinglePageInfo
NameInArchiveIn applies the In predicate on the "NameInArchive" field.
func NameInArchiveLT ¶
func NameInArchiveLT(v string) predicate.SinglePageInfo
NameInArchiveLT applies the LT predicate on the "NameInArchive" field.
func NameInArchiveLTE ¶
func NameInArchiveLTE(v string) predicate.SinglePageInfo
NameInArchiveLTE applies the LTE predicate on the "NameInArchive" field.
func NameInArchiveNEQ ¶
func NameInArchiveNEQ(v string) predicate.SinglePageInfo
NameInArchiveNEQ applies the NEQ predicate on the "NameInArchive" field.
func NameInArchiveNotIn ¶
func NameInArchiveNotIn(vs ...string) predicate.SinglePageInfo
NameInArchiveNotIn applies the NotIn predicate on the "NameInArchive" field.
func Not ¶
func Not(p predicate.SinglePageInfo) predicate.SinglePageInfo
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SinglePageInfo) predicate.SinglePageInfo
Or groups predicates with the OR operator between them.
func PageNum ¶
func PageNum(v int) predicate.SinglePageInfo
PageNum applies equality check predicate on the "PageNum" field. It's identical to PageNumEQ.
func PageNumEQ ¶
func PageNumEQ(v int) predicate.SinglePageInfo
PageNumEQ applies the EQ predicate on the "PageNum" field.
func PageNumGT ¶
func PageNumGT(v int) predicate.SinglePageInfo
PageNumGT applies the GT predicate on the "PageNum" field.
func PageNumGTE ¶
func PageNumGTE(v int) predicate.SinglePageInfo
PageNumGTE applies the GTE predicate on the "PageNum" field.
func PageNumIn ¶
func PageNumIn(vs ...int) predicate.SinglePageInfo
PageNumIn applies the In predicate on the "PageNum" field.
func PageNumLT ¶
func PageNumLT(v int) predicate.SinglePageInfo
PageNumLT applies the LT predicate on the "PageNum" field.
func PageNumLTE ¶
func PageNumLTE(v int) predicate.SinglePageInfo
PageNumLTE applies the LTE predicate on the "PageNum" field.
func PageNumNEQ ¶
func PageNumNEQ(v int) predicate.SinglePageInfo
PageNumNEQ applies the NEQ predicate on the "PageNum" field.
func PageNumNotIn ¶
func PageNumNotIn(vs ...int) predicate.SinglePageInfo
PageNumNotIn applies the NotIn predicate on the "PageNum" field.
func RealImageFilePATH ¶
func RealImageFilePATH(v string) predicate.SinglePageInfo
RealImageFilePATH applies equality check predicate on the "RealImageFilePATH" field. It's identical to RealImageFilePATHEQ.
func RealImageFilePATHContains ¶
func RealImageFilePATHContains(v string) predicate.SinglePageInfo
RealImageFilePATHContains applies the Contains predicate on the "RealImageFilePATH" field.
func RealImageFilePATHContainsFold ¶
func RealImageFilePATHContainsFold(v string) predicate.SinglePageInfo
RealImageFilePATHContainsFold applies the ContainsFold predicate on the "RealImageFilePATH" field.
func RealImageFilePATHEQ ¶
func RealImageFilePATHEQ(v string) predicate.SinglePageInfo
RealImageFilePATHEQ applies the EQ predicate on the "RealImageFilePATH" field.
func RealImageFilePATHEqualFold ¶
func RealImageFilePATHEqualFold(v string) predicate.SinglePageInfo
RealImageFilePATHEqualFold applies the EqualFold predicate on the "RealImageFilePATH" field.
func RealImageFilePATHGT ¶
func RealImageFilePATHGT(v string) predicate.SinglePageInfo
RealImageFilePATHGT applies the GT predicate on the "RealImageFilePATH" field.
func RealImageFilePATHGTE ¶
func RealImageFilePATHGTE(v string) predicate.SinglePageInfo
RealImageFilePATHGTE applies the GTE predicate on the "RealImageFilePATH" field.
func RealImageFilePATHHasPrefix ¶
func RealImageFilePATHHasPrefix(v string) predicate.SinglePageInfo
RealImageFilePATHHasPrefix applies the HasPrefix predicate on the "RealImageFilePATH" field.
func RealImageFilePATHHasSuffix ¶
func RealImageFilePATHHasSuffix(v string) predicate.SinglePageInfo
RealImageFilePATHHasSuffix applies the HasSuffix predicate on the "RealImageFilePATH" field.
func RealImageFilePATHIn ¶
func RealImageFilePATHIn(vs ...string) predicate.SinglePageInfo
RealImageFilePATHIn applies the In predicate on the "RealImageFilePATH" field.
func RealImageFilePATHLT ¶
func RealImageFilePATHLT(v string) predicate.SinglePageInfo
RealImageFilePATHLT applies the LT predicate on the "RealImageFilePATH" field.
func RealImageFilePATHLTE ¶
func RealImageFilePATHLTE(v string) predicate.SinglePageInfo
RealImageFilePATHLTE applies the LTE predicate on the "RealImageFilePATH" field.
func RealImageFilePATHNEQ ¶
func RealImageFilePATHNEQ(v string) predicate.SinglePageInfo
RealImageFilePATHNEQ applies the NEQ predicate on the "RealImageFilePATH" field.
func RealImageFilePATHNotIn ¶
func RealImageFilePATHNotIn(vs ...string) predicate.SinglePageInfo
RealImageFilePATHNotIn applies the NotIn predicate on the "RealImageFilePATH" field.
func URL ¶
func URL(v string) predicate.SinglePageInfo
URL applies equality check predicate on the "Url" field. It's identical to URLEQ.
func URLContains ¶
func URLContains(v string) predicate.SinglePageInfo
URLContains applies the Contains predicate on the "Url" field.
func URLContainsFold ¶
func URLContainsFold(v string) predicate.SinglePageInfo
URLContainsFold applies the ContainsFold predicate on the "Url" field.
func URLEQ ¶
func URLEQ(v string) predicate.SinglePageInfo
URLEQ applies the EQ predicate on the "Url" field.
func URLEqualFold ¶
func URLEqualFold(v string) predicate.SinglePageInfo
URLEqualFold applies the EqualFold predicate on the "Url" field.
func URLGT ¶
func URLGT(v string) predicate.SinglePageInfo
URLGT applies the GT predicate on the "Url" field.
func URLGTE ¶
func URLGTE(v string) predicate.SinglePageInfo
URLGTE applies the GTE predicate on the "Url" field.
func URLHasPrefix ¶
func URLHasPrefix(v string) predicate.SinglePageInfo
URLHasPrefix applies the HasPrefix predicate on the "Url" field.
func URLHasSuffix ¶
func URLHasSuffix(v string) predicate.SinglePageInfo
URLHasSuffix applies the HasSuffix predicate on the "Url" field.
func URLIn ¶
func URLIn(vs ...string) predicate.SinglePageInfo
URLIn applies the In predicate on the "Url" field.
func URLLT ¶
func URLLT(v string) predicate.SinglePageInfo
URLLT applies the LT predicate on the "Url" field.
func URLLTE ¶
func URLLTE(v string) predicate.SinglePageInfo
URLLTE applies the LTE predicate on the "Url" field.
func URLNEQ ¶
func URLNEQ(v string) predicate.SinglePageInfo
URLNEQ applies the NEQ predicate on the "Url" field.
func URLNotIn ¶
func URLNotIn(vs ...string) predicate.SinglePageInfo
URLNotIn applies the NotIn predicate on the "Url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Width ¶
func Width(v int) predicate.SinglePageInfo
Width applies equality check predicate on the "Width" field. It's identical to WidthEQ.
func WidthEQ ¶
func WidthEQ(v int) predicate.SinglePageInfo
WidthEQ applies the EQ predicate on the "Width" field.
func WidthGT ¶
func WidthGT(v int) predicate.SinglePageInfo
WidthGT applies the GT predicate on the "Width" field.
func WidthGTE ¶
func WidthGTE(v int) predicate.SinglePageInfo
WidthGTE applies the GTE predicate on the "Width" field.
func WidthIn ¶
func WidthIn(vs ...int) predicate.SinglePageInfo
WidthIn applies the In predicate on the "Width" field.
func WidthLT ¶
func WidthLT(v int) predicate.SinglePageInfo
WidthLT applies the LT predicate on the "Width" field.
func WidthLTE ¶
func WidthLTE(v int) predicate.SinglePageInfo
WidthLTE applies the LTE predicate on the "Width" field.
func WidthNEQ ¶
func WidthNEQ(v int) predicate.SinglePageInfo
WidthNEQ applies the NEQ predicate on the "Width" field.
func WidthNotIn ¶
func WidthNotIn(vs ...int) predicate.SinglePageInfo
WidthNotIn applies the NotIn predicate on the "Width" field.
Types ¶
type OrderOption ¶ added in v0.9.5
OrderOption defines the ordering options for the SinglePageInfo queries.
func ByBlurHash ¶ added in v0.9.5
func ByBlurHash(opts ...sql.OrderTermOption) OrderOption
ByBlurHash orders the results by the BlurHash field.
func ByBookID ¶ added in v0.9.5
func ByBookID(opts ...sql.OrderTermOption) OrderOption
ByBookID orders the results by the BookID field.
func ByFileSize ¶ added in v0.9.5
func ByFileSize(opts ...sql.OrderTermOption) OrderOption
ByFileSize orders the results by the FileSize field.
func ByHeight ¶ added in v0.9.5
func ByHeight(opts ...sql.OrderTermOption) OrderOption
ByHeight orders the results by the Height field.
func ByID ¶ added in v0.9.5
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImgType ¶ added in v0.9.5
func ByImgType(opts ...sql.OrderTermOption) OrderOption
ByImgType orders the results by the ImgType field.
func ByModeTime ¶ added in v0.9.5
func ByModeTime(opts ...sql.OrderTermOption) OrderOption
ByModeTime orders the results by the ModeTime field.
func ByNameInArchive ¶ added in v0.9.5
func ByNameInArchive(opts ...sql.OrderTermOption) OrderOption
ByNameInArchive orders the results by the NameInArchive field.
func ByPageNum ¶ added in v0.9.5
func ByPageNum(opts ...sql.OrderTermOption) OrderOption
ByPageNum orders the results by the PageNum field.
func ByRealImageFilePATH ¶ added in v0.9.5
func ByRealImageFilePATH(opts ...sql.OrderTermOption) OrderOption
ByRealImageFilePATH orders the results by the RealImageFilePATH field.
func ByURL ¶ added in v0.9.5
func ByURL(opts ...sql.OrderTermOption) OrderOption
ByURL orders the results by the Url field.
func ByWidth ¶ added in v0.9.5
func ByWidth(opts ...sql.OrderTermOption) OrderOption
ByWidth orders the results by the Width field.