MCPcopy
hub / github.com/sqlc-dev/sqlc / convertParamMarkerExpr

Method convertParamMarkerExpr

internal/engine/dolphin/convert.go:534–541  ·  view source on GitHub ↗
(n *driver.ParamMarkerExpr)

Source from the content-addressed store, hash-verified

532}
533
534func (c *cc) convertParamMarkerExpr(n *driver.ParamMarkerExpr) *ast.ParamRef {
535 // Parameter numbers start at one
536 c.paramCount += 1
537 return &ast.ParamRef{
538 Number: c.paramCount,
539 Location: n.Offset,
540 }
541}
542
543func (c *cc) convertSelectField(n *pcast.SelectField) *ast.ResTarget {
544 var val ast.Node

Callers 1

convertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected