package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DBQuerier struct {
}
NewQuerier creates a DBQuerier that implements Querier.
OutParams implements Querier.OutParams.
type ListItem struct {
Name *string `json:"name"`
Color *string `json:"color"`
}
ListItem represents the Postgres composite type "list_item".
type ListStats struct {
Val1 *string `json:"val1"`
Val2 []*int32 `json:"val2"`
}
ListStats represents the Postgres composite type "list_stats".
type OutParamsRow struct {
Items []ListItem `json:"_items"`
Stats ListStats `json:"_stats"`
}
Querier is a typesafe Go interface backed by SQL queries.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.