Skip to content

Instantly share code, notes, and snippets.

@aershov24
Created October 14, 2020 05:41
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 aershov24/e3489a97ce3aba071f41605604e844ef to your computer and use it in GitHub Desktop.
Save aershov24/e3489a97ce3aba071f41605604e844ef to your computer and use it in GitHub Desktop.
Markdium-25 NoSQL Interview Questions (ANSWERED) You Must Know In 2020
{
_id: "4c6b9456f61f000000007ba6"
title: [
{ version: 1, value: "Hello world" },
{ version: 6, value: "Foo" }
],
body: [
{ version: 1, value: "Is this thing on?" },
{ version: 2, value: "What should I write?" },
{ version: 6, value: "This is the new body" }
],
tags: [
{ version: 1, value: [ "test", "trivial" ] },
{ version: 6, value: [ "foo", "test" ] }
],
comments: [
{
author: "joe", // Unversioned field
body: [
{ version: 3, value: "Something cool" }
]
},
{
author: "xxx",
body: [
{ version: 4, value: "Spam" },
{ version: 5, deleted: true }
]
},
{
author: "jim",
body: [
{ version: 7, value: "Not bad" },
{ version: 8, value: "Not bad at all" }
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment