record TgoBsonJavaScriptWithScope
Unit
Grijjy.Bson
Declaration
type TgoBsonJavaScriptWithScope = record
Description
A piece of JavaScript code with a scope (a set of variables with values, as defined in another document).
Overview
Methods
Properties
Description
Methods
class function Create(const ACode: String; const AScope: TgoBsonDocument): TgoBsonJavaScriptWithScope; static; |
Creates a BSON JavaScript w/scope.
Parameters
- ACode
- the JavaScript code.
- AScope
- the scope document containing the variables with values.
Returns
The BSON JavaScript w/scope Exceptions raised
EArgumentNilException
- if AScope has not been assigned (IsNil returns True)
|
Properties
property Code: String read GetCode; |
The JavaScript code
|
property Scope: TgoBsonDocument read GetScope; |
The scope document containing the variables with values.
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|