According to the documentation, mongoc_bulk_operation_update() only works with $ operators.
This API does not support $addToSet as one of those operators, it produces the following error: mongoc_bulk_operation_update(): update only works with $ operators.
댓글 없음:
댓글 쓰기