MCPcopy
hub / github.com/dosco/graphjin / RenderBooleanEqualsTrue

Method RenderBooleanEqualsTrue

core/internal/dialect/sqlite.go:388–392  ·  view source on GitHub ↗
(ctx Context, paramName string)

Source from the content-addressed store, hash-verified

386}
387
388func (d *SQLiteDialect) RenderBooleanEqualsTrue(ctx Context, paramName string) {
389 ctx.WriteString(`(`)
390 ctx.AddParam(Param{Name: paramName, Type: "boolean"})
391 ctx.WriteString(` IS TRUE)`)
392}
393
394func (d *SQLiteDialect) RenderBooleanNotEqualsTrue(ctx Context, paramName string) {
395 ctx.WriteString(`(`)

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.65
AddParamMethod · 0.65

Tested by

no test coverage detected