MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / BenchmarkBoolArrayScanBytes

Function BenchmarkBoolArrayScanBytes

types/array_test.go:248–256  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

246}
247
248func BenchmarkBoolArrayScanBytes(b *testing.B) {
249 var a BoolArray
250 var x any = []byte(`{t,f,t,f,t,f,t,f,t,f}`)
251
252 for i := 0; i < b.N; i++ {
253 a = BoolArray{}
254 a.Scan(x)
255 }
256}
257
258func TestBoolArrayScanString(t *testing.T) {
259 for _, tt := range BoolArrayStringTests {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…