persistence

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Findable

type Findable[ENTITY any, FILTER any] interface {
	Find(FILTER, pagination.Pagination) (pagination.List[ENTITY], error)
	FindFiltered(FILTER) (pagination.List[ENTITY], error)
	FindPaginated(pagination.Pagination) (pagination.List[ENTITY], error)
	FindFirstPage() (pagination.List[ENTITY], error)
	FindAll() ([]ENTITY, error)
	FindAllFiltered(FILTER) ([]ENTITY, error)
	FindOne(id int64) (ENTITY, error)
	Exists(id int64) bool
}

Jump to

Keyboard shortcuts

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