db

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Model(value interface{}) (tx Repository)
	Find(dest interface{}, conds ...interface{}) (tx Repository)
	Where(query interface{}, args ...interface{}) (tx Repository)
	Create(value interface{}) (tx Repository)

	Error() error
}

Repository interface represents relational db interface the interface should expose default methods inherited from gorm DB in the current phase

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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