record TgoBsonJavaScript

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TgoBsonJavaScript = record

Description

A piece of JavaScript code

Overview

Methods

class function Create(const ACode: String): TgoBsonJavaScript; static;
class operator Implicit(const A: TgoBsonJavaScript): TgoBsonValue; static;
class operator Equal(const A, B: TgoBsonJavaScript): Boolean; static;
class operator NotEqual(const A, B: TgoBsonJavaScript): Boolean; static;
function IsNil: Boolean; inline;
procedure SetNil; inline;
function Clone: TgoBsonJavaScript; inline;
function DeepClone: TgoBsonJavaScript; inline;
function ToBson: TBytes; inline;
function ToJson: String; overload; inline;
function ToJson(const ASettings: TgoJsonWriterSettings): String; overload; inline;

Properties

property Code: String read GetCode;

Description

Methods

class function Create(const ACode: String): TgoBsonJavaScript; static;

Creates a BSON JavaScript.

Parameters
ACode
the JavaScript code.
Returns

The BSON JavaScript

class operator Implicit(const A: TgoBsonJavaScript): TgoBsonValue; static;

Implicitly casts a BSON JavaScript to a BSON value.

class operator Equal(const A, B: TgoBsonJavaScript): Boolean; static;

See TgoBsonValue.Equal

class operator NotEqual(const A, B: TgoBsonJavaScript): Boolean; static;

See TgoBsonValue.NotEqual

function IsNil: Boolean; inline;

See TgoBsonValue.IsNil

procedure SetNil; inline;

See TgoBsonValue.SetNil

function Clone: TgoBsonJavaScript; inline;

See TgoBsonValue.Clone

function DeepClone: TgoBsonJavaScript; inline;

See TgoBsonValue.DeepClone

function ToBson: TBytes; inline;

See TgoBsonValue.ToBson

function ToJson: String; overload; inline;

See TgoBsonValue.ToJson

function ToJson(const ASettings: TgoJsonWriterSettings): String; overload; inline;

See TgoBsonValue.ToJson

Properties

property Code: String read GetCode;

The JavaScript code


Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26