Same as the updating existing collection field, $set will add a new fields if the specified field does not exist. Check out this example:
確定! 回上一頁