diff --git a/source/core/create.txt b/source/core/create.txt index 1eed7657010..5792959d2e4 100644 --- a/source/core/create.txt +++ b/source/core/create.txt @@ -23,7 +23,7 @@ following basic operations: - :ref:`insert ` -- :ref:`upsert ` +- :ref:`update ` All insert operations in MongoDB exhibit the following properties: diff --git a/source/reference/method/UUID.txt b/source/reference/method/UUID.txt new file mode 100644 index 00000000000..65c9e79cee2 --- /dev/null +++ b/source/reference/method/UUID.txt @@ -0,0 +1,27 @@ +====== +UUID() +====== + +.. default-domain:: mongodb + +.. method:: UUID() + + :param string hex: Specify a 32 byte hexadecimal string to convert + to the UUID BSON subtype. + + :returns: A BSON UUID object. + + .. example:: + + Create a 32 byte hexadecimal string: + + .. code-block:: javascript + + var myuuid = '0123456789abcdeffedcba9876543210' + + Convert it to the BSON UUID subtype: + + .. code-block:: javascript + + UUID(myuuid) + BinData(3,"ASNFZ4mrze/+3LqYdlQyEA==") diff --git a/source/reference/method/cd.txt b/source/reference/method/cd.txt index c9d4ef2bb18..0a2a904db80 100644 --- a/source/reference/method/cd.txt +++ b/source/reference/method/cd.txt @@ -12,5 +12,3 @@ cd() This function returns with output relative to the current shell session, and does not impact the server. - - .. note:: This feature is not yet implemented.