go.mongodb.org/mongo-driver/x/bsonx/bsoncore.AppendDocumentElement
third-partyThe 8366th most-called third-party function by production calls. Called 121 times across 1 modules; 71 of those run outside tests and generated code.
All of go.mongodb.org/mongo-driver/x/bsonx/bsoncore → Docs on pkg.go.dev ↗
- prod calls
- 71
- non-test, non-generated
- all calls
- 121
- total callsites
- modules
- 1
- distinct callers
- in loop
- 11%
- of prod calls
- in tests
- 41%
- 50 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 →
- Package function100%A direct call to an exported package function, resolved by type.
where it's called
Callsites in the wild
12 representative callsites of 121, prioritizing in-loop and non-test usage. We link to source, never display it.
-
go.mongodb.org/mongo-driver @v1.17.9
mongo/search_index_view.go:114
in loop -
go.mongodb.org/mongo-driver @v1.17.9
mongo/options/mongooptions.go:163
in loop -
go.mongodb.org/mongo-driver @v1.17.9
mongo/index_view.go:208
in loop -
go.mongodb.org/mongo-driver @v1.17.9
mongo/mongo.go:339
in loop -
go.mongodb.org/mongo-driver @v1.17.9
mongo/mongo.go:427
in loop -
go.mongodb.org/mongo-driver @v1.17.9
mongo/change_stream.go:490
in loop -
go.mongodb.org/mongo-driver @v1.17.9
x/mongo/driver/operation.go:1217
in loop -
go.mongodb.org/mongo-driver @v1.17.9
x/mongo/driver/operation.go:1787
in loop -
go.mongodb.org/mongo-driver @v1.17.9
x/bsonx/bsoncore/document_sequence_test.go:24
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
x/mongo/driver/auth/speculative_scram_test.go:115
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
bson/bsoncodec/default_value_decoders_test.go:2958
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
bson/bsoncodec/default_value_decoders_test.go:2959
in loop test
top callers
The modules that reach for it
The modules that call AppendDocumentElement most in this snapshot.
- go.mongodb.org/mongo-driver121100%
siblings
More from go.mongodb.org/mongo-driver/x/bsonx/bsoncore
The other most-called functions in this package. See all →