Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedStatementType = errors.New("parseQuery: unsupported statement type")
Functions ¶
This section is empty.
Types ¶
type BuildResult ¶ added in v1.4.0
type BuildResult struct {
// contains filtered or unexported fields
}
func (*BuildResult) Enums ¶ added in v1.4.0
func (r *BuildResult) Enums(settings config.CombinedSettings) []golang.Enum
func (*BuildResult) GoQueries ¶ added in v1.4.0
func (r *BuildResult) GoQueries(settings config.CombinedSettings) []golang.Query
func (*BuildResult) Structs ¶ added in v1.4.0
func (r *BuildResult) Structs(settings config.CombinedSettings) []golang.Struct
type Engine ¶ added in v1.4.0
type Engine struct {
// contains filtered or unexported fields
}
The Engine type only exists as a compatibility shim between the old dinosql package and the new compiler package.
func NewEngine ¶ added in v1.4.0
func NewEngine(conf config.SQL, combo config.CombinedSettings) *Engine
func (*Engine) ParseCatalog ¶ added in v1.4.0
func (*Engine) ParseQueries ¶ added in v1.4.0
func (e *Engine) ParseQueries(queries []string, opts dinosql.ParserOpts) error
func (*Engine) Result ¶ added in v1.4.0
func (e *Engine) Result() golang.Generateable
type QueryCatalog ¶ added in v1.4.0
type QueryCatalog struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.