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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostL10nRepository

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

func New

func (PostL10nRepository) Create

func (PostL10nRepository) CreateMultiple

func (r PostL10nRepository) CreateMultiple(ctx context.Context, items []entity.PostL10n) error

func (PostL10nRepository) Delete

func (PostL10nRepository) DeleteByPostID

func (r PostL10nRepository) DeleteByPostID(ctx context.Context, postID uint) error

func (PostL10nRepository) DeleteMultiple

func (r PostL10nRepository) DeleteMultiple(ctx context.Context, items []entity.PostL10n) error

func (PostL10nRepository) FindByID

func (r PostL10nRepository) FindByID(ctx context.Context, id uint) (*entity.PostL10n, error)

func (PostL10nRepository) FindByPostID

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

func (PostL10nRepository) FindByPostIDWithLanguage

func (r PostL10nRepository) FindByPostIDWithLanguage(ctx context.Context, postID, lngID uint) ([]entity.PostL10n, error)

func (PostL10nRepository) FindByPostIDs

func (r PostL10nRepository) FindByPostIDs(ctx context.Context, postIDs []uint) ([]entity.PostL10n, error)

func (PostL10nRepository) FindByPostIDsWithLanguage

func (r PostL10nRepository) FindByPostIDsWithLanguage(ctx context.Context, postIDs []uint, lngID uint) ([]entity.PostL10n, error)

func (PostL10nRepository) Update

func (PostL10nRepository) UpdateMultiple

func (r PostL10nRepository) UpdateMultiple(ctx context.Context, items []entity.PostL10n) error

Jump to

Keyboard shortcuts

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