object BsonJavaScriptWithScope
Companion helper for a BsonJavaScriptWithScope
- Since
1.0
- Alphabetic
- By Inheritance
- BsonJavaScriptWithScope
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(value: String, scope: Traversable[(String, BsonValue)]): BsonJavaScriptWithScope
Creates a
BsonJavaScript
Creates a
BsonJavaScript
- value
the javascript function
- scope
the function scope
- returns
the BsonJavaScript
-
def
apply(value: String, scope: CanBeBsonElement*): BsonJavaScriptWithScope
Creates a
BsonJavaScript
Creates a
BsonJavaScript
- value
the javascript function
- scope
the function scope
- returns
the BsonJavaScript
-
def
apply(value: String, scope: BsonDocument): BsonJavaScriptWithScope
Creates a
BsonJavaScript
Creates a
BsonJavaScript
- value
the javascript function
- scope
the function scope
- returns
the BsonJavaScript
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: