package
0.0.0-20241123103040-34550093ded7
Repository: https://github.com/zhangpetergo/gin-service.git
Documentation: pkg.go.dev
# Packages
Package dbarray provides support for database array types.
# Functions
ExecContext is a helper function to execute a CUD operation with logging and tracing.
NamedExecContext is a helper function to execute a CUD operation with logging and tracing where field replacement is necessary.
NamedQuerySlice is a helper function for executing queries that return a collection of data to be unmarshalled into a slice where field replacement is necessary.
NamedQuerySliceUsingIn is a helper function for executing queries that return a collection of data to be unmarshalled into a slice where field replacement is necessary.
NamedQueryStruct is a helper function for executing queries that return a single value to be unmarshalled into a struct type where field replacement is necessary.
NamedQueryStructUsingIn is a helper function for executing queries that return a single value to be unmarshalled into a struct type where field replacement is necessary.
Open knows how to open a database connection based on the configuration.
QuerySlice is a helper function for executing queries that return a collection of data to be unmarshalled into a slice.
QueryStruct is a helper function for executing queries that return a single value to be unmarshalled into a struct type where field replacement is necessary.
StatusCheck returns nil if it can successfully talk to the database.
# Variables
Set of error variables for CRUD operations.
Set of error variables for CRUD operations.
Set of error variables for CRUD operations.