db

package
v0.0.0-...-f73a36c Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFeedAuthorParams

type CreateFeedAuthorParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Email     pgtype.Text        `json:"email"`
	FeedID    int64              `json:"feed_id"`
}

type CreateFeedDublinCoreParams

type CreateFeedDublinCoreParams struct {
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Title       []string           `json:"title"`
	Creator     []string           `json:"creator"`
	Author      []string           `json:"author"`
	Subject     []string           `json:"subject"`
	Description []string           `json:"description"`
	Publisher   []string           `json:"publisher"`
	Contributor []string           `json:"contributor"`
	Date        []string           `json:"date"`
	Type        []string           `json:"type"`
	Format      []string           `json:"format"`
	Identifier  []string           `json:"identifier"`
	Source      []string           `json:"source"`
	Language    []string           `json:"language"`
	Relation    []string           `json:"relation"`
	Coverage    []string           `json:"coverage"`
	Rights      []string           `json:"rights"`
	FeedID      int64              `json:"feed_id"`
}

type CreateFeedExtensionParams

type CreateFeedExtensionParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Value     pgtype.Text        `json:"value"`
	Attrs     []byte             `json:"attrs"`
	Children  []byte             `json:"children"`
	FeedID    int64              `json:"feed_id"`
}

type CreateFeedImageParams

type CreateFeedImageParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Url       pgtype.Text        `json:"url"`
	Title     pgtype.Text        `json:"title"`
	FeedID    int64              `json:"feed_id"`
}

type CreateFeedItunesCategoryParams

type CreateFeedItunesCategoryParams struct {
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Text        pgtype.Text        `json:"text"`
	Subcategory pgtype.Int8        `json:"subcategory"`
	ItunesID    int64              `json:"itunes_id"`
}

type CreateFeedItunesOwnerParams

type CreateFeedItunesOwnerParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Email     pgtype.Text        `json:"email"`
	Name      pgtype.Text        `json:"name"`
	ItunesID  int64              `json:"itunes_id"`
}

type CreateFeedItunesParams

type CreateFeedItunesParams struct {
	CreatedAt  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt  pgtype.Timestamptz `json:"updated_at"`
	DeletedAt  pgtype.Timestamptz `json:"deleted_at"`
	Author     pgtype.Text        `json:"author"`
	Block      pgtype.Text        `json:"block"`
	Explicit   pgtype.Text        `json:"explicit"`
	Keywords   pgtype.Text        `json:"keywords"`
	Subtitle   pgtype.Text        `json:"subtitle"`
	Summary    pgtype.Text        `json:"summary"`
	Image      pgtype.Text        `json:"image"`
	Complete   pgtype.Text        `json:"complete"`
	NewFeedUrl pgtype.Text        `json:"new_feed_url"`
	Type       pgtype.Text        `json:"type"`
	FeedID     int64              `json:"feed_id"`
}

type CreateFeedParams

type CreateFeedParams struct {
	Url             string             `json:"url"`
	CreatedAt       pgtype.Timestamptz `json:"created_at"`
	UpdatedAt       pgtype.Timestamptz `json:"updated_at"`
	DeletedAt       pgtype.Timestamptz `json:"deleted_at"`
	Title           pgtype.Text        `json:"title"`
	Description     pgtype.Text        `json:"description"`
	Link            pgtype.Text        `json:"link"`
	FeedLink        pgtype.Text        `json:"feed_link"`
	Links           []string           `json:"links"`
	Updated         pgtype.Text        `json:"updated"`
	UpdatedParsed   pgtype.Timestamptz `json:"updated_parsed"`
	Published       pgtype.Text        `json:"published"`
	PublishedParsed pgtype.Timestamptz `json:"published_parsed"`
	Language        pgtype.Text        `json:"language"`
	Copyright       pgtype.Text        `json:"copyright"`
	Generator       pgtype.Text        `json:"generator"`
	Categories      []string           `json:"categories"`
	Custom          []byte             `json:"custom"`
	FeedType        pgtype.Text        `json:"feed_type"`
	FeedVersion     pgtype.Text        `json:"feed_version"`
}

type CreateItemAuthorParams

type CreateItemAuthorParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Email     pgtype.Text        `json:"email"`
	ItemID    int64              `json:"item_id"`
}

type CreateItemDublinCoreParams

type CreateItemDublinCoreParams struct {
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Title       []string           `json:"title"`
	Creator     []string           `json:"creator"`
	Author      []string           `json:"author"`
	Subject     []string           `json:"subject"`
	Description []string           `json:"description"`
	Publisher   []string           `json:"publisher"`
	Contributor []string           `json:"contributor"`
	Date        []string           `json:"date"`
	Type        []string           `json:"type"`
	Format      []string           `json:"format"`
	Identifier  []string           `json:"identifier"`
	Source      []string           `json:"source"`
	Language    []string           `json:"language"`
	Relation    []string           `json:"relation"`
	Coverage    []string           `json:"coverage"`
	Rights      []string           `json:"rights"`
	ItemID      int64              `json:"item_id"`
}

type CreateItemExtensionParams

type CreateItemExtensionParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Value     pgtype.Text        `json:"value"`
	Attrs     []byte             `json:"attrs"`
	Children  []byte             `json:"children"`
	ItemID    int64              `json:"item_id"`
}

type CreateItemImageParams

type CreateItemImageParams struct {
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Url       pgtype.Text        `json:"url"`
	Title     pgtype.Text        `json:"title"`
	ItemID    int64              `json:"item_id"`
}

type CreateItemItunesParams

type CreateItemItunesParams struct {
	CreatedAt         pgtype.Timestamptz `json:"created_at"`
	UpdatedAt         pgtype.Timestamptz `json:"updated_at"`
	DeletedAt         pgtype.Timestamptz `json:"deleted_at"`
	Author            pgtype.Text        `json:"author"`
	Block             pgtype.Text        `json:"block"`
	Explicit          pgtype.Text        `json:"explicit"`
	Keywords          pgtype.Text        `json:"keywords"`
	Subtitle          pgtype.Text        `json:"subtitle"`
	Summary           pgtype.Text        `json:"summary"`
	Image             pgtype.Text        `json:"image"`
	IsClosedCaptioned pgtype.Text        `json:"is_closed_captioned"`
	Episode           pgtype.Text        `json:"episode"`
	Season            pgtype.Text        `json:"season"`
	Order             pgtype.Text        `json:"order"`
	EpisodeType       pgtype.Text        `json:"episode_type"`
	ItemID            int64              `json:"item_id"`
}

type CreateItemParams

type CreateItemParams struct {
	CreatedAt       pgtype.Timestamptz `json:"created_at"`
	UpdatedAt       pgtype.Timestamptz `json:"updated_at"`
	DeletedAt       pgtype.Timestamptz `json:"deleted_at"`
	Title           pgtype.Text        `json:"title"`
	Description     pgtype.Text        `json:"description"`
	Content         pgtype.Text        `json:"content"`
	Link            pgtype.Text        `json:"link"`
	Links           []string           `json:"links"`
	Updated         pgtype.Text        `json:"updated"`
	UpdatedParsed   pgtype.Timestamptz `json:"updated_parsed"`
	Published       pgtype.Text        `json:"published"`
	PublishedParsed pgtype.Timestamptz `json:"published_parsed"`
	Guid            pgtype.Text        `json:"guid"`
	Categories      []string           `json:"categories"`
	Custom          []byte             `json:"custom"`
	FeedID          int64              `json:"feed_id"`
}

type DBTX

type DBTX interface {
	Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error)
	Query(context.Context, string, ...interface{}) (pgx.Rows, error)
	QueryRow(context.Context, string, ...interface{}) pgx.Row
}

type Enclosure

type Enclosure struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Url       pgtype.Text        `json:"url"`
	Length    pgtype.Text        `json:"length"`
	Type      pgtype.Text        `json:"type"`
	ItemID    int64              `json:"item_id"`
}

type Feed

type Feed struct {
	ID              int64              `json:"id"`
	Url             string             `json:"url"`
	CreatedAt       pgtype.Timestamptz `json:"created_at"`
	UpdatedAt       pgtype.Timestamptz `json:"updated_at"`
	DeletedAt       pgtype.Timestamptz `json:"deleted_at"`
	Title           pgtype.Text        `json:"title"`
	Description     pgtype.Text        `json:"description"`
	Link            pgtype.Text        `json:"link"`
	FeedLink        pgtype.Text        `json:"feed_link"`
	Links           []string           `json:"links"`
	Updated         pgtype.Text        `json:"updated"`
	UpdatedParsed   pgtype.Timestamptz `json:"updated_parsed"`
	Published       pgtype.Text        `json:"published"`
	PublishedParsed pgtype.Timestamptz `json:"published_parsed"`
	Language        pgtype.Text        `json:"language"`
	Copyright       pgtype.Text        `json:"copyright"`
	Generator       pgtype.Text        `json:"generator"`
	Categories      []string           `json:"categories"`
	Custom          []byte             `json:"custom"`
	FeedType        pgtype.Text        `json:"feed_type"`
	FeedVersion     pgtype.Text        `json:"feed_version"`
}

type FeedAuthor

type FeedAuthor struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Email     pgtype.Text        `json:"email"`
	FeedID    int64              `json:"feed_id"`
}

type FeedDublinCore

type FeedDublinCore struct {
	ID          int64              `json:"id"`
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Title       []string           `json:"title"`
	Creator     []string           `json:"creator"`
	Author      []string           `json:"author"`
	Subject     []string           `json:"subject"`
	Description []string           `json:"description"`
	Publisher   []string           `json:"publisher"`
	Contributor []string           `json:"contributor"`
	Date        []string           `json:"date"`
	Type        []string           `json:"type"`
	Format      []string           `json:"format"`
	Identifier  []string           `json:"identifier"`
	Source      []string           `json:"source"`
	Language    []string           `json:"language"`
	Relation    []string           `json:"relation"`
	Coverage    []string           `json:"coverage"`
	Rights      []string           `json:"rights"`
	FeedID      int64              `json:"feed_id"`
}

type FeedExtension

type FeedExtension struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Value     pgtype.Text        `json:"value"`
	Attrs     []byte             `json:"attrs"`
	Children  []byte             `json:"children"`
	FeedID    int64              `json:"feed_id"`
}

type FeedImage

type FeedImage struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Url       pgtype.Text        `json:"url"`
	Title     pgtype.Text        `json:"title"`
	FeedID    int64              `json:"feed_id"`
}

type FeedItune

type FeedItune struct {
	ID         int64              `json:"id"`
	CreatedAt  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt  pgtype.Timestamptz `json:"updated_at"`
	DeletedAt  pgtype.Timestamptz `json:"deleted_at"`
	Author     pgtype.Text        `json:"author"`
	Block      pgtype.Text        `json:"block"`
	Explicit   pgtype.Text        `json:"explicit"`
	Keywords   pgtype.Text        `json:"keywords"`
	Subtitle   pgtype.Text        `json:"subtitle"`
	Summary    pgtype.Text        `json:"summary"`
	Image      pgtype.Text        `json:"image"`
	Complete   pgtype.Text        `json:"complete"`
	NewFeedUrl pgtype.Text        `json:"new_feed_url"`
	Type       pgtype.Text        `json:"type"`
	FeedID     int64              `json:"feed_id"`
}

type FeedItunesCategory

type FeedItunesCategory struct {
	ID          int64              `json:"id"`
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Text        pgtype.Text        `json:"text"`
	Subcategory pgtype.Int8        `json:"subcategory"`
	ItunesID    int64              `json:"itunes_id"`
}

type FeedItunesOwner

type FeedItunesOwner struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Email     pgtype.Text        `json:"email"`
	Name      pgtype.Text        `json:"name"`
	ItunesID  int64              `json:"itunes_id"`
}

type GetFeedAuthorsParams

type GetFeedAuthorsParams struct {
	FeedID int64 `json:"feed_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetFeedDublinCoresParams

type GetFeedDublinCoresParams struct {
	FeedID int64 `json:"feed_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetFeedExtensionsParams

type GetFeedExtensionsParams struct {
	FeedID int64 `json:"feed_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetFeedImagesParams

type GetFeedImagesParams struct {
	FeedID int64 `json:"feed_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetFeedItunesCategoriesParams

type GetFeedItunesCategoriesParams struct {
	ItunesID int64 `json:"itunes_id"`
	Limit    int32 `json:"limit"`
	Offset   int32 `json:"offset"`
}

type GetFeedItunesOwnersParams

type GetFeedItunesOwnersParams struct {
	ItunesID int64 `json:"itunes_id"`
	Limit    int32 `json:"limit"`
	Offset   int32 `json:"offset"`
}

type GetFeedsParams

type GetFeedsParams struct {
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetItemAuthorsParams

type GetItemAuthorsParams struct {
	ItemID int64 `json:"item_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetItemDublinCoresParams

type GetItemDublinCoresParams struct {
	ItemID int64 `json:"item_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetItemExtensionsParams

type GetItemExtensionsParams struct {
	ItemID int64 `json:"item_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetItemImagesParams

type GetItemImagesParams struct {
	ItemID int64 `json:"item_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type GetItemsParams

type GetItemsParams struct {
	FeedID int64 `json:"feed_id"`
	Limit  int32 `json:"limit"`
	Offset int32 `json:"offset"`
}

type Item

type Item struct {
	ID              int64              `json:"id"`
	CreatedAt       pgtype.Timestamptz `json:"created_at"`
	UpdatedAt       pgtype.Timestamptz `json:"updated_at"`
	DeletedAt       pgtype.Timestamptz `json:"deleted_at"`
	Title           pgtype.Text        `json:"title"`
	Description     pgtype.Text        `json:"description"`
	Content         pgtype.Text        `json:"content"`
	Link            pgtype.Text        `json:"link"`
	Links           []string           `json:"links"`
	Updated         pgtype.Text        `json:"updated"`
	UpdatedParsed   pgtype.Timestamptz `json:"updated_parsed"`
	Published       pgtype.Text        `json:"published"`
	PublishedParsed pgtype.Timestamptz `json:"published_parsed"`
	Guid            pgtype.Text        `json:"guid"`
	Categories      []string           `json:"categories"`
	Custom          []byte             `json:"custom"`
	FeedID          int64              `json:"feed_id"`
}

type ItemAuthor

type ItemAuthor struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Email     pgtype.Text        `json:"email"`
	ItemID    int64              `json:"item_id"`
}

type ItemDublinCore

type ItemDublinCore struct {
	ID          int64              `json:"id"`
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	UpdatedAt   pgtype.Timestamptz `json:"updated_at"`
	DeletedAt   pgtype.Timestamptz `json:"deleted_at"`
	Title       []string           `json:"title"`
	Creator     []string           `json:"creator"`
	Author      []string           `json:"author"`
	Subject     []string           `json:"subject"`
	Description []string           `json:"description"`
	Publisher   []string           `json:"publisher"`
	Contributor []string           `json:"contributor"`
	Date        []string           `json:"date"`
	Type        []string           `json:"type"`
	Format      []string           `json:"format"`
	Identifier  []string           `json:"identifier"`
	Source      []string           `json:"source"`
	Language    []string           `json:"language"`
	Relation    []string           `json:"relation"`
	Coverage    []string           `json:"coverage"`
	Rights      []string           `json:"rights"`
	ItemID      int64              `json:"item_id"`
}

type ItemExtension

type ItemExtension struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Name      pgtype.Text        `json:"name"`
	Value     pgtype.Text        `json:"value"`
	Attrs     []byte             `json:"attrs"`
	Children  []byte             `json:"children"`
	ItemID    int64              `json:"item_id"`
}

type ItemImage

type ItemImage struct {
	ID        int64              `json:"id"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	DeletedAt pgtype.Timestamptz `json:"deleted_at"`
	Url       pgtype.Text        `json:"url"`
	Title     pgtype.Text        `json:"title"`
	ItemID    int64              `json:"item_id"`
}

type ItemItune

type ItemItune struct {
	ID                int64              `json:"id"`
	CreatedAt         pgtype.Timestamptz `json:"created_at"`
	UpdatedAt         pgtype.Timestamptz `json:"updated_at"`
	DeletedAt         pgtype.Timestamptz `json:"deleted_at"`
	Author            pgtype.Text        `json:"author"`
	Block             pgtype.Text        `json:"block"`
	Duration          pgtype.Text        `json:"duration"`
	Explicit          pgtype.Text        `json:"explicit"`
	Keywords          pgtype.Text        `json:"keywords"`
	Subtitle          pgtype.Text        `json:"subtitle"`
	Summary           pgtype.Text        `json:"summary"`
	Image             pgtype.Text        `json:"image"`
	IsClosedCaptioned pgtype.Text        `json:"is_closed_captioned"`
	Episode           pgtype.Text        `json:"episode"`
	Season            pgtype.Text        `json:"season"`
	Order             pgtype.Text        `json:"order"`
	EpisodeType       pgtype.Text        `json:"episode_type"`
	ItemID            int64              `json:"item_id"`
}

type Querier

type Querier interface {
	CountFeeds(ctx context.Context) (int64, error)
	CountItems(ctx context.Context) (int64, error)
	CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, error)
	CreateItem(ctx context.Context, arg CreateItemParams) (Item, error)
	GetFeed(ctx context.Context, id int64) (Feed, error)
	GetFeeds(ctx context.Context, arg GetFeedsParams) ([]Feed, error)
	GetItem(ctx context.Context, id int64) (Item, error)
	GetItems(ctx context.Context, arg GetItemsParams) ([]Item, error)
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) CountFeeds

func (q *Queries) CountFeeds(ctx context.Context) (int64, error)

func (*Queries) CountItems

func (q *Queries) CountItems(ctx context.Context) (int64, error)

func (*Queries) CreateFeed

func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, error)

func (*Queries) CreateFeedAuthor

func (q *Queries) CreateFeedAuthor(ctx context.Context, arg CreateFeedAuthorParams) (FeedAuthor, error)

func (*Queries) CreateFeedDublinCore

func (q *Queries) CreateFeedDublinCore(ctx context.Context, arg CreateFeedDublinCoreParams) (FeedDublinCore, error)

func (*Queries) CreateFeedExtension

func (q *Queries) CreateFeedExtension(ctx context.Context, arg CreateFeedExtensionParams) (FeedExtension, error)

func (*Queries) CreateFeedImage

func (q *Queries) CreateFeedImage(ctx context.Context, arg CreateFeedImageParams) (FeedImage, error)

func (*Queries) CreateFeedItunes

func (q *Queries) CreateFeedItunes(ctx context.Context, arg CreateFeedItunesParams) (FeedItune, error)

func (*Queries) CreateFeedItunesCategory

func (q *Queries) CreateFeedItunesCategory(ctx context.Context, arg CreateFeedItunesCategoryParams) (FeedItunesCategory, error)

func (*Queries) CreateFeedItunesOwner

func (q *Queries) CreateFeedItunesOwner(ctx context.Context, arg CreateFeedItunesOwnerParams) (FeedItunesOwner, error)

func (*Queries) CreateItem

func (q *Queries) CreateItem(ctx context.Context, arg CreateItemParams) (Item, error)

func (*Queries) CreateItemAuthor

func (q *Queries) CreateItemAuthor(ctx context.Context, arg CreateItemAuthorParams) (ItemAuthor, error)

func (*Queries) CreateItemDublinCore

func (q *Queries) CreateItemDublinCore(ctx context.Context, arg CreateItemDublinCoreParams) (ItemDublinCore, error)

func (*Queries) CreateItemExtension

func (q *Queries) CreateItemExtension(ctx context.Context, arg CreateItemExtensionParams) (ItemExtension, error)

func (*Queries) CreateItemImage

func (q *Queries) CreateItemImage(ctx context.Context, arg CreateItemImageParams) (ItemImage, error)

func (*Queries) CreateItemItunes

func (q *Queries) CreateItemItunes(ctx context.Context, arg CreateItemItunesParams) (ItemItune, error)

func (*Queries) DBSize

func (q *Queries) DBSize(ctx context.Context) (string, error)

func (*Queries) GetFeed

func (q *Queries) GetFeed(ctx context.Context, id int64) (Feed, error)

func (*Queries) GetFeedAuthors

func (q *Queries) GetFeedAuthors(ctx context.Context, arg GetFeedAuthorsParams) ([]FeedAuthor, error)

func (*Queries) GetFeedDublinCores

func (q *Queries) GetFeedDublinCores(ctx context.Context, arg GetFeedDublinCoresParams) ([]FeedDublinCore, error)

func (*Queries) GetFeedExtensions

func (q *Queries) GetFeedExtensions(ctx context.Context, arg GetFeedExtensionsParams) ([]FeedExtension, error)

func (*Queries) GetFeedImages

func (q *Queries) GetFeedImages(ctx context.Context, arg GetFeedImagesParams) ([]FeedImage, error)

func (*Queries) GetFeedItunes

func (q *Queries) GetFeedItunes(ctx context.Context, feedID int64) (FeedItune, error)

func (*Queries) GetFeedItunesCategories

func (q *Queries) GetFeedItunesCategories(ctx context.Context, arg GetFeedItunesCategoriesParams) ([]FeedItunesCategory, error)

func (*Queries) GetFeedItunesOwners

func (q *Queries) GetFeedItunesOwners(ctx context.Context, arg GetFeedItunesOwnersParams) ([]FeedItunesOwner, error)

func (*Queries) GetFeeds

func (q *Queries) GetFeeds(ctx context.Context, arg GetFeedsParams) ([]Feed, error)

func (*Queries) GetItem

func (q *Queries) GetItem(ctx context.Context, id int64) (Item, error)

func (*Queries) GetItemAuthors

func (q *Queries) GetItemAuthors(ctx context.Context, arg GetItemAuthorsParams) ([]ItemAuthor, error)

func (*Queries) GetItemDublinCores

func (q *Queries) GetItemDublinCores(ctx context.Context, arg GetItemDublinCoresParams) ([]ItemDublinCore, error)

func (*Queries) GetItemExtensions

func (q *Queries) GetItemExtensions(ctx context.Context, arg GetItemExtensionsParams) ([]ItemExtension, error)

func (*Queries) GetItemImages

func (q *Queries) GetItemImages(ctx context.Context, arg GetItemImagesParams) ([]ItemImage, error)

func (*Queries) GetItemItunes

func (q *Queries) GetItemItunes(ctx context.Context, itemID int64) (ItemItune, error)

func (*Queries) GetItems

func (q *Queries) GetItems(ctx context.Context, arg GetItemsParams) ([]Item, error)

func (*Queries) WithTx

func (q *Queries) WithTx(tx pgx.Tx) *Queries

Jump to

Keyboard shortcuts

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