MCPcopy Index your code
hub / github.com/upper/db / Close

Method Close

internal/sqlbuilder/builder.go:541–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

539}
540
541func (iter *iterator) Close() (err error) {
542 if iter.cursor != nil {
543 err = iter.cursor.Close()
544 iter.cursor = nil
545 }
546 return err
547}
548
549func marshal(v interface{}) (interface{}, error) {
550 if m, isMarshaler := v.(db.Marshaler); isMarshaler {

Callers 4

ScanOneMethod · 0.95
OneMethod · 0.95
AllMethod · 0.95
nextMethod · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected