MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Scan

Method Scan

storage/storage.go:418–428  ·  view source on GitHub ↗
(src interface{})

Source from the content-addressed store, hash-verified

416}
417
418func (s *rowScanner) Scan(src interface{}) error {
419 if s.fieldCnt <= s.column {
420 // read complete
421 return io.EOF
422 }
423
424 s.fields[s.column] = src
425 s.column++
426
427 return nil
428}
429
430func (s *rowScanner) GetRow() []interface{} {
431 return s.fields

Callers 15

loadIrreHashFunction · 0.45
loadTxPoolFunction · 0.45
loadBlockFunction · 0.45
loadBlocksFunction · 0.45
loadAndCacheAccountsFunction · 0.45
loadAndCacheProvidersFunction · 0.45
queryTxStateMethod · 0.45
QueryMethod · 0.45
readSingleFunction · 0.45
TestStorageFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestStorageFunction · 0.36
BenchmarkStorageFunction · 0.36