MongoDB\BSON\Javascript::serialize

(mongodb >=1.2.0)

MongoDB\BSON\Javascript::serializeSerialize a Javascript

Description

final public MongoDB\BSON\Javascript::serialize(): string

Parameters

This function has no parameters.

Return Values

Returns the serialized representation of the MongoDB\BSON\Javascript.

Errors/Exceptions

See Also