MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / codeGenRequest

Function codeGenRequest

internal/cmd/shim.go:226–233  ·  view source on GitHub ↗
(r *compiler.Result, settings config.CombinedSettings)

Source from the content-addressed store, hash-verified

224}
225
226func codeGenRequest(r *compiler.Result, settings config.CombinedSettings) *plugin.GenerateRequest {
227 return &plugin.GenerateRequest{
228 Settings: pluginSettings(r, settings),
229 Catalog: pluginCatalog(r.Catalog),
230 Queries: pluginQueries(r),
231 SqlcVersion: info.Version,
232 }
233}

Callers 3

ProcessResultMethod · 0.85
codegenFunction · 0.85
checkSQLMethod · 0.85

Calls 3

pluginSettingsFunction · 0.85
pluginCatalogFunction · 0.85
pluginQueriesFunction · 0.85

Tested by

no test coverage detected