sqls

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package sqls contain database/sql related utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAssign

func ConvertAssign[T any](dest T, src any) error

func MapRows

func MapRows[T any](rows *sqlx.Rows, itemGetter func() T) (items []T, err error)

MapRows is a convert function,that converts sqlx.Row to specified interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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