Documentation ¶
Index ¶
- type Function
- func (f Function) Args(lang string) string
- func (f Function) DefaultReturnValue(lang string) string
- func (f Function) HasArgs() bool
- func (f Function) LanguageReturnType(lang string) string
- func (f Function) QueryArgs(lang string) string
- func (f Function) ReturnsRecord() bool
- func (f Function) ReturnsValue() bool
- func (f Function) SafeFunctionBody() string
- func (f Function) ToCamelCase() string
- func (f Function) ToPascalCase() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct { Name string Language string ReturnType string ReturnsSet bool ArgNames []string ArgTypes []string FunctionBody string }
Function describes the properties of a database function.
func (Function) DefaultReturnValue ¶
func (Function) LanguageReturnType ¶
func (Function) ReturnsRecord ¶
ReturnsRecord returns true if this function returns one or move records.
func (Function) ReturnsValue ¶
ReturnsValue returns true if this function returns an argument.
func (Function) SafeFunctionBody ¶
func (Function) ToCamelCase ¶
func (Function) ToPascalCase ¶
ToPascalCase converts a database into PascalCase.
Click to show internal directories.
Click to hide internal directories.