Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewSQLExecutor, NewSQLBuilder, NewSQLBuilderApp, )
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle struct {
*db.HookHandle
}
type SQLBuilder ¶
type SQLBuilder struct {
// contains filtered or unexported fields
}
func NewSQLBuilder ¶
func NewSQLBuilder(c *config.DatabaseCredentials) *SQLBuilder
func (SQLBuilder) TableName ¶
func (b SQLBuilder) TableName(table string) string
func (SQLBuilder) WithAppID ¶
func (b SQLBuilder) WithAppID(appID string) *SQLBuilderApp
func (SQLBuilder) WithoutAppID ¶
func (b SQLBuilder) WithoutAppID() *db.SQLBuilder
type SQLBuilderApp ¶
type SQLBuilderApp struct {
db.SQLBuilderApp
}
func NewSQLBuilderApp ¶
func NewSQLBuilderApp(c *config.DatabaseCredentials, id config.AppID) *SQLBuilderApp
type SQLExecutor ¶
type SQLExecutor struct {
db.SQLExecutor
}
func NewSQLExecutor ¶
func NewSQLExecutor(handle *Handle) *SQLExecutor
Click to show internal directories.
Click to hide internal directories.