Skip to content
callcount

go.mongodb.org/mongo-driver/bson.RawValue.Document

third-party

The 5713th most-called third-party method by production calls. Called 212 times across 1 modules; 104 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of go.mongodb.org/mongo-driver/bson → Docs on pkg.go.dev ↗

prod calls
104
non-test, non-generated
all calls
212
total callsites
modules
1
distinct callers
in loop
92%
of prod calls
in tests
51%
108 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Concrete method100%A method on a value whose type is known exactly.

where it's called

Callsites in the wild

12 representative callsites of 212, prioritizing in-loop and non-test usage. We link to source, never display it.

RawValue.Document · 12 of 212 callsites
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/bulkwrite_helpers.go:28

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/gridfs_bucket_operation_execution.go:44

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/crud_helpers.go:49

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    internal/bsonutil/bsonutil.go:49

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/client_operation_execution.go:52

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/bulkwrite_helpers.go:53

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/crud_helpers.go:57

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/collection_operation_execution.go:58

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/crud_helpers.go:65

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/bulkwrite_helpers.go:80

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/collection_operation_execution.go:84

    in loop
  • go.mongodb.org/mongo-driver @v1.17.10

    mongo/integration/unified/bulkwrite_helpers.go:86

    in loop

top callers

The modules that reach for it

The modules that call RawValue.Document most in this snapshot.

  • go.mongodb.org/mongo-driver212100%

siblings

More from go.mongodb.org/mongo-driver/bson

The other most-called members in this package. See all →