Skip to content
callcount

go.mongodb.org/mongo-driver/bson.Raw.Elements

third-party

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

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

prod calls
73
non-test, non-generated
all calls
127
total callsites
modules
1
distinct callers
in loop
3%
of prod calls
in tests
43%
54 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 127, prioritizing in-loop and non-test usage. We link to source, never display it.

Raw.Elements · 12 of 127 callsites
  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/integration/unified/database_operation_execution.go:101

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

    examples/documentation_examples/examples.go:1299

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

    mongo/integration/client_test.go:194

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

    mongo/integration/crud_helpers_test.go:320

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

    mongo/integration/collection_test.go:752

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

    mongo/integration/collection_test.go:2229

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

    mongo/integration/unified/client_encryption_operation_execution.go:23

  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/description/topology_version.go:24

  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/integration/unified/session_operation_execution.go:25

  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/integration/unified/bsonutil.go:32

  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/integration/unified/gridfs_bucket_operation_execution.go:32

  • go.mongodb.org/mongo-driver @v1.17.9

    mongo/integration/unified/database_operation_execution.go:33

top callers

The modules that reach for it

The modules that call Raw.Elements most in this snapshot.

  • go.mongodb.org/mongo-driver127100%

siblings

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

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