Skip to content

Instantly share code, notes, and snippets.

@ile
Created May 6, 2016 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ile/8bc65f1bdaeea7b2da4d5819ba196e21 to your computer and use it in GitHub Desktop.
Save ile/8bc65f1bdaeea7b2da4d5819ba196e21 to your computer and use it in GitHub Desktop.
> db.items.find().pretty()
{
"_id" : "undefined",
"_v" : "d951efc6-6869-4f08-bf6d-34b14373cabc 1461410356438|ed5b43c1-59f9-4208-8e20-1b1e4a44325a 1461780511277|b97b82c8-ad20-4e72-8eff-dee460b425e5 1461900 075779",
"_ops" : [
{
"type" : "stringSet",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"value" : [ ],
"id" : "7bac7069-3bca-4a79-b7fc-37c0e5331542",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410355883,
"field" : "description",
"_id" : "571b5a33803b73900dabca66"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "b6a75f49-4788-40e3-98e3-7cb6c719ff23",
"value" : "x",
"id" : "97d42dce-cc5d-4a24-8051-0e0014a335bc",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410355884,
"field" : "description"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "a41ac4bd-d0a4-4d0b-bbcb-ca357d6e33eb",
"value" : "c",
"id" : "767916df-a600-4296-9831-23105ce49899",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410355944,
"field" : "description",
"positionId" : "b6a75f49-4788-40e3-98e3-7cb6c719ff23",
"_id" : "571b5a7c803b73900dabca71"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "f52c01ed-1553-431e-bd4f-84a7b0334ba5",
"value" : "v",
"id" : "29b34b0e-372c-43d9-a0c2-96dbe5fd2e82",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410355976,
"field" : "description",
"positionId" : "a41ac4bd-d0a4-4d0b-bbcb-ca357d6e33eb",
"_id" : "571b5a7c803b73900dabca72"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "c0574153-770c-4a39-aab5-e3b70f7f6e57",
"value" : "x",
"id" : "e8249330-6d00-4788-b9b9-8c0d8617ae15",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410356143,
"field" : "description",
"positionId" : "f52c01ed-1553-431e-bd4f-84a7b0334ba5",
"_id" : "571b5a34803b73900dabca6a"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "4cac7b1d-a7e1-46ab-a2f4-87a9c390bc4f",
"value" : "v",
"id" : "a1e5fe6a-0ddb-4ab5-a4e1-13d8e727a97b",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410356239,
"field" : "description",
"positionId" : "c0574153-770c-4a39-aab5-e3b70f7f6e57",
"_id" : "571b5a7c803b73900dabca74"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "a3121c29-de62-49c2-8da3-63b7335fad76",
"value" : "c",
"id" : "c998d2e7-b6df-4b93-8ea8-370efd40541e",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410356247,
"field" : "description",
"positionId" : "4cac7b1d-a7e1-46ab-a2f4-87a9c390bc4f"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "03027ae9-d669-4d60-a23a-6d233b305514",
"value" : "x",
"id" : "a5b40b74-97f7-409e-b127-7b160c33024b",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410356382,
"field" : "description",
"positionId" : "a3121c29-de62-49c2-8da3-63b7335fad76",
"_id" : "571b5a7c803b73900dabca76"
},
{
"type" : "stringInsert",
"collectionName" : "items",
"docId" : "319094ef-bb35-4057-9a84-ea8eefe4f1c6",
"charId" : "99e2d724-abb5-4668-b4da-089d4b595912",
"value" : "c",
"id" : "d1817df5-79d4-4b4a-a367-7c1df750c79c",
"source" : "d951efc6-6869-4f08-bf6d-34b14373cabc",
"date" : 1461410356438,
"field" : "description",
"positionId" : "03027ae9-d669-4d60-a23a-6d233b305514",
"_id" : "571b5a7c803b73900dabca77"
},
{
"type" : "add",
"collectionName" : "items",
"docId" : "96d6473a-7f0c-4f29-9cbe-d551dcdca0d5",
"value" : {
"name" : "item 96d6473a-7f0c-4f29-9cbe-d551dcdca0d5"
},
"id" : "3469c173-c26f-4eff-b553-f91bfaa73454",
"source" : "ed5b43c1-59f9-4208-8e20-1b1e4a44325a",
"date" : 1461780511277,
"_id" : "5721001fd5ba1a760dea3937"
},
{
"type" : "set",
"collectionName" : "items",
"docId" : "96d6473a-7f0c-4f29-9cbe-d551dcdca0d5",
"field" : "name",
"value" : "item 96d6473a-7f0c-4f29-9cbe-d551dcdca0d5c",
"id" : "515b1442-a4e4-4788-9ca1-8aaeab9f5b8e",
"source" : "b97b82c8-ad20-4e72-8eff-dee460b425e5",
"date" : 1461900075779,
"_id" : "5722d3685f26b6470e85d58f"
}
],
"name" : "item 96d6473a-7f0c-4f29-9cbe-d551dcdca0d5c"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment