PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

The MongoDB\BSON\Javascript class | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

The MongoDB\BSON\Javascript class

(mongodb >=1.0.0)

はじめに

BSON type for Javascript code. An optional scope document may be specified that maps identifiers to values and defines the scope in which the code should be evaluated by the server.

注意:

This BSON type is mainly used when executing database commands that take a Javascript function as a parameter, such as » mapReduce.

クラス概要

/* メソッド */
final public __construct ( string $code [, array|object $scope ] )
final public string getCode ( void )
final public object|null getScope ( void )
final public mixed jsonSerialize ( void )
final public string serialize ( void )
final public string __toString ( void )
final public void unserialize ( string $serialized )
}

変更履歴

バージョン 説明
1.2.0 Implements Serializable and JsonSerializable.

目次


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「The MongoDB\BSON\Javascript class」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | The MongoDB\BSON\Javascript class」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: