MCPcopy
hub / github.com/Masterminds/squirrel / sqlizerBuffer

Struct sqlizerBuffer

case.go:16–20  ·  view source on GitHub ↗

sqlizerBuffer is a helper that allows to write many Sqlizers one by one without constant checks for errors that may come from Sqlizer

Source from the content-addressed store, hash-verified

14// sqlizerBuffer is a helper that allows to write many Sqlizers one by one
15// without constant checks for errors that may come from Sqlizer
16type sqlizerBuffer struct {
17 bytes.Buffer
18 args []interface{}
19 err error
20}
21
22// WriteSql converts Sqlizer to SQL strings and writes it to buffer
23func (b *sqlizerBuffer) WriteSql(item Sqlizer) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected