BsonJavaScriptWithScope

Companion helper for a BsonJavaScriptWithScope

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(value: String, scope: BsonDocument): BsonJavaScriptWithScope

Creates a BsonJavaScript

Creates a BsonJavaScript

Value parameters:
scope

the function scope

value

the javascript function

Returns:

the BsonJavaScript

def apply(value: String, scope: CanBeBsonElement*): BsonJavaScriptWithScope

Creates a BsonJavaScript

Creates a BsonJavaScript

Value parameters:
scope

the function scope

value

the javascript function

Returns:

the BsonJavaScript

def apply(value: String, scope: Iterable[(String, BsonValue)]): BsonJavaScriptWithScope

Creates a BsonJavaScript

Creates a BsonJavaScript

Value parameters:
scope

the function scope

value

the javascript function

Returns:

the BsonJavaScript