MCPcopy Create free account
hub / github.com/araddon/qlbridge / join

Function join

exec/sqldriver.go:339–350  ·  view source on GitHub ↗
(a []string)

Source from the content-addressed store, hash-verified

337func (r *qlbResult) RowsAffected() (int64, error) { return r.affected, r.err }
338
339func join(a []string) string {
340 n := 0
341 for _, s := range a {
342 n += len(s)
343 }
344 b := make([]byte, n)
345 n = 0
346 for _, s := range a {
347 n += copy(b[n:], s)
348 }
349 return string(b)
350}
351
352func queryArgsConvert(query string, args []driver.Value) (string, error) {
353 if len(args) == 0 {

Callers 1

queryArgsConvertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected