Categorygithub.com/pedidopago/protodb
modulepackage
0.2.2
Repository: https://github.com/pedidopago/protodb.git
Documentation: pkg.go.dev

# Packages

Package grpce is a wrapper library for passing errors between a gRPC client and an *echo.Echo server.
No description provided by the author

# Functions

No description provided by the author
GetContext executes a SelectColumnScan on dest (with reflection) to determine which table, columns and joins are used to retrieve data.
No description provided by the author
InsertColumnScan uses db_insert, dbinsert, insert, db (in this order) to map columns and values to be inserted.
InsertContext executes a InsertColumnScan on dest (with reflection) to determine which tableand rows are used to insert data.
IsNotFound tests if an error is a *NotFoundError.
IsQueryError tests if an error is a *QueryError.
No description provided by the author
No description provided by the author
SelectColumnScan uses db_select, dbselect, db (in this order) to map columns to be selected.
SelectContext executes a SelectColumnScan on dest (with reflection) to determine which table, columns and joins are used to retrieve data.
Transform uses rules of funcMap to transform values by checking the transform tag.
UpdateColumnScan uses db_update, dbupdate, update, db (in this order) to map columns and values to be updateed.
UpdateContext executes a UpdateColumnScan on dest (with reflection) to determine which table and rows are used to insert data.
No description provided by the author
Wrap creates a new DB transaction that automatically commits or performs a rollback when the function returns.

# Variables

No description provided by the author

# Structs

ColumnsResult is the metadata obtained by SelectColumnScan, InsertColumnScan or UpdateColumnScan.
No description provided by the author
No description provided by the author
TagData is a collection of metadata and value, retrieved by parsing the tags of a field.

# Interfaces

RemapperDestination is for a struct that can be filled by src.
RemapperSource is for a struct that can be used to fill a destination.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
TransformFunc is a function that transforms a value.