eloquent

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BARMOURY_RAW_SQL_PARAMETER_KEY = "___BARMOURY__RAW__SQL___"
)

Functions

This section is empty.

Types

type QueryArmoury

type QueryArmoury struct {
	Db *gorm.DB
}

func (QueryArmoury) GetResourceById

func (q QueryArmoury) GetResourceById(t any, id any, message string) any

func (QueryArmoury) PageQuery

func (q QueryArmoury) PageQuery(g *gin.Context, clazz any, resolveSubEntities bool, pageable bool, logger any) any

func (QueryArmoury) PaginateResult

func (q QueryArmoury) PaginateResult(rows any, rowsCount int64, page int, offset int64, limit int64, count int64, sorted bool, paged bool) map[string]any

Jump to

Keyboard shortcuts

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