(ctx Context, val string, valType qcode.ValType)
| 373 | } |
| 374 | |
| 375 | func (d *SQLiteDialect) RenderLiteral(ctx Context, val string, valType qcode.ValType) { |
| 376 | switch valType { |
| 377 | case qcode.ValBool, qcode.ValNum: |
| 378 | ctx.WriteString(val) |
| 379 | case qcode.ValStr: |
| 380 | ctx.WriteString(`'`) |
| 381 | ctx.WriteString(val) |
| 382 | ctx.WriteString(`'`) |
| 383 | default: |
| 384 | ctx.Quote(val) |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | func (d *SQLiteDialect) RenderBooleanEqualsTrue(ctx Context, paramName string) { |
| 389 | ctx.WriteString(`(`) |
no test coverage detected