repo

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RowsAffectedUnknown = 0 // RowsAffectedUnknown - 0
	SerialUnknown       = 0 // SerialUnknown  - 0
)

Variables

This section is empty.

Functions

func ConvertIDToInt64

func ConvertIDToInt64(id any) int64

ConvertIDToInt64 convert ID to int64.

func ConvertIDToString

func ConvertIDToString(id any) string

ConvertIDToString convert ID to string.

func New

func New(logger db.Logger, db db.PureSqlxConnection, tableName db.Table, phf db.PlaceholderFormat) *repository

func NewGen

func NewGen[I db.ID, D db.GDTO[I], C db.Config](connector db.Connector[C]) db.GRepository[I, D]

Types

This section is empty.

Directories

Path Synopsis
Package empty used for realization absent Optional[T] pattern
Package empty used for realization absent Optional[T] pattern

Jump to

Keyboard shortcuts

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