Guest User

Shared State in (map-reduce) > Mongod

a guest
Apr 1st, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { "_id" : ObjectId("4f3fba11d36d3370e7b1fe87"), "tag" : "bookkeeping", "id" : "main-bookkeeping", "owner" : "[email protected]", "content" : [
  2.         {                "tag" : "currencies"
  3.                 "id" : "main.currencies",
  4.                 "default" : "CDN",
  5.                 "content" : [
  6.                         {
  7.                                 "content" : null,
  8.                                 "name" : "Canadian Dollar",
  9.                                 "id" : "CDN",
  10.                                 "tag" : "currency"
  11.                         },
  12.                 ],
  13.         },
  14.         {
  15.                 "tag" : "accounts",
  16.                 "id" : "main.accounts",
  17.                 "content" : [
  18.                         {
  19.                                 "counterWeight" : "debit",                                "name" : "fubar",
  20.                                 "type" : "asset",
  21.                                 "id" : "583c10bfdbd326ba7a7e2b02136612e62b87ffc",
  22.                                 "tag" : "account"
  23.                         },
  24.                 ]        },
  25.  
  26.         {                "tag" : "journals",
  27.                 "id" : "main.journals",
  28.                 "content" : [
  29.                         {
  30.                                 "tag" : "journal",
  31.                                 "id" : "generalledger",
  32.                                 "name" : "generalledger",
  33.                                 "type" : "",
  34.                                 "balance" : "",
  35.                                 "content" : [
  36.                                         {
  37.                                                 "tag" : "entries",
  38.                                                 "id" : "main.entries",
  39.                                                 "content" : [
  40.                                                         {
  41.                                                                 "date" : "03/22/2011",
  42.                                                                 "content" : [
  43.                                                                         {
  44.                                                                                 "accountid" : "cash",
  45.                                                                                 "amount" : NumberLong(120),
  46.                                                                                 "id" : "dtS",
  47.                                                                                 "tag" : "debit"
  48.                                                                         },
  49.                                                                         {
  50.                                                                                 "accountid" : "accounts payable",
  51.                                                                                 "amount" : NumberLong(120),
  52.                                                                                 "id" : "ctS",
  53.                                                                                 "tag" : "credit"
  54.                                                                         }
  55.                                                                 ],
  56.                                                                 "id" : "testid",
  57.                                                                 "tag" : "entry"
  58.                                                         },
  59.                                                 ]
  60.                                         }
  61.                                 ]
  62.                         }
  63.                 ]
  64.         }
  65. ] }
Advertisement
Add Comment
Please, Sign In to add comment