Documentation ¶
Index ¶
- func ParseWhere(sqlTerms []string, whereIndex int, g sqlgenerator.SQLGenerator) (string, []*sqlgenerator.SQLParam, error)
- func ReplaceParam(sql string, p *Param, newStr string) string
- type BaseMethod
- func (bg *BaseMethod) CheckCountReturns(fd *rdesc.FuncDesc) error
- func (bg *BaseMethod) CheckDeleteReturns(fd *rdesc.FuncDesc) error
- func (bg *BaseMethod) CheckFindReturns(fd *rdesc.FuncDesc) error
- func (bg *BaseMethod) CheckUpdateReturns(fd *rdesc.FuncDesc) error
- func (bg *BaseMethod) Test(fn *defines.Func) bool
- type Method
- type Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseWhere ¶
func ParseWhere(sqlTerms []string, whereIndex int, g sqlgenerator.SQLGenerator) (string, []*sqlgenerator.SQLParam, error)
Types ¶
type BaseMethod ¶
type BaseMethod struct {
// contains filtered or unexported fields
}
func (*BaseMethod) CheckCountReturns ¶
func (bg *BaseMethod) CheckCountReturns(fd *rdesc.FuncDesc) error
func (*BaseMethod) CheckDeleteReturns ¶
func (bg *BaseMethod) CheckDeleteReturns(fd *rdesc.FuncDesc) error
func (*BaseMethod) CheckFindReturns ¶
func (bg *BaseMethod) CheckFindReturns(fd *rdesc.FuncDesc) error
func (*BaseMethod) CheckUpdateReturns ¶
func (bg *BaseMethod) CheckUpdateReturns(fd *rdesc.FuncDesc) error
type Method ¶
func CreateMethods ¶
func CreateMethods(sqlg sqlgenerator.SQLGenerator, logger logger.GpaLogger) []Method
Click to show internal directories.
Click to hide internal directories.