Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ / /
Scala Driver

Builders

The Scala driver provides the following classes that make it easier to use the CRUD API:

  • Filters Builder Class: Support for building query filters

  • Projections Builder Class: Support for building projections

  • Sorts Builder Class: Support for building sort criteria

  • Aggregates Builder Class: Support for building aggregation pipelines

  • Updates Builder Class: Support for building updates

  • Indexes Builder Class: Support for creating index keys

Important

Builders make use of the Bson helper. This type, unlike the Document type, is not type-safe. Instead, conversion to BSON is done by using Codecs and the CodecRegistry.

Back

Extended JSON