postgres

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostMediaRepository

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

func New

func (PostMediaRepository) Create

func (PostMediaRepository) CreateMultiple

func (r PostMediaRepository) CreateMultiple(ctx context.Context, items []entity.PostMedia) error

func (PostMediaRepository) Delete

func (PostMediaRepository) DeleteMultiple

func (r PostMediaRepository) DeleteMultiple(ctx context.Context, items []entity.PostMedia) error

func (PostMediaRepository) FindByMediaIDCount

func (r PostMediaRepository) FindByMediaIDCount(ctx context.Context, mediaID uint) (int, error)

func (PostMediaRepository) FindByPostID

func (r PostMediaRepository) FindByPostID(ctx context.Context, postID uint) ([]entity.PostMedia, error)

Jump to

Keyboard shortcuts

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