object BsonArray
Companion helper for a BsonArray
- Since
1.0
- Alphabetic
- By Inheritance
- BsonArray
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- def apply(elems: CanBeBsonValue*): BsonArray
Creates a BsonArray from the provided values
Creates a BsonArray from the provided values
- elems
the values that can be transformed into a
BsonValue
- returns
the BsonArray
- def apply(): BsonArray
Create an empty BsonArray
Create an empty BsonArray
- returns
the BsonArray
- def fromIterable(elems: Iterable[BsonValue]): BsonArray
Create a BsonArray from the provided values
Create a BsonArray from the provided values
- elems
the
BsonValues
to become theBsonArray
- returns
the BsonArray
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: