MCPcopy Create free account
hub / github.com/upper/db / joinArguments

Function joinArguments

internal/sqlbuilder/builder.go:618–632  ·  view source on GitHub ↗
(args ...[]interface{})

Source from the content-addressed store, hash-verified

616)
617
618func joinArguments(args ...[]interface{}) []interface{} {
619 total := 0
620 for i := range args {
621 total += len(args[i])
622 }
623 if total == 0 {
624 return nil
625 }
626
627 flatten := make([]interface{}, 0, total)
628 for i := range args {
629 flatten = append(flatten, args[i]...)
630 }
631 return flatten
632}

Callers 3

argumentsMethod · 0.85
argumentsMethod · 0.85
argumentsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…