models

package
v0.0.0-...-8441c34 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ABookSeriesColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "id",
	Name: "name",
	Sort: "sort",
	Link: "link",
}
View Source
var ABookSeriesRels = struct {
}{}

ABookSeriesRels is where relationship names are stored.

View Source
var ABookSeriesTableColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "series.id",
	Name: "series.name",
	Sort: "series.sort",
	Link: "series.link",
}
View Source
var ABookSeriesWhere = struct {
	ID   whereHelpernull_Int64
	Name whereHelperstring
	Sort whereHelpernull_String
	Link whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
	Sort: whereHelpernull_String{/* contains filtered or unexported fields */},
	Link: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AnnotationColumns = struct {
	ID             string
	Book           string
	Format         string
	UserType       string
	User           string
	Timestamp      string
	AnnotID        string
	AnnotType      string
	AnnotData      string
	SearchableText string
}{
	ID:             "id",
	Book:           "book",
	Format:         "format",
	UserType:       "user_type",
	User:           "user",
	Timestamp:      "timestamp",
	AnnotID:        "annot_id",
	AnnotType:      "annot_type",
	AnnotData:      "annot_data",
	SearchableText: "searchable_text",
}
View Source
var AnnotationRels = struct {
}{}

AnnotationRels is where relationship names are stored.

View Source
var AnnotationTableColumns = struct {
	ID             string
	Book           string
	Format         string
	UserType       string
	User           string
	Timestamp      string
	AnnotID        string
	AnnotType      string
	AnnotData      string
	SearchableText string
}{
	ID:             "annotations.id",
	Book:           "annotations.book",
	Format:         "annotations.format",
	UserType:       "annotations.user_type",
	User:           "annotations.user",
	Timestamp:      "annotations.timestamp",
	AnnotID:        "annotations.annot_id",
	AnnotType:      "annotations.annot_type",
	AnnotData:      "annotations.annot_data",
	SearchableText: "annotations.searchable_text",
}
View Source
var AnnotationWhere = struct {
	ID             whereHelpernull_Int64
	Book           whereHelperint64
	Format         whereHelperstring
	UserType       whereHelperstring
	User           whereHelperstring
	Timestamp      whereHelperfloat64
	AnnotID        whereHelperstring
	AnnotType      whereHelperstring
	AnnotData      whereHelperstring
	SearchableText whereHelperstring
}{
	ID:             whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:           whereHelperint64{/* contains filtered or unexported fields */},
	Format:         whereHelperstring{/* contains filtered or unexported fields */},
	UserType:       whereHelperstring{/* contains filtered or unexported fields */},
	User:           whereHelperstring{/* contains filtered or unexported fields */},
	Timestamp:      whereHelperfloat64{/* contains filtered or unexported fields */},
	AnnotID:        whereHelperstring{/* contains filtered or unexported fields */},
	AnnotType:      whereHelperstring{/* contains filtered or unexported fields */},
	AnnotData:      whereHelperstring{/* contains filtered or unexported fields */},
	SearchableText: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AuthorColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "id",
	Name: "name",
	Sort: "sort",
	Link: "link",
}
View Source
var AuthorRels = struct {
}{}

AuthorRels is where relationship names are stored.

View Source
var AuthorTableColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "authors.id",
	Name: "authors.name",
	Sort: "authors.sort",
	Link: "authors.link",
}
View Source
var AuthorWhere = struct {
	ID   whereHelpernull_Int64
	Name whereHelperstring
	Sort whereHelpernull_String
	Link whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
	Sort: whereHelpernull_String{/* contains filtered or unexported fields */},
	Link: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var BookColumns = struct {
	ID           string
	Title        string
	Sort         string
	Timestamp    string
	Pubdate      string
	SeriesIndex  string
	AuthorSort   string
	Isbn         string
	LCCN         string
	Path         string
	Flags        string
	UUID         string
	HasCover     string
	LastModified string
}{
	ID:           "id",
	Title:        "title",
	Sort:         "sort",
	Timestamp:    "timestamp",
	Pubdate:      "pubdate",
	SeriesIndex:  "series_index",
	AuthorSort:   "author_sort",
	Isbn:         "isbn",
	LCCN:         "lccn",
	Path:         "path",
	Flags:        "flags",
	UUID:         "uuid",
	HasCover:     "has_cover",
	LastModified: "last_modified",
}
View Source
var BookRels = struct {
}{}

BookRels is where relationship names are stored.

View Source
var BookTableColumns = struct {
	ID           string
	Title        string
	Sort         string
	Timestamp    string
	Pubdate      string
	SeriesIndex  string
	AuthorSort   string
	Isbn         string
	LCCN         string
	Path         string
	Flags        string
	UUID         string
	HasCover     string
	LastModified string
}{
	ID:           "books.id",
	Title:        "books.title",
	Sort:         "books.sort",
	Timestamp:    "books.timestamp",
	Pubdate:      "books.pubdate",
	SeriesIndex:  "books.series_index",
	AuthorSort:   "books.author_sort",
	Isbn:         "books.isbn",
	LCCN:         "books.lccn",
	Path:         "books.path",
	Flags:        "books.flags",
	UUID:         "books.uuid",
	HasCover:     "books.has_cover",
	LastModified: "books.last_modified",
}
View Source
var BookWhere = struct {
	ID           whereHelpernull_Int64
	Title        whereHelperstring
	Sort         whereHelpernull_String
	Timestamp    whereHelpernull_String
	Pubdate      whereHelpernull_String
	SeriesIndex  whereHelperfloat64
	AuthorSort   whereHelpernull_String
	Isbn         whereHelpernull_String
	LCCN         whereHelpernull_String
	Path         whereHelperstring
	Flags        whereHelperint64
	UUID         whereHelpernull_String
	HasCover     whereHelpernull_String
	LastModified whereHelperstring
}{
	ID:           whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Title:        whereHelperstring{/* contains filtered or unexported fields */},
	Sort:         whereHelpernull_String{/* contains filtered or unexported fields */},
	Timestamp:    whereHelpernull_String{/* contains filtered or unexported fields */},
	Pubdate:      whereHelpernull_String{/* contains filtered or unexported fields */},
	SeriesIndex:  whereHelperfloat64{/* contains filtered or unexported fields */},
	AuthorSort:   whereHelpernull_String{/* contains filtered or unexported fields */},
	Isbn:         whereHelpernull_String{/* contains filtered or unexported fields */},
	LCCN:         whereHelpernull_String{/* contains filtered or unexported fields */},
	Path:         whereHelperstring{/* contains filtered or unexported fields */},
	Flags:        whereHelperint64{/* contains filtered or unexported fields */},
	UUID:         whereHelpernull_String{/* contains filtered or unexported fields */},
	HasCover:     whereHelpernull_String{/* contains filtered or unexported fields */},
	LastModified: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var BooksAuthorsLinkColumns = struct {
	ID     string
	Book   string
	Author string
}{
	ID:     "id",
	Book:   "book",
	Author: "author",
}
View Source
var BooksAuthorsLinkRels = struct {
}{}

BooksAuthorsLinkRels is where relationship names are stored.

View Source
var BooksAuthorsLinkTableColumns = struct {
	ID     string
	Book   string
	Author string
}{
	ID:     "books_authors_link.id",
	Book:   "books_authors_link.book",
	Author: "books_authors_link.author",
}
View Source
var BooksAuthorsLinkWhere = struct {
	ID     whereHelpernull_Int64
	Book   whereHelperint64
	Author whereHelperint64
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:   whereHelperint64{/* contains filtered or unexported fields */},
	Author: whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var BooksLanguagesLinkColumns = struct {
	ID        string
	Book      string
	LangCode  string
	ItemOrder string
}{
	ID:        "id",
	Book:      "book",
	LangCode:  "lang_code",
	ItemOrder: "item_order",
}
View Source
var BooksLanguagesLinkRels = struct {
}{}

BooksLanguagesLinkRels is where relationship names are stored.

View Source
var BooksLanguagesLinkTableColumns = struct {
	ID        string
	Book      string
	LangCode  string
	ItemOrder string
}{
	ID:        "books_languages_link.id",
	Book:      "books_languages_link.book",
	LangCode:  "books_languages_link.lang_code",
	ItemOrder: "books_languages_link.item_order",
}
View Source
var BooksLanguagesLinkWhere = struct {
	ID        whereHelpernull_Int64
	Book      whereHelperint64
	LangCode  whereHelperint64
	ItemOrder whereHelperint64
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:      whereHelperint64{/* contains filtered or unexported fields */},
	LangCode:  whereHelperint64{/* contains filtered or unexported fields */},
	ItemOrder: whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var BooksPluginDatumColumns = struct {
	ID   string
	Book string
	Name string
	Val  string
}{
	ID:   "id",
	Book: "book",
	Name: "name",
	Val:  "val",
}
View Source
var BooksPluginDatumRels = struct {
}{}

BooksPluginDatumRels is where relationship names are stored.

View Source
var BooksPluginDatumTableColumns = struct {
	ID   string
	Book string
	Name string
	Val  string
}{
	ID:   "books_plugin_data.id",
	Book: "books_plugin_data.book",
	Name: "books_plugin_data.name",
	Val:  "books_plugin_data.val",
}
View Source
var BooksPluginDatumWhere = struct {
	ID   whereHelpernull_Int64
	Book whereHelperint64
	Name whereHelperstring
	Val  whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book: whereHelperint64{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
	Val:  whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var BooksPublishersLinkColumns = struct {
	ID        string
	Book      string
	Publisher string
}{
	ID:        "id",
	Book:      "book",
	Publisher: "publisher",
}
View Source
var BooksPublishersLinkRels = struct {
}{}

BooksPublishersLinkRels is where relationship names are stored.

View Source
var BooksPublishersLinkTableColumns = struct {
	ID        string
	Book      string
	Publisher string
}{
	ID:        "books_publishers_link.id",
	Book:      "books_publishers_link.book",
	Publisher: "books_publishers_link.publisher",
}
View Source
var BooksPublishersLinkWhere = struct {
	ID        whereHelpernull_Int64
	Book      whereHelperint64
	Publisher whereHelperint64
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:      whereHelperint64{/* contains filtered or unexported fields */},
	Publisher: whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var BooksRatingsLinkColumns = struct {
	ID     string
	Book   string
	Rating string
}{
	ID:     "id",
	Book:   "book",
	Rating: "rating",
}
View Source
var BooksRatingsLinkRels = struct {
}{}

BooksRatingsLinkRels is where relationship names are stored.

View Source
var BooksRatingsLinkTableColumns = struct {
	ID     string
	Book   string
	Rating string
}{
	ID:     "books_ratings_link.id",
	Book:   "books_ratings_link.book",
	Rating: "books_ratings_link.rating",
}
View Source
var BooksRatingsLinkWhere = struct {
	ID     whereHelpernull_Int64
	Book   whereHelperint64
	Rating whereHelperint64
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:   whereHelperint64{/* contains filtered or unexported fields */},
	Rating: whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var BooksSeriesLinkColumns = struct {
	ID     string
	Book   string
	Series string
}{
	ID:     "id",
	Book:   "book",
	Series: "series",
}
View Source
var BooksSeriesLinkRels = struct {
}{}

BooksSeriesLinkRels is where relationship names are stored.

View Source
var BooksSeriesLinkTableColumns = struct {
	ID     string
	Book   string
	Series string
}{
	ID:     "books_series_link.id",
	Book:   "books_series_link.book",
	Series: "books_series_link.series",
}
View Source
var BooksSeriesLinkWhere = struct {
	ID     whereHelpernull_Int64
	Book   whereHelperint64
	Series whereHelperint64
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:   whereHelperint64{/* contains filtered or unexported fields */},
	Series: whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var BooksTagsLinkColumns = struct {
	ID   string
	Book string
	Tag  string
}{
	ID:   "id",
	Book: "book",
	Tag:  "tag",
}
View Source
var BooksTagsLinkRels = struct {
}{}

BooksTagsLinkRels is where relationship names are stored.

View Source
var BooksTagsLinkTableColumns = struct {
	ID   string
	Book string
	Tag  string
}{
	ID:   "books_tags_link.id",
	Book: "books_tags_link.book",
	Tag:  "books_tags_link.tag",
}
View Source
var BooksTagsLinkWhere = struct {
	ID   whereHelpernull_Int64
	Book whereHelperint64
	Tag  whereHelperint64
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book: whereHelperint64{/* contains filtered or unexported fields */},
	Tag:  whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var CommentColumns = struct {
	ID   string
	Book string
	Text string
}{
	ID:   "id",
	Book: "book",
	Text: "text",
}
View Source
var CommentRels = struct {
}{}

CommentRels is where relationship names are stored.

View Source
var CommentTableColumns = struct {
	ID   string
	Book string
	Text string
}{
	ID:   "comments.id",
	Book: "comments.book",
	Text: "comments.text",
}
View Source
var CommentWhere = struct {
	ID   whereHelpernull_Int64
	Book whereHelperint64
	Text whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book: whereHelperint64{/* contains filtered or unexported fields */},
	Text: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ConversionOptionColumns = struct {
	ID     string
	Format string
	Book   string
	Data   string
}{
	ID:     "id",
	Format: "format",
	Book:   "book",
	Data:   "data",
}
View Source
var ConversionOptionRels = struct {
}{}

ConversionOptionRels is where relationship names are stored.

View Source
var ConversionOptionTableColumns = struct {
	ID     string
	Format string
	Book   string
	Data   string
}{
	ID:     "conversion_options.id",
	Format: "conversion_options.format",
	Book:   "conversion_options.book",
	Data:   "conversion_options.data",
}
View Source
var ConversionOptionWhere = struct {
	ID     whereHelpernull_Int64
	Format whereHelperstring
	Book   whereHelpernull_Int64
	Data   whereHelper__byte
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Format: whereHelperstring{/* contains filtered or unexported fields */},
	Book:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Data:   whereHelper__byte{/* contains filtered or unexported fields */},
}
View Source
var CustomColumnColumns = struct {
	ID            string
	Label         string
	Name          string
	Datatype      string
	MarkForDelete string
	Editable      string
	Display       string
	IsMultiple    string
	Normalized    string
}{
	ID:            "id",
	Label:         "label",
	Name:          "name",
	Datatype:      "datatype",
	MarkForDelete: "mark_for_delete",
	Editable:      "editable",
	Display:       "display",
	IsMultiple:    "is_multiple",
	Normalized:    "normalized",
}
View Source
var CustomColumnRels = struct {
}{}

CustomColumnRels is where relationship names are stored.

View Source
var CustomColumnTableColumns = struct {
	ID            string
	Label         string
	Name          string
	Datatype      string
	MarkForDelete string
	Editable      string
	Display       string
	IsMultiple    string
	Normalized    string
}{
	ID:            "custom_columns.id",
	Label:         "custom_columns.label",
	Name:          "custom_columns.name",
	Datatype:      "custom_columns.datatype",
	MarkForDelete: "custom_columns.mark_for_delete",
	Editable:      "custom_columns.editable",
	Display:       "custom_columns.display",
	IsMultiple:    "custom_columns.is_multiple",
	Normalized:    "custom_columns.normalized",
}
View Source
var CustomColumnWhere = struct {
	ID            whereHelpernull_Int64
	Label         whereHelperstring
	Name          whereHelperstring
	Datatype      whereHelperstring
	MarkForDelete whereHelperstring
	Editable      whereHelperstring
	Display       whereHelperstring
	IsMultiple    whereHelperstring
	Normalized    whereHelperstring
}{
	ID:            whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Label:         whereHelperstring{/* contains filtered or unexported fields */},
	Name:          whereHelperstring{/* contains filtered or unexported fields */},
	Datatype:      whereHelperstring{/* contains filtered or unexported fields */},
	MarkForDelete: whereHelperstring{/* contains filtered or unexported fields */},
	Editable:      whereHelperstring{/* contains filtered or unexported fields */},
	Display:       whereHelperstring{/* contains filtered or unexported fields */},
	IsMultiple:    whereHelperstring{/* contains filtered or unexported fields */},
	Normalized:    whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var DatumColumns = struct {
	ID               string
	Book             string
	Format           string
	UncompressedSize string
	Name             string
}{
	ID:               "id",
	Book:             "book",
	Format:           "format",
	UncompressedSize: "uncompressed_size",
	Name:             "name",
}
View Source
var DatumRels = struct {
}{}

DatumRels is where relationship names are stored.

View Source
var DatumTableColumns = struct {
	ID               string
	Book             string
	Format           string
	UncompressedSize string
	Name             string
}{
	ID:               "data.id",
	Book:             "data.book",
	Format:           "data.format",
	UncompressedSize: "data.uncompressed_size",
	Name:             "data.name",
}
View Source
var DatumWhere = struct {
	ID               whereHelpernull_Int64
	Book             whereHelperint64
	Format           whereHelperstring
	UncompressedSize whereHelperint64
	Name             whereHelperstring
}{
	ID:               whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:             whereHelperint64{/* contains filtered or unexported fields */},
	Format:           whereHelperstring{/* contains filtered or unexported fields */},
	UncompressedSize: whereHelperint64{/* contains filtered or unexported fields */},
	Name:             whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.

View Source
var FeedColumns = struct {
	ID     string
	Title  string
	Script string
}{
	ID:     "id",
	Title:  "title",
	Script: "script",
}
View Source
var FeedRels = struct {
}{}

FeedRels is where relationship names are stored.

View Source
var FeedTableColumns = struct {
	ID     string
	Title  string
	Script string
}{
	ID:     "feeds.id",
	Title:  "feeds.title",
	Script: "feeds.script",
}
View Source
var FeedWhere = struct {
	ID     whereHelpernull_Int64
	Title  whereHelperstring
	Script whereHelperstring
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Title:  whereHelperstring{/* contains filtered or unexported fields */},
	Script: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var IdentifierColumns = struct {
	ID   string
	Book string
	Type string
	Val  string
}{
	ID:   "id",
	Book: "book",
	Type: "type",
	Val:  "val",
}
View Source
var IdentifierRels = struct {
}{}

IdentifierRels is where relationship names are stored.

View Source
var IdentifierTableColumns = struct {
	ID   string
	Book string
	Type string
	Val  string
}{
	ID:   "identifiers.id",
	Book: "identifiers.book",
	Type: "identifiers.type",
	Val:  "identifiers.val",
}
View Source
var IdentifierWhere = struct {
	ID   whereHelpernull_Int64
	Book whereHelperint64
	Type whereHelperstring
	Val  whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book: whereHelperint64{/* contains filtered or unexported fields */},
	Type: whereHelperstring{/* contains filtered or unexported fields */},
	Val:  whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var LanguageColumns = struct {
	ID       string
	LangCode string
	Link     string
}{
	ID:       "id",
	LangCode: "lang_code",
	Link:     "link",
}
View Source
var LanguageRels = struct {
}{}

LanguageRels is where relationship names are stored.

View Source
var LanguageTableColumns = struct {
	ID       string
	LangCode string
	Link     string
}{
	ID:       "languages.id",
	LangCode: "languages.lang_code",
	Link:     "languages.link",
}
View Source
var LanguageWhere = struct {
	ID       whereHelpernull_Int64
	LangCode whereHelperstring
	Link     whereHelperstring
}{
	ID:       whereHelpernull_Int64{/* contains filtered or unexported fields */},
	LangCode: whereHelperstring{/* contains filtered or unexported fields */},
	Link:     whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var LastReadPositionColumns = struct {
	ID      string
	Book    string
	Format  string
	User    string
	Device  string
	Cfi     string
	Epoch   string
	PosFrac string
}{
	ID:      "id",
	Book:    "book",
	Format:  "format",
	User:    "user",
	Device:  "device",
	Cfi:     "cfi",
	Epoch:   "epoch",
	PosFrac: "pos_frac",
}
View Source
var LastReadPositionRels = struct {
}{}

LastReadPositionRels is where relationship names are stored.

View Source
var LastReadPositionTableColumns = struct {
	ID      string
	Book    string
	Format  string
	User    string
	Device  string
	Cfi     string
	Epoch   string
	PosFrac string
}{
	ID:      "last_read_positions.id",
	Book:    "last_read_positions.book",
	Format:  "last_read_positions.format",
	User:    "last_read_positions.user",
	Device:  "last_read_positions.device",
	Cfi:     "last_read_positions.cfi",
	Epoch:   "last_read_positions.epoch",
	PosFrac: "last_read_positions.pos_frac",
}
View Source
var LastReadPositionWhere = struct {
	ID      whereHelpernull_Int64
	Book    whereHelperint64
	Format  whereHelperstring
	User    whereHelperstring
	Device  whereHelperstring
	Cfi     whereHelperstring
	Epoch   whereHelperfloat64
	PosFrac whereHelperfloat64
}{
	ID:      whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Book:    whereHelperint64{/* contains filtered or unexported fields */},
	Format:  whereHelperstring{/* contains filtered or unexported fields */},
	User:    whereHelperstring{/* contains filtered or unexported fields */},
	Device:  whereHelperstring{/* contains filtered or unexported fields */},
	Cfi:     whereHelperstring{/* contains filtered or unexported fields */},
	Epoch:   whereHelperfloat64{/* contains filtered or unexported fields */},
	PosFrac: whereHelperfloat64{/* contains filtered or unexported fields */},
}
View Source
var LibraryIDColumns = struct {
	ID   string
	UUID string
}{
	ID:   "id",
	UUID: "uuid",
}
View Source
var LibraryIDRels = struct {
}{}

LibraryIDRels is where relationship names are stored.

View Source
var LibraryIDTableColumns = struct {
	ID   string
	UUID string
}{
	ID:   "library_id.id",
	UUID: "library_id.uuid",
}
View Source
var LibraryIDWhere = struct {
	ID   whereHelpernull_Int64
	UUID whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	UUID: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var PreferenceColumns = struct {
	ID  string
	Key string
	Val string
}{
	ID:  "id",
	Key: "key",
	Val: "val",
}
View Source
var PreferenceRels = struct {
}{}

PreferenceRels is where relationship names are stored.

View Source
var PreferenceTableColumns = struct {
	ID  string
	Key string
	Val string
}{
	ID:  "preferences.id",
	Key: "preferences.key",
	Val: "preferences.val",
}
View Source
var PreferenceWhere = struct {
	ID  whereHelpernull_Int64
	Key whereHelperstring
	Val whereHelperstring
}{
	ID:  whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Key: whereHelperstring{/* contains filtered or unexported fields */},
	Val: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var PublisherColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "id",
	Name: "name",
	Sort: "sort",
	Link: "link",
}
View Source
var PublisherRels = struct {
}{}

PublisherRels is where relationship names are stored.

View Source
var PublisherTableColumns = struct {
	ID   string
	Name string
	Sort string
	Link string
}{
	ID:   "publishers.id",
	Name: "publishers.name",
	Sort: "publishers.sort",
	Link: "publishers.link",
}
View Source
var PublisherWhere = struct {
	ID   whereHelpernull_Int64
	Name whereHelperstring
	Sort whereHelpernull_String
	Link whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
	Sort: whereHelpernull_String{/* contains filtered or unexported fields */},
	Link: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var RatingColumns = struct {
	ID     string
	Rating string
	Link   string
}{
	ID:     "id",
	Rating: "rating",
	Link:   "link",
}
View Source
var RatingRels = struct {
}{}

RatingRels is where relationship names are stored.

View Source
var RatingTableColumns = struct {
	ID     string
	Rating string
	Link   string
}{
	ID:     "ratings.id",
	Rating: "ratings.rating",
	Link:   "ratings.link",
}
View Source
var RatingWhere = struct {
	ID     whereHelpernull_Int64
	Rating whereHelpernull_Int64
	Link   whereHelperstring
}{
	ID:     whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Rating: whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Link:   whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	Annotations         string
	Authors             string
	Books               string
	BooksAuthorsLink    string
	BooksLanguagesLink  string
	BooksPluginData     string
	BooksPublishersLink string
	BooksRatingsLink    string
	BooksSeriesLink     string
	BooksTagsLink       string
	Comments            string
	ConversionOptions   string
	CustomColumns       string
	Data                string
	Feeds               string
	Identifiers         string
	Languages           string
	LastReadPositions   string
	LibraryID           string
	Preferences         string
	Publishers          string
	Ratings             string
	Series              string
	Tags                string
}{
	Annotations:         "annotations",
	Authors:             "authors",
	Books:               "books",
	BooksAuthorsLink:    "books_authors_link",
	BooksLanguagesLink:  "books_languages_link",
	BooksPluginData:     "books_plugin_data",
	BooksPublishersLink: "books_publishers_link",
	BooksRatingsLink:    "books_ratings_link",
	BooksSeriesLink:     "books_series_link",
	BooksTagsLink:       "books_tags_link",
	Comments:            "comments",
	ConversionOptions:   "conversion_options",
	CustomColumns:       "custom_columns",
	Data:                "data",
	Feeds:               "feeds",
	Identifiers:         "identifiers",
	Languages:           "languages",
	LastReadPositions:   "last_read_positions",
	LibraryID:           "library_id",
	Preferences:         "preferences",
	Publishers:          "publishers",
	Ratings:             "ratings",
	Series:              "series",
	Tags:                "tags",
}
View Source
var TagBrowserAuthorColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "id",
	Name:      "name",
	Count:     "count",
	AvgRating: "avg_rating",
	Sort:      "sort",
}
View Source
var TagBrowserAuthorTableColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "tag_browser_authors.id",
	Name:      "tag_browser_authors.name",
	Count:     "tag_browser_authors.count",
	AvgRating: "tag_browser_authors.avg_rating",
	Sort:      "tag_browser_authors.sort",
}
View Source
var TagBrowserAuthorWhere = struct {
	ID        whereHelpernull_Int64
	Name      whereHelpernull_String
	Count     whereHelpernull_String
	AvgRating whereHelpernull_String
	Sort      whereHelpernull_String
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name:      whereHelpernull_String{/* contains filtered or unexported fields */},
	Count:     whereHelpernull_String{/* contains filtered or unexported fields */},
	AvgRating: whereHelpernull_String{/* contains filtered or unexported fields */},
	Sort:      whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var TagBrowserPublisherColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "id",
	Name:      "name",
	Count:     "count",
	AvgRating: "avg_rating",
	Sort:      "sort",
}
View Source
var TagBrowserPublisherTableColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "tag_browser_publishers.id",
	Name:      "tag_browser_publishers.name",
	Count:     "tag_browser_publishers.count",
	AvgRating: "tag_browser_publishers.avg_rating",
	Sort:      "tag_browser_publishers.sort",
}
View Source
var TagBrowserPublisherWhere = struct {
	ID        whereHelpernull_Int64
	Name      whereHelpernull_String
	Count     whereHelpernull_String
	AvgRating whereHelpernull_String
	Sort      whereHelpernull_String
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name:      whereHelpernull_String{/* contains filtered or unexported fields */},
	Count:     whereHelpernull_String{/* contains filtered or unexported fields */},
	AvgRating: whereHelpernull_String{/* contains filtered or unexported fields */},
	Sort:      whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var TagBrowserRatingColumns = struct {
	ID        string
	Rating    string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "id",
	Rating:    "rating",
	Count:     "count",
	AvgRating: "avg_rating",
	Sort:      "sort",
}
View Source
var TagBrowserRatingTableColumns = struct {
	ID        string
	Rating    string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "tag_browser_ratings.id",
	Rating:    "tag_browser_ratings.rating",
	Count:     "tag_browser_ratings.count",
	AvgRating: "tag_browser_ratings.avg_rating",
	Sort:      "tag_browser_ratings.sort",
}
View Source
var TagBrowserRatingWhere = struct {
	ID        whereHelpernull_Int64
	Rating    whereHelpernull_Int64
	Count     whereHelpernull_String
	AvgRating whereHelpernull_String
	Sort      whereHelpernull_Int64
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Rating:    whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Count:     whereHelpernull_String{/* contains filtered or unexported fields */},
	AvgRating: whereHelpernull_String{/* contains filtered or unexported fields */},
	Sort:      whereHelpernull_Int64{/* contains filtered or unexported fields */},
}
View Source
var TagBrowserTagColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "id",
	Name:      "name",
	Count:     "count",
	AvgRating: "avg_rating",
	Sort:      "sort",
}
View Source
var TagBrowserTagTableColumns = struct {
	ID        string
	Name      string
	Count     string
	AvgRating string
	Sort      string
}{
	ID:        "tag_browser_tags.id",
	Name:      "tag_browser_tags.name",
	Count:     "tag_browser_tags.count",
	AvgRating: "tag_browser_tags.avg_rating",
	Sort:      "tag_browser_tags.sort",
}
View Source
var TagBrowserTagWhere = struct {
	ID        whereHelpernull_Int64
	Name      whereHelpernull_String
	Count     whereHelpernull_String
	AvgRating whereHelpernull_String
	Sort      whereHelpernull_String
}{
	ID:        whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name:      whereHelpernull_String{/* contains filtered or unexported fields */},
	Count:     whereHelpernull_String{/* contains filtered or unexported fields */},
	AvgRating: whereHelpernull_String{/* contains filtered or unexported fields */},
	Sort:      whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var TagColumns = struct {
	ID   string
	Name string
	Link string
}{
	ID:   "id",
	Name: "name",
	Link: "link",
}
View Source
var TagRels = struct {
}{}

TagRels is where relationship names are stored.

View Source
var TagTableColumns = struct {
	ID   string
	Name string
	Link string
}{
	ID:   "tags.id",
	Name: "tags.name",
	Link: "tags.link",
}
View Source
var TagWhere = struct {
	ID   whereHelpernull_Int64
	Name whereHelperstring
	Link whereHelperstring
}{
	ID:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
	Link: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ViewNames = struct {
	TagBrowserAuthors    string
	TagBrowserPublishers string
	TagBrowserRatings    string
	TagBrowserTags       string
}{
	TagBrowserAuthors:    "tag_browser_authors",
	TagBrowserPublishers: "tag_browser_publishers",
	TagBrowserRatings:    "tag_browser_ratings",
	TagBrowserTags:       "tag_browser_tags",
}

Functions

func ABookSeriesExists

func ABookSeriesExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

ABookSeriesExists checks if the ABookSeries row exists.

func ABookSeriesExistsG

func ABookSeriesExistsG(ctx context.Context, iD null.Int64) (bool, error)

ABookSeriesExistsG checks if the ABookSeries row exists.

func AddABookSeriesHook

func AddABookSeriesHook(hookPoint boil.HookPoint, aBookSeriesHook ABookSeriesHook)

AddABookSeriesHook registers your hook function for all future operations.

func AddAnnotationHook

func AddAnnotationHook(hookPoint boil.HookPoint, annotationHook AnnotationHook)

AddAnnotationHook registers your hook function for all future operations.

func AddAuthorHook

func AddAuthorHook(hookPoint boil.HookPoint, authorHook AuthorHook)

AddAuthorHook registers your hook function for all future operations.

func AddBookHook

func AddBookHook(hookPoint boil.HookPoint, bookHook BookHook)

AddBookHook registers your hook function for all future operations.

func AddBooksAuthorsLinkHook

func AddBooksAuthorsLinkHook(hookPoint boil.HookPoint, booksAuthorsLinkHook BooksAuthorsLinkHook)

AddBooksAuthorsLinkHook registers your hook function for all future operations.

func AddBooksLanguagesLinkHook

func AddBooksLanguagesLinkHook(hookPoint boil.HookPoint, booksLanguagesLinkHook BooksLanguagesLinkHook)

AddBooksLanguagesLinkHook registers your hook function for all future operations.

func AddBooksPluginDatumHook

func AddBooksPluginDatumHook(hookPoint boil.HookPoint, booksPluginDatumHook BooksPluginDatumHook)

AddBooksPluginDatumHook registers your hook function for all future operations.

func AddBooksPublishersLinkHook

func AddBooksPublishersLinkHook(hookPoint boil.HookPoint, booksPublishersLinkHook BooksPublishersLinkHook)

AddBooksPublishersLinkHook registers your hook function for all future operations.

func AddBooksRatingsLinkHook

func AddBooksRatingsLinkHook(hookPoint boil.HookPoint, booksRatingsLinkHook BooksRatingsLinkHook)

AddBooksRatingsLinkHook registers your hook function for all future operations.

func AddBooksSeriesLinkHook

func AddBooksSeriesLinkHook(hookPoint boil.HookPoint, booksSeriesLinkHook BooksSeriesLinkHook)

AddBooksSeriesLinkHook registers your hook function for all future operations.

func AddBooksTagsLinkHook

func AddBooksTagsLinkHook(hookPoint boil.HookPoint, booksTagsLinkHook BooksTagsLinkHook)

AddBooksTagsLinkHook registers your hook function for all future operations.

func AddCommentHook

func AddCommentHook(hookPoint boil.HookPoint, commentHook CommentHook)

AddCommentHook registers your hook function for all future operations.

func AddConversionOptionHook

func AddConversionOptionHook(hookPoint boil.HookPoint, conversionOptionHook ConversionOptionHook)

AddConversionOptionHook registers your hook function for all future operations.

func AddCustomColumnHook

func AddCustomColumnHook(hookPoint boil.HookPoint, customColumnHook CustomColumnHook)

AddCustomColumnHook registers your hook function for all future operations.

func AddDatumHook

func AddDatumHook(hookPoint boil.HookPoint, datumHook DatumHook)

AddDatumHook registers your hook function for all future operations.

func AddFeedHook

func AddFeedHook(hookPoint boil.HookPoint, feedHook FeedHook)

AddFeedHook registers your hook function for all future operations.

func AddIdentifierHook

func AddIdentifierHook(hookPoint boil.HookPoint, identifierHook IdentifierHook)

AddIdentifierHook registers your hook function for all future operations.

func AddLanguageHook

func AddLanguageHook(hookPoint boil.HookPoint, languageHook LanguageHook)

AddLanguageHook registers your hook function for all future operations.

func AddLastReadPositionHook

func AddLastReadPositionHook(hookPoint boil.HookPoint, lastReadPositionHook LastReadPositionHook)

AddLastReadPositionHook registers your hook function for all future operations.

func AddLibraryIDHook

func AddLibraryIDHook(hookPoint boil.HookPoint, libraryIDHook LibraryIDHook)

AddLibraryIDHook registers your hook function for all future operations.

func AddPreferenceHook

func AddPreferenceHook(hookPoint boil.HookPoint, preferenceHook PreferenceHook)

AddPreferenceHook registers your hook function for all future operations.

func AddPublisherHook

func AddPublisherHook(hookPoint boil.HookPoint, publisherHook PublisherHook)

AddPublisherHook registers your hook function for all future operations.

func AddRatingHook

func AddRatingHook(hookPoint boil.HookPoint, ratingHook RatingHook)

AddRatingHook registers your hook function for all future operations.

func AddTagBrowserAuthorHook

func AddTagBrowserAuthorHook(hookPoint boil.HookPoint, tagBrowserAuthorHook TagBrowserAuthorHook)

AddTagBrowserAuthorHook registers your hook function for all future operations.

func AddTagBrowserPublisherHook

func AddTagBrowserPublisherHook(hookPoint boil.HookPoint, tagBrowserPublisherHook TagBrowserPublisherHook)

AddTagBrowserPublisherHook registers your hook function for all future operations.

func AddTagBrowserRatingHook

func AddTagBrowserRatingHook(hookPoint boil.HookPoint, tagBrowserRatingHook TagBrowserRatingHook)

AddTagBrowserRatingHook registers your hook function for all future operations.

func AddTagBrowserTagHook

func AddTagBrowserTagHook(hookPoint boil.HookPoint, tagBrowserTagHook TagBrowserTagHook)

AddTagBrowserTagHook registers your hook function for all future operations.

func AddTagHook

func AddTagHook(hookPoint boil.HookPoint, tagHook TagHook)

AddTagHook registers your hook function for all future operations.

func AnnotationExists

func AnnotationExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

AnnotationExists checks if the Annotation row exists.

func AnnotationExistsG

func AnnotationExistsG(ctx context.Context, iD null.Int64) (bool, error)

AnnotationExistsG checks if the Annotation row exists.

func Annotations

func Annotations(mods ...qm.QueryMod) annotationQuery

Annotations retrieves all the records using an executor.

func AuthorExists

func AuthorExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

AuthorExists checks if the Author row exists.

func AuthorExistsG

func AuthorExistsG(ctx context.Context, iD null.Int64) (bool, error)

AuthorExistsG checks if the Author row exists.

func Authors

func Authors(mods ...qm.QueryMod) authorQuery

Authors retrieves all the records using an executor.

func BookExists

func BookExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BookExists checks if the Book row exists.

func BookExistsG

func BookExistsG(ctx context.Context, iD null.Int64) (bool, error)

BookExistsG checks if the Book row exists.

func BookSeries

func BookSeries(mods ...qm.QueryMod) aBookSeriesQuery

BookSeries retrieves all the records using an executor.

func Books

func Books(mods ...qm.QueryMod) bookQuery

Books retrieves all the records using an executor.

func BooksAuthorsLinkExists

func BooksAuthorsLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksAuthorsLinkExists checks if the BooksAuthorsLink row exists.

func BooksAuthorsLinkExistsG

func BooksAuthorsLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksAuthorsLinkExistsG checks if the BooksAuthorsLink row exists.

func BooksAuthorsLinks(mods ...qm.QueryMod) booksAuthorsLinkQuery

BooksAuthorsLinks retrieves all the records using an executor.

func BooksLanguagesLinkExists

func BooksLanguagesLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksLanguagesLinkExists checks if the BooksLanguagesLink row exists.

func BooksLanguagesLinkExistsG

func BooksLanguagesLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksLanguagesLinkExistsG checks if the BooksLanguagesLink row exists.

func BooksLanguagesLinks(mods ...qm.QueryMod) booksLanguagesLinkQuery

BooksLanguagesLinks retrieves all the records using an executor.

func BooksPluginData

func BooksPluginData(mods ...qm.QueryMod) booksPluginDatumQuery

BooksPluginData retrieves all the records using an executor.

func BooksPluginDatumExists

func BooksPluginDatumExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksPluginDatumExists checks if the BooksPluginDatum row exists.

func BooksPluginDatumExistsG

func BooksPluginDatumExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksPluginDatumExistsG checks if the BooksPluginDatum row exists.

func BooksPublishersLinkExists

func BooksPublishersLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksPublishersLinkExists checks if the BooksPublishersLink row exists.

func BooksPublishersLinkExistsG

func BooksPublishersLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksPublishersLinkExistsG checks if the BooksPublishersLink row exists.

func BooksPublishersLinks(mods ...qm.QueryMod) booksPublishersLinkQuery

BooksPublishersLinks retrieves all the records using an executor.

func BooksRatingsLinkExists

func BooksRatingsLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksRatingsLinkExists checks if the BooksRatingsLink row exists.

func BooksRatingsLinkExistsG

func BooksRatingsLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksRatingsLinkExistsG checks if the BooksRatingsLink row exists.

func BooksRatingsLinks(mods ...qm.QueryMod) booksRatingsLinkQuery

BooksRatingsLinks retrieves all the records using an executor.

func BooksSeriesLinkExists

func BooksSeriesLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksSeriesLinkExists checks if the BooksSeriesLink row exists.

func BooksSeriesLinkExistsG

func BooksSeriesLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksSeriesLinkExistsG checks if the BooksSeriesLink row exists.

func BooksSeriesLinks(mods ...qm.QueryMod) booksSeriesLinkQuery

BooksSeriesLinks retrieves all the records using an executor.

func BooksTagsLinkExists

func BooksTagsLinkExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

BooksTagsLinkExists checks if the BooksTagsLink row exists.

func BooksTagsLinkExistsG

func BooksTagsLinkExistsG(ctx context.Context, iD null.Int64) (bool, error)

BooksTagsLinkExistsG checks if the BooksTagsLink row exists.

func BooksTagsLinks(mods ...qm.QueryMod) booksTagsLinkQuery

BooksTagsLinks retrieves all the records using an executor.

func CommentExists

func CommentExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

CommentExists checks if the Comment row exists.

func CommentExistsG

func CommentExistsG(ctx context.Context, iD null.Int64) (bool, error)

CommentExistsG checks if the Comment row exists.

func Comments

func Comments(mods ...qm.QueryMod) commentQuery

Comments retrieves all the records using an executor.

func ConversionOptionExists

func ConversionOptionExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

ConversionOptionExists checks if the ConversionOption row exists.

func ConversionOptionExistsG

func ConversionOptionExistsG(ctx context.Context, iD null.Int64) (bool, error)

ConversionOptionExistsG checks if the ConversionOption row exists.

func ConversionOptions

func ConversionOptions(mods ...qm.QueryMod) conversionOptionQuery

ConversionOptions retrieves all the records using an executor.

func CustomColumnExists

func CustomColumnExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

CustomColumnExists checks if the CustomColumn row exists.

func CustomColumnExistsG

func CustomColumnExistsG(ctx context.Context, iD null.Int64) (bool, error)

CustomColumnExistsG checks if the CustomColumn row exists.

func CustomColumns

func CustomColumns(mods ...qm.QueryMod) customColumnQuery

CustomColumns retrieves all the records using an executor.

func Data

func Data(mods ...qm.QueryMod) datumQuery

Data retrieves all the records using an executor.

func DatumExists

func DatumExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

DatumExists checks if the Datum row exists.

func DatumExistsG

func DatumExistsG(ctx context.Context, iD null.Int64) (bool, error)

DatumExistsG checks if the Datum row exists.

func FeedExists

func FeedExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

FeedExists checks if the Feed row exists.

func FeedExistsG

func FeedExistsG(ctx context.Context, iD null.Int64) (bool, error)

FeedExistsG checks if the Feed row exists.

func Feeds

func Feeds(mods ...qm.QueryMod) feedQuery

Feeds retrieves all the records using an executor.

func IdentifierExists

func IdentifierExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

IdentifierExists checks if the Identifier row exists.

func IdentifierExistsG

func IdentifierExistsG(ctx context.Context, iD null.Int64) (bool, error)

IdentifierExistsG checks if the Identifier row exists.

func Identifiers

func Identifiers(mods ...qm.QueryMod) identifierQuery

Identifiers retrieves all the records using an executor.

func LanguageExists

func LanguageExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

LanguageExists checks if the Language row exists.

func LanguageExistsG

func LanguageExistsG(ctx context.Context, iD null.Int64) (bool, error)

LanguageExistsG checks if the Language row exists.

func Languages

func Languages(mods ...qm.QueryMod) languageQuery

Languages retrieves all the records using an executor.

func LastReadPositionExists

func LastReadPositionExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

LastReadPositionExists checks if the LastReadPosition row exists.

func LastReadPositionExistsG

func LastReadPositionExistsG(ctx context.Context, iD null.Int64) (bool, error)

LastReadPositionExistsG checks if the LastReadPosition row exists.

func LastReadPositions

func LastReadPositions(mods ...qm.QueryMod) lastReadPositionQuery

LastReadPositions retrieves all the records using an executor.

func LibraryIDExists

func LibraryIDExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

LibraryIDExists checks if the LibraryID row exists.

func LibraryIDExistsG

func LibraryIDExistsG(ctx context.Context, iD null.Int64) (bool, error)

LibraryIDExistsG checks if the LibraryID row exists.

func LibraryIds

func LibraryIds(mods ...qm.QueryMod) libraryIDQuery

LibraryIds retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func PreferenceExists

func PreferenceExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

PreferenceExists checks if the Preference row exists.

func PreferenceExistsG

func PreferenceExistsG(ctx context.Context, iD null.Int64) (bool, error)

PreferenceExistsG checks if the Preference row exists.

func Preferences

func Preferences(mods ...qm.QueryMod) preferenceQuery

Preferences retrieves all the records using an executor.

func PublisherExists

func PublisherExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

PublisherExists checks if the Publisher row exists.

func PublisherExistsG

func PublisherExistsG(ctx context.Context, iD null.Int64) (bool, error)

PublisherExistsG checks if the Publisher row exists.

func Publishers

func Publishers(mods ...qm.QueryMod) publisherQuery

Publishers retrieves all the records using an executor.

func RatingExists

func RatingExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

RatingExists checks if the Rating row exists.

func RatingExistsG

func RatingExistsG(ctx context.Context, iD null.Int64) (bool, error)

RatingExistsG checks if the Rating row exists.

func Ratings

func Ratings(mods ...qm.QueryMod) ratingQuery

Ratings retrieves all the records using an executor.

func TagBrowserAuthors

func TagBrowserAuthors(mods ...qm.QueryMod) tagBrowserAuthorQuery

TagBrowserAuthors retrieves all the records using an executor.

func TagBrowserPublishers

func TagBrowserPublishers(mods ...qm.QueryMod) tagBrowserPublisherQuery

TagBrowserPublishers retrieves all the records using an executor.

func TagBrowserRatings

func TagBrowserRatings(mods ...qm.QueryMod) tagBrowserRatingQuery

TagBrowserRatings retrieves all the records using an executor.

func TagBrowserTags

func TagBrowserTags(mods ...qm.QueryMod) tagBrowserTagQuery

TagBrowserTags retrieves all the records using an executor.

func TagExists

func TagExists(ctx context.Context, exec boil.ContextExecutor, iD null.Int64) (bool, error)

TagExists checks if the Tag row exists.

func TagExistsG

func TagExistsG(ctx context.Context, iD null.Int64) (bool, error)

TagExistsG checks if the Tag row exists.

func Tags

func Tags(mods ...qm.QueryMod) tagQuery

Tags retrieves all the records using an executor.

Types

type ABookSeries

type ABookSeries struct {
	ID   null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Sort null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
	Link string      `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *aBookSeriesR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L aBookSeriesL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ABookSeries is an object representing the database table.

func FindABookSeries

func FindABookSeries(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*ABookSeries, error)

FindABookSeries retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindABookSeriesG

func FindABookSeriesG(ctx context.Context, iD null.Int64, selectCols ...string) (*ABookSeries, error)

FindABookSeriesG retrieves a single record by ID.

func (*ABookSeries) Delete

func (o *ABookSeries) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single ABookSeries record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ABookSeries) DeleteG

func (o *ABookSeries) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single ABookSeries record. DeleteG will match against the primary key column to find the record to delete.

func (*ABookSeries) Exists

func (o *ABookSeries) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the ABookSeries row exists.

func (*ABookSeries) Insert

func (o *ABookSeries) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ABookSeries) InsertG

func (o *ABookSeries) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ABookSeries) Reload

func (o *ABookSeries) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*ABookSeries) ReloadG

func (o *ABookSeries) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*ABookSeries) Update

func (o *ABookSeries) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ABookSeries. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ABookSeries) UpdateG

func (o *ABookSeries) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single ABookSeries record using the global executor. See Update for more documentation.

func (*ABookSeries) Upsert

func (o *ABookSeries) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*ABookSeries) UpsertG

func (o *ABookSeries) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type ABookSeriesHook

type ABookSeriesHook func(context.Context, boil.ContextExecutor, *ABookSeries) error

ABookSeriesHook is the signature for custom ABookSeries hook methods

type ABookSeriesSlice

type ABookSeriesSlice []*ABookSeries

ABookSeriesSlice is an alias for a slice of pointers to ABookSeries. This should almost always be used instead of []ABookSeries.

func (ABookSeriesSlice) DeleteAll

func (o ABookSeriesSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (ABookSeriesSlice) DeleteAllG

func (o ABookSeriesSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*ABookSeriesSlice) ReloadAll

func (o *ABookSeriesSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*ABookSeriesSlice) ReloadAllG

func (o *ABookSeriesSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ABookSeriesSlice) UpdateAll

func (o ABookSeriesSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (ABookSeriesSlice) UpdateAllG

func (o ABookSeriesSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Annotation

type Annotation struct {
	ID             null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book           int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Format         string     `boil:"format" json:"format" toml:"format" yaml:"format"`
	UserType       string     `boil:"user_type" json:"user_type" toml:"user_type" yaml:"user_type"`
	User           string     `boil:"user" json:"user" toml:"user" yaml:"user"`
	Timestamp      float64    `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"`
	AnnotID        string     `boil:"annot_id" json:"annot_id" toml:"annot_id" yaml:"annot_id"`
	AnnotType      string     `boil:"annot_type" json:"annot_type" toml:"annot_type" yaml:"annot_type"`
	AnnotData      string     `boil:"annot_data" json:"annot_data" toml:"annot_data" yaml:"annot_data"`
	SearchableText string     `boil:"searchable_text" json:"searchable_text" toml:"searchable_text" yaml:"searchable_text"`

	R *annotationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L annotationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Annotation is an object representing the database table.

func FindAnnotation

func FindAnnotation(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Annotation, error)

FindAnnotation retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAnnotationG

func FindAnnotationG(ctx context.Context, iD null.Int64, selectCols ...string) (*Annotation, error)

FindAnnotationG retrieves a single record by ID.

func (*Annotation) Delete

func (o *Annotation) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Annotation record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Annotation) DeleteG

func (o *Annotation) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Annotation record. DeleteG will match against the primary key column to find the record to delete.

func (*Annotation) Exists

func (o *Annotation) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Annotation row exists.

func (*Annotation) Insert

func (o *Annotation) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Annotation) InsertG

func (o *Annotation) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Annotation) Reload

func (o *Annotation) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Annotation) ReloadG

func (o *Annotation) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Annotation) Update

func (o *Annotation) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Annotation. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Annotation) UpdateG

func (o *Annotation) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Annotation record using the global executor. See Update for more documentation.

func (*Annotation) Upsert

func (o *Annotation) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Annotation) UpsertG

func (o *Annotation) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AnnotationHook

type AnnotationHook func(context.Context, boil.ContextExecutor, *Annotation) error

AnnotationHook is the signature for custom Annotation hook methods

type AnnotationSlice

type AnnotationSlice []*Annotation

AnnotationSlice is an alias for a slice of pointers to Annotation. This should almost always be used instead of []Annotation.

func (AnnotationSlice) DeleteAll

func (o AnnotationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AnnotationSlice) DeleteAllG

func (o AnnotationSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AnnotationSlice) ReloadAll

func (o *AnnotationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AnnotationSlice) ReloadAllG

func (o *AnnotationSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AnnotationSlice) UpdateAll

func (o AnnotationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AnnotationSlice) UpdateAllG

func (o AnnotationSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Author

type Author struct {
	ID   null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Sort null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
	Link string      `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *authorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Author is an object representing the database table.

func FindAuthor

func FindAuthor(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Author, error)

FindAuthor retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAuthorG

func FindAuthorG(ctx context.Context, iD null.Int64, selectCols ...string) (*Author, error)

FindAuthorG retrieves a single record by ID.

func (*Author) Delete

func (o *Author) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Author record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Author) DeleteG

func (o *Author) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Author record. DeleteG will match against the primary key column to find the record to delete.

func (*Author) Exists

func (o *Author) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Author row exists.

func (*Author) Insert

func (o *Author) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Author) InsertG

func (o *Author) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Author) Reload

func (o *Author) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Author) ReloadG

func (o *Author) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Author) Update

func (o *Author) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Author. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Author) UpdateG

func (o *Author) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Author record using the global executor. See Update for more documentation.

func (*Author) Upsert

func (o *Author) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Author) UpsertG

func (o *Author) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AuthorHook

type AuthorHook func(context.Context, boil.ContextExecutor, *Author) error

AuthorHook is the signature for custom Author hook methods

type AuthorSlice

type AuthorSlice []*Author

AuthorSlice is an alias for a slice of pointers to Author. This should almost always be used instead of []Author.

func (AuthorSlice) DeleteAll

func (o AuthorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AuthorSlice) DeleteAllG

func (o AuthorSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AuthorSlice) ReloadAll

func (o *AuthorSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AuthorSlice) ReloadAllG

func (o *AuthorSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthorSlice) UpdateAll

func (o AuthorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AuthorSlice) UpdateAllG

func (o AuthorSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Book

type Book struct {
	ID           null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Title        string      `boil:"title" json:"title" toml:"title" yaml:"title"`
	Sort         null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
	Timestamp    null.String `boil:"timestamp" json:"timestamp,omitempty" toml:"timestamp" yaml:"timestamp,omitempty"`
	Pubdate      null.String `boil:"pubdate" json:"pubdate,omitempty" toml:"pubdate" yaml:"pubdate,omitempty"`
	SeriesIndex  float64     `boil:"series_index" json:"series_index" toml:"series_index" yaml:"series_index"`
	AuthorSort   null.String `boil:"author_sort" json:"author_sort,omitempty" toml:"author_sort" yaml:"author_sort,omitempty"`
	Isbn         null.String `boil:"isbn" json:"isbn,omitempty" toml:"isbn" yaml:"isbn,omitempty"`
	LCCN         null.String `boil:"lccn" json:"lccn,omitempty" toml:"lccn" yaml:"lccn,omitempty"`
	Path         string      `boil:"path" json:"path" toml:"path" yaml:"path"`
	Flags        int64       `boil:"flags" json:"flags" toml:"flags" yaml:"flags"`
	UUID         null.String `boil:"uuid" json:"uuid,omitempty" toml:"uuid" yaml:"uuid,omitempty"`
	HasCover     null.String `boil:"has_cover" json:"has_cover,omitempty" toml:"has_cover" yaml:"has_cover,omitempty"`
	LastModified string      `boil:"last_modified" json:"last_modified" toml:"last_modified" yaml:"last_modified"`

	R *bookR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L bookL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Book is an object representing the database table.

func FindBook

func FindBook(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Book, error)

FindBook retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBookG

func FindBookG(ctx context.Context, iD null.Int64, selectCols ...string) (*Book, error)

FindBookG retrieves a single record by ID.

func (*Book) Delete

func (o *Book) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Book record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Book) DeleteG

func (o *Book) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Book record. DeleteG will match against the primary key column to find the record to delete.

func (*Book) Exists

func (o *Book) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Book row exists.

func (*Book) Insert

func (o *Book) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Book) InsertG

func (o *Book) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Book) Reload

func (o *Book) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Book) ReloadG

func (o *Book) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Book) Update

func (o *Book) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Book. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Book) UpdateG

func (o *Book) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Book record using the global executor. See Update for more documentation.

func (*Book) Upsert

func (o *Book) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Book) UpsertG

func (o *Book) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BookHook

type BookHook func(context.Context, boil.ContextExecutor, *Book) error

BookHook is the signature for custom Book hook methods

type BookSlice

type BookSlice []*Book

BookSlice is an alias for a slice of pointers to Book. This should almost always be used instead of []Book.

func (BookSlice) DeleteAll

func (o BookSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (BookSlice) DeleteAllG

func (o BookSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BookSlice) ReloadAll

func (o *BookSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BookSlice) ReloadAllG

func (o *BookSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BookSlice) UpdateAll

func (o BookSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BookSlice) UpdateAllG

func (o BookSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksAuthorsLink struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book   int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Author int64      `boil:"author" json:"author" toml:"author" yaml:"author"`

	R *booksAuthorsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksAuthorsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksAuthorsLink is an object representing the database table.

func FindBooksAuthorsLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksAuthorsLink, error)

FindBooksAuthorsLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksAuthorsLinkG

func FindBooksAuthorsLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksAuthorsLink, error)

FindBooksAuthorsLinkG retrieves a single record by ID.

func (*BooksAuthorsLink) Delete

Delete deletes a single BooksAuthorsLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksAuthorsLink) DeleteG

func (o *BooksAuthorsLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksAuthorsLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksAuthorsLink) Exists

func (o *BooksAuthorsLink) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BooksAuthorsLink row exists.

func (*BooksAuthorsLink) Insert

func (o *BooksAuthorsLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksAuthorsLink) InsertG

func (o *BooksAuthorsLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksAuthorsLink) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksAuthorsLink) ReloadG

func (o *BooksAuthorsLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksAuthorsLink) Update

func (o *BooksAuthorsLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksAuthorsLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksAuthorsLink) UpdateG

func (o *BooksAuthorsLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksAuthorsLink record using the global executor. See Update for more documentation.

func (*BooksAuthorsLink) Upsert

func (o *BooksAuthorsLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksAuthorsLink) UpsertG

func (o *BooksAuthorsLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksAuthorsLinkHook

type BooksAuthorsLinkHook func(context.Context, boil.ContextExecutor, *BooksAuthorsLink) error

BooksAuthorsLinkHook is the signature for custom BooksAuthorsLink hook methods

type BooksAuthorsLinkSlice

type BooksAuthorsLinkSlice []*BooksAuthorsLink

BooksAuthorsLinkSlice is an alias for a slice of pointers to BooksAuthorsLink. This should almost always be used instead of []BooksAuthorsLink.

func (BooksAuthorsLinkSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksAuthorsLinkSlice) DeleteAllG

func (o BooksAuthorsLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksAuthorsLinkSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksAuthorsLinkSlice) ReloadAllG

func (o *BooksAuthorsLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksAuthorsLinkSlice) UpdateAll

func (o BooksAuthorsLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksAuthorsLinkSlice) UpdateAllG

func (o BooksAuthorsLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksLanguagesLink struct {
	ID        null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book      int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	LangCode  int64      `boil:"lang_code" json:"lang_code" toml:"lang_code" yaml:"lang_code"`
	ItemOrder int64      `boil:"item_order" json:"item_order" toml:"item_order" yaml:"item_order"`

	R *booksLanguagesLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksLanguagesLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksLanguagesLink is an object representing the database table.

func FindBooksLanguagesLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksLanguagesLink, error)

FindBooksLanguagesLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksLanguagesLinkG

func FindBooksLanguagesLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksLanguagesLink, error)

FindBooksLanguagesLinkG retrieves a single record by ID.

func (*BooksLanguagesLink) Delete

Delete deletes a single BooksLanguagesLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksLanguagesLink) DeleteG

func (o *BooksLanguagesLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksLanguagesLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksLanguagesLink) Exists

Exists checks if the BooksLanguagesLink row exists.

func (*BooksLanguagesLink) Insert

func (o *BooksLanguagesLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksLanguagesLink) InsertG

func (o *BooksLanguagesLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksLanguagesLink) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksLanguagesLink) ReloadG

func (o *BooksLanguagesLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksLanguagesLink) Update

func (o *BooksLanguagesLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksLanguagesLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksLanguagesLink) UpdateG

func (o *BooksLanguagesLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksLanguagesLink record using the global executor. See Update for more documentation.

func (*BooksLanguagesLink) Upsert

func (o *BooksLanguagesLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksLanguagesLink) UpsertG

func (o *BooksLanguagesLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksLanguagesLinkHook

type BooksLanguagesLinkHook func(context.Context, boil.ContextExecutor, *BooksLanguagesLink) error

BooksLanguagesLinkHook is the signature for custom BooksLanguagesLink hook methods

type BooksLanguagesLinkSlice

type BooksLanguagesLinkSlice []*BooksLanguagesLink

BooksLanguagesLinkSlice is an alias for a slice of pointers to BooksLanguagesLink. This should almost always be used instead of []BooksLanguagesLink.

func (BooksLanguagesLinkSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksLanguagesLinkSlice) DeleteAllG

func (o BooksLanguagesLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksLanguagesLinkSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksLanguagesLinkSlice) ReloadAllG

func (o *BooksLanguagesLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksLanguagesLinkSlice) UpdateAll

func (o BooksLanguagesLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksLanguagesLinkSlice) UpdateAllG

func (o BooksLanguagesLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksPluginDatum

type BooksPluginDatum struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Name string     `boil:"name" json:"name" toml:"name" yaml:"name"`
	Val  string     `boil:"val" json:"val" toml:"val" yaml:"val"`

	R *booksPluginDatumR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksPluginDatumL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksPluginDatum is an object representing the database table.

func FindBooksPluginDatum

func FindBooksPluginDatum(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksPluginDatum, error)

FindBooksPluginDatum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksPluginDatumG

func FindBooksPluginDatumG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksPluginDatum, error)

FindBooksPluginDatumG retrieves a single record by ID.

func (*BooksPluginDatum) Delete

Delete deletes a single BooksPluginDatum record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksPluginDatum) DeleteG

func (o *BooksPluginDatum) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksPluginDatum record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksPluginDatum) Exists

func (o *BooksPluginDatum) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BooksPluginDatum row exists.

func (*BooksPluginDatum) Insert

func (o *BooksPluginDatum) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksPluginDatum) InsertG

func (o *BooksPluginDatum) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksPluginDatum) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksPluginDatum) ReloadG

func (o *BooksPluginDatum) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksPluginDatum) Update

func (o *BooksPluginDatum) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksPluginDatum. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksPluginDatum) UpdateG

func (o *BooksPluginDatum) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksPluginDatum record using the global executor. See Update for more documentation.

func (*BooksPluginDatum) Upsert

func (o *BooksPluginDatum) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksPluginDatum) UpsertG

func (o *BooksPluginDatum) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksPluginDatumHook

type BooksPluginDatumHook func(context.Context, boil.ContextExecutor, *BooksPluginDatum) error

BooksPluginDatumHook is the signature for custom BooksPluginDatum hook methods

type BooksPluginDatumSlice

type BooksPluginDatumSlice []*BooksPluginDatum

BooksPluginDatumSlice is an alias for a slice of pointers to BooksPluginDatum. This should almost always be used instead of []BooksPluginDatum.

func (BooksPluginDatumSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksPluginDatumSlice) DeleteAllG

func (o BooksPluginDatumSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksPluginDatumSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksPluginDatumSlice) ReloadAllG

func (o *BooksPluginDatumSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksPluginDatumSlice) UpdateAll

func (o BooksPluginDatumSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksPluginDatumSlice) UpdateAllG

func (o BooksPluginDatumSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksPublishersLink struct {
	ID        null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book      int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Publisher int64      `boil:"publisher" json:"publisher" toml:"publisher" yaml:"publisher"`

	R *booksPublishersLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksPublishersLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksPublishersLink is an object representing the database table.

func FindBooksPublishersLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksPublishersLink, error)

FindBooksPublishersLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksPublishersLinkG

func FindBooksPublishersLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksPublishersLink, error)

FindBooksPublishersLinkG retrieves a single record by ID.

func (*BooksPublishersLink) Delete

Delete deletes a single BooksPublishersLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksPublishersLink) DeleteG

func (o *BooksPublishersLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksPublishersLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksPublishersLink) Exists

Exists checks if the BooksPublishersLink row exists.

func (*BooksPublishersLink) Insert

func (o *BooksPublishersLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksPublishersLink) InsertG

func (o *BooksPublishersLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksPublishersLink) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksPublishersLink) ReloadG

func (o *BooksPublishersLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksPublishersLink) Update

func (o *BooksPublishersLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksPublishersLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksPublishersLink) UpdateG

func (o *BooksPublishersLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksPublishersLink record using the global executor. See Update for more documentation.

func (*BooksPublishersLink) Upsert

func (o *BooksPublishersLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksPublishersLink) UpsertG

func (o *BooksPublishersLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksPublishersLinkHook

type BooksPublishersLinkHook func(context.Context, boil.ContextExecutor, *BooksPublishersLink) error

BooksPublishersLinkHook is the signature for custom BooksPublishersLink hook methods

type BooksPublishersLinkSlice

type BooksPublishersLinkSlice []*BooksPublishersLink

BooksPublishersLinkSlice is an alias for a slice of pointers to BooksPublishersLink. This should almost always be used instead of []BooksPublishersLink.

func (BooksPublishersLinkSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksPublishersLinkSlice) DeleteAllG

func (o BooksPublishersLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksPublishersLinkSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksPublishersLinkSlice) ReloadAllG

func (o *BooksPublishersLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksPublishersLinkSlice) UpdateAll

func (o BooksPublishersLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksPublishersLinkSlice) UpdateAllG

func (o BooksPublishersLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksRatingsLink struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book   int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Rating int64      `boil:"rating" json:"rating" toml:"rating" yaml:"rating"`

	R *booksRatingsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksRatingsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksRatingsLink is an object representing the database table.

func FindBooksRatingsLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksRatingsLink, error)

FindBooksRatingsLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksRatingsLinkG

func FindBooksRatingsLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksRatingsLink, error)

FindBooksRatingsLinkG retrieves a single record by ID.

func (*BooksRatingsLink) Delete

Delete deletes a single BooksRatingsLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksRatingsLink) DeleteG

func (o *BooksRatingsLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksRatingsLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksRatingsLink) Exists

func (o *BooksRatingsLink) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BooksRatingsLink row exists.

func (*BooksRatingsLink) Insert

func (o *BooksRatingsLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksRatingsLink) InsertG

func (o *BooksRatingsLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksRatingsLink) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksRatingsLink) ReloadG

func (o *BooksRatingsLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksRatingsLink) Update

func (o *BooksRatingsLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksRatingsLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksRatingsLink) UpdateG

func (o *BooksRatingsLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksRatingsLink record using the global executor. See Update for more documentation.

func (*BooksRatingsLink) Upsert

func (o *BooksRatingsLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksRatingsLink) UpsertG

func (o *BooksRatingsLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksRatingsLinkHook

type BooksRatingsLinkHook func(context.Context, boil.ContextExecutor, *BooksRatingsLink) error

BooksRatingsLinkHook is the signature for custom BooksRatingsLink hook methods

type BooksRatingsLinkSlice

type BooksRatingsLinkSlice []*BooksRatingsLink

BooksRatingsLinkSlice is an alias for a slice of pointers to BooksRatingsLink. This should almost always be used instead of []BooksRatingsLink.

func (BooksRatingsLinkSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksRatingsLinkSlice) DeleteAllG

func (o BooksRatingsLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksRatingsLinkSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksRatingsLinkSlice) ReloadAllG

func (o *BooksRatingsLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksRatingsLinkSlice) UpdateAll

func (o BooksRatingsLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksRatingsLinkSlice) UpdateAllG

func (o BooksRatingsLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksSeriesLink struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book   int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Series int64      `boil:"series" json:"series" toml:"series" yaml:"series"`

	R *booksSeriesLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksSeriesLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksSeriesLink is an object representing the database table.

func FindBooksSeriesLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksSeriesLink, error)

FindBooksSeriesLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksSeriesLinkG

func FindBooksSeriesLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksSeriesLink, error)

FindBooksSeriesLinkG retrieves a single record by ID.

func (*BooksSeriesLink) Delete

func (o *BooksSeriesLink) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single BooksSeriesLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksSeriesLink) DeleteG

func (o *BooksSeriesLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksSeriesLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksSeriesLink) Exists

func (o *BooksSeriesLink) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BooksSeriesLink row exists.

func (*BooksSeriesLink) Insert

func (o *BooksSeriesLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksSeriesLink) InsertG

func (o *BooksSeriesLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksSeriesLink) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksSeriesLink) ReloadG

func (o *BooksSeriesLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksSeriesLink) Update

func (o *BooksSeriesLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksSeriesLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksSeriesLink) UpdateG

func (o *BooksSeriesLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksSeriesLink record using the global executor. See Update for more documentation.

func (*BooksSeriesLink) Upsert

func (o *BooksSeriesLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksSeriesLink) UpsertG

func (o *BooksSeriesLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksSeriesLinkHook

type BooksSeriesLinkHook func(context.Context, boil.ContextExecutor, *BooksSeriesLink) error

BooksSeriesLinkHook is the signature for custom BooksSeriesLink hook methods

type BooksSeriesLinkSlice

type BooksSeriesLinkSlice []*BooksSeriesLink

BooksSeriesLinkSlice is an alias for a slice of pointers to BooksSeriesLink. This should almost always be used instead of []BooksSeriesLink.

func (BooksSeriesLinkSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (BooksSeriesLinkSlice) DeleteAllG

func (o BooksSeriesLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksSeriesLinkSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksSeriesLinkSlice) ReloadAllG

func (o *BooksSeriesLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksSeriesLinkSlice) UpdateAll

func (o BooksSeriesLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksSeriesLinkSlice) UpdateAllG

func (o BooksSeriesLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type BooksTagsLink struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Tag  int64      `boil:"tag" json:"tag" toml:"tag" yaml:"tag"`

	R *booksTagsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L booksTagsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BooksTagsLink is an object representing the database table.

func FindBooksTagsLink(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*BooksTagsLink, error)

FindBooksTagsLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBooksTagsLinkG

func FindBooksTagsLinkG(ctx context.Context, iD null.Int64, selectCols ...string) (*BooksTagsLink, error)

FindBooksTagsLinkG retrieves a single record by ID.

func (*BooksTagsLink) Delete

func (o *BooksTagsLink) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single BooksTagsLink record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BooksTagsLink) DeleteG

func (o *BooksTagsLink) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single BooksTagsLink record. DeleteG will match against the primary key column to find the record to delete.

func (*BooksTagsLink) Exists

func (o *BooksTagsLink) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BooksTagsLink row exists.

func (*BooksTagsLink) Insert

func (o *BooksTagsLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BooksTagsLink) InsertG

func (o *BooksTagsLink) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*BooksTagsLink) Reload

func (o *BooksTagsLink) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BooksTagsLink) ReloadG

func (o *BooksTagsLink) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*BooksTagsLink) Update

func (o *BooksTagsLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BooksTagsLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BooksTagsLink) UpdateG

func (o *BooksTagsLink) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single BooksTagsLink record using the global executor. See Update for more documentation.

func (*BooksTagsLink) Upsert

func (o *BooksTagsLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*BooksTagsLink) UpsertG

func (o *BooksTagsLink) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type BooksTagsLinkHook

type BooksTagsLinkHook func(context.Context, boil.ContextExecutor, *BooksTagsLink) error

BooksTagsLinkHook is the signature for custom BooksTagsLink hook methods

type BooksTagsLinkSlice

type BooksTagsLinkSlice []*BooksTagsLink

BooksTagsLinkSlice is an alias for a slice of pointers to BooksTagsLink. This should almost always be used instead of []BooksTagsLink.

func (BooksTagsLinkSlice) DeleteAll

func (o BooksTagsLinkSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (BooksTagsLinkSlice) DeleteAllG

func (o BooksTagsLinkSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*BooksTagsLinkSlice) ReloadAll

func (o *BooksTagsLinkSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*BooksTagsLinkSlice) ReloadAllG

func (o *BooksTagsLinkSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BooksTagsLinkSlice) UpdateAll

func (o BooksTagsLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (BooksTagsLinkSlice) UpdateAllG

func (o BooksTagsLinkSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Comment

type Comment struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Text string     `boil:"text" json:"text" toml:"text" yaml:"text"`

	R *commentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L commentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Comment is an object representing the database table.

func FindComment

func FindComment(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Comment, error)

FindComment retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindCommentG

func FindCommentG(ctx context.Context, iD null.Int64, selectCols ...string) (*Comment, error)

FindCommentG retrieves a single record by ID.

func (*Comment) Delete

func (o *Comment) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Comment record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Comment) DeleteG

func (o *Comment) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Comment record. DeleteG will match against the primary key column to find the record to delete.

func (*Comment) Exists

func (o *Comment) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Comment row exists.

func (*Comment) Insert

func (o *Comment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Comment) InsertG

func (o *Comment) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Comment) Reload

func (o *Comment) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Comment) ReloadG

func (o *Comment) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Comment) Update

func (o *Comment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Comment. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Comment) UpdateG

func (o *Comment) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Comment record using the global executor. See Update for more documentation.

func (*Comment) Upsert

func (o *Comment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Comment) UpsertG

func (o *Comment) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type CommentHook

type CommentHook func(context.Context, boil.ContextExecutor, *Comment) error

CommentHook is the signature for custom Comment hook methods

type CommentSlice

type CommentSlice []*Comment

CommentSlice is an alias for a slice of pointers to Comment. This should almost always be used instead of []Comment.

func (CommentSlice) DeleteAll

func (o CommentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (CommentSlice) DeleteAllG

func (o CommentSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*CommentSlice) ReloadAll

func (o *CommentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*CommentSlice) ReloadAllG

func (o *CommentSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CommentSlice) UpdateAll

func (o CommentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (CommentSlice) UpdateAllG

func (o CommentSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type ConversionOption

type ConversionOption struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Format string     `boil:"format" json:"format" toml:"format" yaml:"format"`
	Book   null.Int64 `boil:"book" json:"book,omitempty" toml:"book" yaml:"book,omitempty"`
	Data   []byte     `boil:"data" json:"data" toml:"data" yaml:"data"`

	R *conversionOptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L conversionOptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ConversionOption is an object representing the database table.

func FindConversionOption

func FindConversionOption(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*ConversionOption, error)

FindConversionOption retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindConversionOptionG

func FindConversionOptionG(ctx context.Context, iD null.Int64, selectCols ...string) (*ConversionOption, error)

FindConversionOptionG retrieves a single record by ID.

func (*ConversionOption) Delete

Delete deletes a single ConversionOption record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ConversionOption) DeleteG

func (o *ConversionOption) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single ConversionOption record. DeleteG will match against the primary key column to find the record to delete.

func (*ConversionOption) Exists

func (o *ConversionOption) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the ConversionOption row exists.

func (*ConversionOption) Insert

func (o *ConversionOption) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ConversionOption) InsertG

func (o *ConversionOption) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ConversionOption) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ConversionOption) ReloadG

func (o *ConversionOption) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*ConversionOption) Update

func (o *ConversionOption) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ConversionOption. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ConversionOption) UpdateG

func (o *ConversionOption) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single ConversionOption record using the global executor. See Update for more documentation.

func (*ConversionOption) Upsert

func (o *ConversionOption) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*ConversionOption) UpsertG

func (o *ConversionOption) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type ConversionOptionHook

type ConversionOptionHook func(context.Context, boil.ContextExecutor, *ConversionOption) error

ConversionOptionHook is the signature for custom ConversionOption hook methods

type ConversionOptionSlice

type ConversionOptionSlice []*ConversionOption

ConversionOptionSlice is an alias for a slice of pointers to ConversionOption. This should almost always be used instead of []ConversionOption.

func (ConversionOptionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (ConversionOptionSlice) DeleteAllG

func (o ConversionOptionSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*ConversionOptionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*ConversionOptionSlice) ReloadAllG

func (o *ConversionOptionSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ConversionOptionSlice) UpdateAll

func (o ConversionOptionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (ConversionOptionSlice) UpdateAllG

func (o ConversionOptionSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type CustomColumn

type CustomColumn struct {
	ID            null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Label         string     `boil:"label" json:"label" toml:"label" yaml:"label"`
	Name          string     `boil:"name" json:"name" toml:"name" yaml:"name"`
	Datatype      string     `boil:"datatype" json:"datatype" toml:"datatype" yaml:"datatype"`
	MarkForDelete string     `boil:"mark_for_delete" json:"mark_for_delete" toml:"mark_for_delete" yaml:"mark_for_delete"`
	Editable      string     `boil:"editable" json:"editable" toml:"editable" yaml:"editable"`
	Display       string     `boil:"display" json:"display" toml:"display" yaml:"display"`
	IsMultiple    string     `boil:"is_multiple" json:"is_multiple" toml:"is_multiple" yaml:"is_multiple"`
	Normalized    string     `boil:"normalized" json:"normalized" toml:"normalized" yaml:"normalized"`

	R *customColumnR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L customColumnL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CustomColumn is an object representing the database table.

func FindCustomColumn

func FindCustomColumn(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*CustomColumn, error)

FindCustomColumn retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindCustomColumnG

func FindCustomColumnG(ctx context.Context, iD null.Int64, selectCols ...string) (*CustomColumn, error)

FindCustomColumnG retrieves a single record by ID.

func (*CustomColumn) Delete

func (o *CustomColumn) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single CustomColumn record with an executor. Delete will match against the primary key column to find the record to delete.

func (*CustomColumn) DeleteG

func (o *CustomColumn) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single CustomColumn record. DeleteG will match against the primary key column to find the record to delete.

func (*CustomColumn) Exists

func (o *CustomColumn) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the CustomColumn row exists.

func (*CustomColumn) Insert

func (o *CustomColumn) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*CustomColumn) InsertG

func (o *CustomColumn) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*CustomColumn) Reload

func (o *CustomColumn) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*CustomColumn) ReloadG

func (o *CustomColumn) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*CustomColumn) Update

func (o *CustomColumn) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the CustomColumn. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*CustomColumn) UpdateG

func (o *CustomColumn) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single CustomColumn record using the global executor. See Update for more documentation.

func (*CustomColumn) Upsert

func (o *CustomColumn) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*CustomColumn) UpsertG

func (o *CustomColumn) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type CustomColumnHook

type CustomColumnHook func(context.Context, boil.ContextExecutor, *CustomColumn) error

CustomColumnHook is the signature for custom CustomColumn hook methods

type CustomColumnSlice

type CustomColumnSlice []*CustomColumn

CustomColumnSlice is an alias for a slice of pointers to CustomColumn. This should almost always be used instead of []CustomColumn.

func (CustomColumnSlice) DeleteAll

func (o CustomColumnSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (CustomColumnSlice) DeleteAllG

func (o CustomColumnSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*CustomColumnSlice) ReloadAll

func (o *CustomColumnSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*CustomColumnSlice) ReloadAllG

func (o *CustomColumnSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CustomColumnSlice) UpdateAll

func (o CustomColumnSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (CustomColumnSlice) UpdateAllG

func (o CustomColumnSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Datum

type Datum struct {
	ID               null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book             int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Format           string     `boil:"format" json:"format" toml:"format" yaml:"format"`
	UncompressedSize int64      `boil:"uncompressed_size" json:"uncompressed_size" toml:"uncompressed_size" yaml:"uncompressed_size"`
	Name             string     `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *datumR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L datumL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Datum is an object representing the database table.

func FindDatum

func FindDatum(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Datum, error)

FindDatum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindDatumG

func FindDatumG(ctx context.Context, iD null.Int64, selectCols ...string) (*Datum, error)

FindDatumG retrieves a single record by ID.

func (*Datum) Delete

func (o *Datum) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Datum record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Datum) DeleteG

func (o *Datum) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Datum record. DeleteG will match against the primary key column to find the record to delete.

func (*Datum) Exists

func (o *Datum) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Datum row exists.

func (*Datum) Insert

func (o *Datum) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Datum) InsertG

func (o *Datum) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Datum) Reload

func (o *Datum) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Datum) ReloadG

func (o *Datum) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Datum) Update

func (o *Datum) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Datum. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Datum) UpdateG

func (o *Datum) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Datum record using the global executor. See Update for more documentation.

func (*Datum) Upsert

func (o *Datum) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Datum) UpsertG

func (o *Datum) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type DatumHook

type DatumHook func(context.Context, boil.ContextExecutor, *Datum) error

DatumHook is the signature for custom Datum hook methods

type DatumSlice

type DatumSlice []*Datum

DatumSlice is an alias for a slice of pointers to Datum. This should almost always be used instead of []Datum.

func (DatumSlice) DeleteAll

func (o DatumSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (DatumSlice) DeleteAllG

func (o DatumSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*DatumSlice) ReloadAll

func (o *DatumSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*DatumSlice) ReloadAllG

func (o *DatumSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (DatumSlice) UpdateAll

func (o DatumSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (DatumSlice) UpdateAllG

func (o DatumSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Feed

type Feed struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Title  string     `boil:"title" json:"title" toml:"title" yaml:"title"`
	Script string     `boil:"script" json:"script" toml:"script" yaml:"script"`

	R *feedR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L feedL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Feed is an object representing the database table.

func FindFeed

func FindFeed(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Feed, error)

FindFeed retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindFeedG

func FindFeedG(ctx context.Context, iD null.Int64, selectCols ...string) (*Feed, error)

FindFeedG retrieves a single record by ID.

func (*Feed) Delete

func (o *Feed) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Feed record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Feed) DeleteG

func (o *Feed) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Feed record. DeleteG will match against the primary key column to find the record to delete.

func (*Feed) Exists

func (o *Feed) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Feed row exists.

func (*Feed) Insert

func (o *Feed) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Feed) InsertG

func (o *Feed) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Feed) Reload

func (o *Feed) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Feed) ReloadG

func (o *Feed) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Feed) Update

func (o *Feed) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Feed. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Feed) UpdateG

func (o *Feed) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Feed record using the global executor. See Update for more documentation.

func (*Feed) Upsert

func (o *Feed) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Feed) UpsertG

func (o *Feed) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type FeedHook

type FeedHook func(context.Context, boil.ContextExecutor, *Feed) error

FeedHook is the signature for custom Feed hook methods

type FeedSlice

type FeedSlice []*Feed

FeedSlice is an alias for a slice of pointers to Feed. This should almost always be used instead of []Feed.

func (FeedSlice) DeleteAll

func (o FeedSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (FeedSlice) DeleteAllG

func (o FeedSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*FeedSlice) ReloadAll

func (o *FeedSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*FeedSlice) ReloadAllG

func (o *FeedSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (FeedSlice) UpdateAll

func (o FeedSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (FeedSlice) UpdateAllG

func (o FeedSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Identifier

type Identifier struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Type string     `boil:"type" json:"type" toml:"type" yaml:"type"`
	Val  string     `boil:"val" json:"val" toml:"val" yaml:"val"`

	R *identifierR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L identifierL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Identifier is an object representing the database table.

func FindIdentifier

func FindIdentifier(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Identifier, error)

FindIdentifier retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindIdentifierG

func FindIdentifierG(ctx context.Context, iD null.Int64, selectCols ...string) (*Identifier, error)

FindIdentifierG retrieves a single record by ID.

func (*Identifier) Delete

func (o *Identifier) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Identifier record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Identifier) DeleteG

func (o *Identifier) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Identifier record. DeleteG will match against the primary key column to find the record to delete.

func (*Identifier) Exists

func (o *Identifier) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Identifier row exists.

func (*Identifier) Insert

func (o *Identifier) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Identifier) InsertG

func (o *Identifier) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Identifier) Reload

func (o *Identifier) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Identifier) ReloadG

func (o *Identifier) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Identifier) Update

func (o *Identifier) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Identifier. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Identifier) UpdateG

func (o *Identifier) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Identifier record using the global executor. See Update for more documentation.

func (*Identifier) Upsert

func (o *Identifier) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Identifier) UpsertG

func (o *Identifier) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type IdentifierHook

type IdentifierHook func(context.Context, boil.ContextExecutor, *Identifier) error

IdentifierHook is the signature for custom Identifier hook methods

type IdentifierSlice

type IdentifierSlice []*Identifier

IdentifierSlice is an alias for a slice of pointers to Identifier. This should almost always be used instead of []Identifier.

func (IdentifierSlice) DeleteAll

func (o IdentifierSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (IdentifierSlice) DeleteAllG

func (o IdentifierSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IdentifierSlice) ReloadAll

func (o *IdentifierSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*IdentifierSlice) ReloadAllG

func (o *IdentifierSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (IdentifierSlice) UpdateAll

func (o IdentifierSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (IdentifierSlice) UpdateAllG

func (o IdentifierSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Language

type Language struct {
	ID       null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	LangCode string     `boil:"lang_code" json:"lang_code" toml:"lang_code" yaml:"lang_code"`
	Link     string     `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *languageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L languageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Language is an object representing the database table.

func FindLanguage

func FindLanguage(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Language, error)

FindLanguage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindLanguageG

func FindLanguageG(ctx context.Context, iD null.Int64, selectCols ...string) (*Language, error)

FindLanguageG retrieves a single record by ID.

func (*Language) Delete

func (o *Language) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Language record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Language) DeleteG

func (o *Language) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Language record. DeleteG will match against the primary key column to find the record to delete.

func (*Language) Exists

func (o *Language) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Language row exists.

func (*Language) Insert

func (o *Language) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Language) InsertG

func (o *Language) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Language) Reload

func (o *Language) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Language) ReloadG

func (o *Language) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Language) Update

func (o *Language) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Language. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Language) UpdateG

func (o *Language) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Language record using the global executor. See Update for more documentation.

func (*Language) Upsert

func (o *Language) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Language) UpsertG

func (o *Language) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type LanguageHook

type LanguageHook func(context.Context, boil.ContextExecutor, *Language) error

LanguageHook is the signature for custom Language hook methods

type LanguageSlice

type LanguageSlice []*Language

LanguageSlice is an alias for a slice of pointers to Language. This should almost always be used instead of []Language.

func (LanguageSlice) DeleteAll

func (o LanguageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (LanguageSlice) DeleteAllG

func (o LanguageSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*LanguageSlice) ReloadAll

func (o *LanguageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*LanguageSlice) ReloadAllG

func (o *LanguageSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LanguageSlice) UpdateAll

func (o LanguageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (LanguageSlice) UpdateAllG

func (o LanguageSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type LastReadPosition

type LastReadPosition struct {
	ID      null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Book    int64      `boil:"book" json:"book" toml:"book" yaml:"book"`
	Format  string     `boil:"format" json:"format" toml:"format" yaml:"format"`
	User    string     `boil:"user" json:"user" toml:"user" yaml:"user"`
	Device  string     `boil:"device" json:"device" toml:"device" yaml:"device"`
	Cfi     string     `boil:"cfi" json:"cfi" toml:"cfi" yaml:"cfi"`
	Epoch   float64    `boil:"epoch" json:"epoch" toml:"epoch" yaml:"epoch"`
	PosFrac float64    `boil:"pos_frac" json:"pos_frac" toml:"pos_frac" yaml:"pos_frac"`

	R *lastReadPositionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lastReadPositionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LastReadPosition is an object representing the database table.

func FindLastReadPosition

func FindLastReadPosition(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*LastReadPosition, error)

FindLastReadPosition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindLastReadPositionG

func FindLastReadPositionG(ctx context.Context, iD null.Int64, selectCols ...string) (*LastReadPosition, error)

FindLastReadPositionG retrieves a single record by ID.

func (*LastReadPosition) Delete

Delete deletes a single LastReadPosition record with an executor. Delete will match against the primary key column to find the record to delete.

func (*LastReadPosition) DeleteG

func (o *LastReadPosition) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single LastReadPosition record. DeleteG will match against the primary key column to find the record to delete.

func (*LastReadPosition) Exists

func (o *LastReadPosition) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the LastReadPosition row exists.

func (*LastReadPosition) Insert

func (o *LastReadPosition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*LastReadPosition) InsertG

func (o *LastReadPosition) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*LastReadPosition) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*LastReadPosition) ReloadG

func (o *LastReadPosition) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*LastReadPosition) Update

func (o *LastReadPosition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the LastReadPosition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LastReadPosition) UpdateG

func (o *LastReadPosition) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single LastReadPosition record using the global executor. See Update for more documentation.

func (*LastReadPosition) Upsert

func (o *LastReadPosition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*LastReadPosition) UpsertG

func (o *LastReadPosition) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type LastReadPositionHook

type LastReadPositionHook func(context.Context, boil.ContextExecutor, *LastReadPosition) error

LastReadPositionHook is the signature for custom LastReadPosition hook methods

type LastReadPositionSlice

type LastReadPositionSlice []*LastReadPosition

LastReadPositionSlice is an alias for a slice of pointers to LastReadPosition. This should almost always be used instead of []LastReadPosition.

func (LastReadPositionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (LastReadPositionSlice) DeleteAllG

func (o LastReadPositionSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*LastReadPositionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*LastReadPositionSlice) ReloadAllG

func (o *LastReadPositionSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LastReadPositionSlice) UpdateAll

func (o LastReadPositionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (LastReadPositionSlice) UpdateAllG

func (o LastReadPositionSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type LibraryID

type LibraryID struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	UUID string     `boil:"uuid" json:"uuid" toml:"uuid" yaml:"uuid"`

	R *libraryIDR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L libraryIDL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LibraryID is an object representing the database table.

func FindLibraryID

func FindLibraryID(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*LibraryID, error)

FindLibraryID retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindLibraryIDG

func FindLibraryIDG(ctx context.Context, iD null.Int64, selectCols ...string) (*LibraryID, error)

FindLibraryIDG retrieves a single record by ID.

func (*LibraryID) Delete

func (o *LibraryID) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single LibraryID record with an executor. Delete will match against the primary key column to find the record to delete.

func (*LibraryID) DeleteG

func (o *LibraryID) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single LibraryID record. DeleteG will match against the primary key column to find the record to delete.

func (*LibraryID) Exists

func (o *LibraryID) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the LibraryID row exists.

func (*LibraryID) Insert

func (o *LibraryID) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*LibraryID) InsertG

func (o *LibraryID) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*LibraryID) Reload

func (o *LibraryID) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*LibraryID) ReloadG

func (o *LibraryID) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*LibraryID) Update

func (o *LibraryID) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the LibraryID. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LibraryID) UpdateG

func (o *LibraryID) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single LibraryID record using the global executor. See Update for more documentation.

func (*LibraryID) Upsert

func (o *LibraryID) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*LibraryID) UpsertG

func (o *LibraryID) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type LibraryIDHook

type LibraryIDHook func(context.Context, boil.ContextExecutor, *LibraryID) error

LibraryIDHook is the signature for custom LibraryID hook methods

type LibraryIDSlice

type LibraryIDSlice []*LibraryID

LibraryIDSlice is an alias for a slice of pointers to LibraryID. This should almost always be used instead of []LibraryID.

func (LibraryIDSlice) DeleteAll

func (o LibraryIDSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (LibraryIDSlice) DeleteAllG

func (o LibraryIDSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*LibraryIDSlice) ReloadAll

func (o *LibraryIDSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*LibraryIDSlice) ReloadAllG

func (o *LibraryIDSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LibraryIDSlice) UpdateAll

func (o LibraryIDSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (LibraryIDSlice) UpdateAllG

func (o LibraryIDSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Preference

type Preference struct {
	ID  null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Key string     `boil:"key" json:"key" toml:"key" yaml:"key"`
	Val string     `boil:"val" json:"val" toml:"val" yaml:"val"`

	R *preferenceR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L preferenceL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Preference is an object representing the database table.

func FindPreference

func FindPreference(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Preference, error)

FindPreference retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPreferenceG

func FindPreferenceG(ctx context.Context, iD null.Int64, selectCols ...string) (*Preference, error)

FindPreferenceG retrieves a single record by ID.

func (*Preference) Delete

func (o *Preference) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Preference record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Preference) DeleteG

func (o *Preference) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Preference record. DeleteG will match against the primary key column to find the record to delete.

func (*Preference) Exists

func (o *Preference) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Preference row exists.

func (*Preference) Insert

func (o *Preference) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Preference) InsertG

func (o *Preference) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Preference) Reload

func (o *Preference) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Preference) ReloadG

func (o *Preference) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Preference) Update

func (o *Preference) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Preference. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Preference) UpdateG

func (o *Preference) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Preference record using the global executor. See Update for more documentation.

func (*Preference) Upsert

func (o *Preference) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Preference) UpsertG

func (o *Preference) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type PreferenceHook

type PreferenceHook func(context.Context, boil.ContextExecutor, *Preference) error

PreferenceHook is the signature for custom Preference hook methods

type PreferenceSlice

type PreferenceSlice []*Preference

PreferenceSlice is an alias for a slice of pointers to Preference. This should almost always be used instead of []Preference.

func (PreferenceSlice) DeleteAll

func (o PreferenceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (PreferenceSlice) DeleteAllG

func (o PreferenceSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PreferenceSlice) ReloadAll

func (o *PreferenceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*PreferenceSlice) ReloadAllG

func (o *PreferenceSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (PreferenceSlice) UpdateAll

func (o PreferenceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (PreferenceSlice) UpdateAllG

func (o PreferenceSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Publisher

type Publisher struct {
	ID   null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Sort null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
	Link string      `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *publisherR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L publisherL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Publisher is an object representing the database table.

func FindPublisher

func FindPublisher(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Publisher, error)

FindPublisher retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPublisherG

func FindPublisherG(ctx context.Context, iD null.Int64, selectCols ...string) (*Publisher, error)

FindPublisherG retrieves a single record by ID.

func (*Publisher) Delete

func (o *Publisher) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Publisher record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Publisher) DeleteG

func (o *Publisher) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Publisher record. DeleteG will match against the primary key column to find the record to delete.

func (*Publisher) Exists

func (o *Publisher) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Publisher row exists.

func (*Publisher) Insert

func (o *Publisher) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Publisher) InsertG

func (o *Publisher) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Publisher) Reload

func (o *Publisher) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Publisher) ReloadG

func (o *Publisher) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Publisher) Update

func (o *Publisher) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Publisher. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Publisher) UpdateG

func (o *Publisher) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Publisher record using the global executor. See Update for more documentation.

func (*Publisher) Upsert

func (o *Publisher) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Publisher) UpsertG

func (o *Publisher) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type PublisherHook

type PublisherHook func(context.Context, boil.ContextExecutor, *Publisher) error

PublisherHook is the signature for custom Publisher hook methods

type PublisherSlice

type PublisherSlice []*Publisher

PublisherSlice is an alias for a slice of pointers to Publisher. This should almost always be used instead of []Publisher.

func (PublisherSlice) DeleteAll

func (o PublisherSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (PublisherSlice) DeleteAllG

func (o PublisherSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PublisherSlice) ReloadAll

func (o *PublisherSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*PublisherSlice) ReloadAllG

func (o *PublisherSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (PublisherSlice) UpdateAll

func (o PublisherSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (PublisherSlice) UpdateAllG

func (o PublisherSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Rating

type Rating struct {
	ID     null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Rating null.Int64 `boil:"rating" json:"rating,omitempty" toml:"rating" yaml:"rating,omitempty"`
	Link   string     `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *ratingR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ratingL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Rating is an object representing the database table.

func FindRating

func FindRating(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Rating, error)

FindRating retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindRatingG

func FindRatingG(ctx context.Context, iD null.Int64, selectCols ...string) (*Rating, error)

FindRatingG retrieves a single record by ID.

func (*Rating) Delete

func (o *Rating) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Rating record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Rating) DeleteG

func (o *Rating) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Rating record. DeleteG will match against the primary key column to find the record to delete.

func (*Rating) Exists

func (o *Rating) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Rating row exists.

func (*Rating) Insert

func (o *Rating) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Rating) InsertG

func (o *Rating) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Rating) Reload

func (o *Rating) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Rating) ReloadG

func (o *Rating) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Rating) Update

func (o *Rating) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Rating. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Rating) UpdateG

func (o *Rating) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Rating record using the global executor. See Update for more documentation.

func (*Rating) Upsert

func (o *Rating) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Rating) UpsertG

func (o *Rating) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type RatingHook

type RatingHook func(context.Context, boil.ContextExecutor, *Rating) error

RatingHook is the signature for custom Rating hook methods

type RatingSlice

type RatingSlice []*Rating

RatingSlice is an alias for a slice of pointers to Rating. This should almost always be used instead of []Rating.

func (RatingSlice) DeleteAll

func (o RatingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (RatingSlice) DeleteAllG

func (o RatingSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*RatingSlice) ReloadAll

func (o *RatingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*RatingSlice) ReloadAllG

func (o *RatingSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RatingSlice) UpdateAll

func (o RatingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (RatingSlice) UpdateAllG

func (o RatingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Tag

type Tag struct {
	ID   null.Int64 `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name string     `boil:"name" json:"name" toml:"name" yaml:"name"`
	Link string     `boil:"link" json:"link" toml:"link" yaml:"link"`

	R *tagR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L tagL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Tag is an object representing the database table.

func FindTag

func FindTag(ctx context.Context, exec boil.ContextExecutor, iD null.Int64, selectCols ...string) (*Tag, error)

FindTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindTagG

func FindTagG(ctx context.Context, iD null.Int64, selectCols ...string) (*Tag, error)

FindTagG retrieves a single record by ID.

func (*Tag) Delete

func (o *Tag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Tag record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Tag) DeleteG

func (o *Tag) DeleteG(ctx context.Context) (int64, error)

DeleteG deletes a single Tag record. DeleteG will match against the primary key column to find the record to delete.

func (*Tag) Exists

func (o *Tag) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Tag row exists.

func (*Tag) Insert

func (o *Tag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Tag) InsertG

func (o *Tag) InsertG(ctx context.Context, columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Tag) Reload

func (o *Tag) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Tag) ReloadG

func (o *Tag) ReloadG(ctx context.Context) error

ReloadG refetches the object from the database using the primary keys.

func (*Tag) Update

func (o *Tag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Tag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Tag) UpdateG

func (o *Tag) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)

UpdateG a single Tag record using the global executor. See Update for more documentation.

func (*Tag) Upsert

func (o *Tag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Tag) UpsertG

func (o *Tag) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type TagBrowserAuthor

type TagBrowserAuthor struct {
	ID        null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Count     null.String `boil:"count" json:"count,omitempty" toml:"count" yaml:"count,omitempty"`
	AvgRating null.String `boil:"avg_rating" json:"avg_rating,omitempty" toml:"avg_rating" yaml:"avg_rating,omitempty"`
	Sort      null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
}

TagBrowserAuthor is an object representing the database table.

type TagBrowserAuthorHook

type TagBrowserAuthorHook func(context.Context, boil.ContextExecutor, *TagBrowserAuthor) error

TagBrowserAuthorHook is the signature for custom TagBrowserAuthor hook methods

type TagBrowserAuthorSlice

type TagBrowserAuthorSlice []*TagBrowserAuthor

TagBrowserAuthorSlice is an alias for a slice of pointers to TagBrowserAuthor. This should almost always be used instead of []TagBrowserAuthor.

type TagBrowserPublisher

type TagBrowserPublisher struct {
	ID        null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Count     null.String `boil:"count" json:"count,omitempty" toml:"count" yaml:"count,omitempty"`
	AvgRating null.String `boil:"avg_rating" json:"avg_rating,omitempty" toml:"avg_rating" yaml:"avg_rating,omitempty"`
	Sort      null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
}

TagBrowserPublisher is an object representing the database table.

type TagBrowserPublisherHook

type TagBrowserPublisherHook func(context.Context, boil.ContextExecutor, *TagBrowserPublisher) error

TagBrowserPublisherHook is the signature for custom TagBrowserPublisher hook methods

type TagBrowserPublisherSlice

type TagBrowserPublisherSlice []*TagBrowserPublisher

TagBrowserPublisherSlice is an alias for a slice of pointers to TagBrowserPublisher. This should almost always be used instead of []TagBrowserPublisher.

type TagBrowserRating

type TagBrowserRating struct {
	ID        null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Rating    null.Int64  `boil:"rating" json:"rating,omitempty" toml:"rating" yaml:"rating,omitempty"`
	Count     null.String `boil:"count" json:"count,omitempty" toml:"count" yaml:"count,omitempty"`
	AvgRating null.String `boil:"avg_rating" json:"avg_rating,omitempty" toml:"avg_rating" yaml:"avg_rating,omitempty"`
	Sort      null.Int64  `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
}

TagBrowserRating is an object representing the database table.

type TagBrowserRatingHook

type TagBrowserRatingHook func(context.Context, boil.ContextExecutor, *TagBrowserRating) error

TagBrowserRatingHook is the signature for custom TagBrowserRating hook methods

type TagBrowserRatingSlice

type TagBrowserRatingSlice []*TagBrowserRating

TagBrowserRatingSlice is an alias for a slice of pointers to TagBrowserRating. This should almost always be used instead of []TagBrowserRating.

type TagBrowserTag

type TagBrowserTag struct {
	ID        null.Int64  `boil:"id" json:"id,omitempty" toml:"id" yaml:"id,omitempty"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Count     null.String `boil:"count" json:"count,omitempty" toml:"count" yaml:"count,omitempty"`
	AvgRating null.String `boil:"avg_rating" json:"avg_rating,omitempty" toml:"avg_rating" yaml:"avg_rating,omitempty"`
	Sort      null.String `boil:"sort" json:"sort,omitempty" toml:"sort" yaml:"sort,omitempty"`
}

TagBrowserTag is an object representing the database table.

type TagBrowserTagHook

type TagBrowserTagHook func(context.Context, boil.ContextExecutor, *TagBrowserTag) error

TagBrowserTagHook is the signature for custom TagBrowserTag hook methods

type TagBrowserTagSlice

type TagBrowserTagSlice []*TagBrowserTag

TagBrowserTagSlice is an alias for a slice of pointers to TagBrowserTag. This should almost always be used instead of []TagBrowserTag.

type TagHook

type TagHook func(context.Context, boil.ContextExecutor, *Tag) error

TagHook is the signature for custom Tag hook methods

type TagSlice

type TagSlice []*Tag

TagSlice is an alias for a slice of pointers to Tag. This should almost always be used instead of []Tag.

func (TagSlice) DeleteAll

func (o TagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (TagSlice) DeleteAllG

func (o TagSlice) DeleteAllG(ctx context.Context) (int64, error)

DeleteAllG deletes all rows in the slice.

func (*TagSlice) ReloadAll

func (o *TagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*TagSlice) ReloadAllG

func (o *TagSlice) ReloadAllG(ctx context.Context) error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TagSlice) UpdateAll

func (o TagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (TagSlice) UpdateAllG

func (o TagSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

Jump to

Keyboard shortcuts

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