sqlizerBuffer is a helper that allows to write many Sqlizers one by one without constant checks for errors that may come from Sqlizer
| 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 |
| 16 | type 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 |
| 23 | func (b *sqlizerBuffer) WriteSql(item Sqlizer) { |
nothing calls this directly
no outgoing calls
no test coverage detected