![]() |
![]()
| ![]() |
![]()
SYNOPSIS#define BSON_APPEND_CODE_WITH_SCOPE(b, key, val, scope) \ PARAMETERS
DESCRIPTIONThe bson_append_code_with_scope() function shall perform like bson_append_code() except it allows providing a scope to the javascript function in the form of a bson document. If scope is NULL, this function appends an element with BSON type "code", otherwise with BSON type "code with scope". RETURNSReturns true if the operation was applied successfully. The function will fail if appending javascript and scope grows bson larger than INT32_MAX. AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|