サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
やる気の出し方
rickosborne.org
db.runCommand({ mapreduce: "DenormAggCollection", query: { filter1: { '$in': [ 'A', 'B' ] }, filter2: 'C', filter3: { '$gt': 123 } }, map: function() { emit( { d1: this.Dim1, d2: this.Dim2 }, { msum: this.measure1, recs: 1, mmin: this.measure1, mmax: this.measure2 < 100 ? this.measure2 : 0 } );}, reduce: function(key, vals) { var ret = { msum: 0, recs: 0, mmin: 0, mmax: 0 }; for(var i = 0; i < val
As a sort of follow-up to yesterday’s post, I’ve prepared a PDF infographic of how the clauses in a moderately-complex SQL statement relate/translate to the JavaScript of MapReduce functionality in MongoDB. Clickity-click for the larger, printable PDF version (188KB). Infographic visualizing the relationship between SQL and MapReduce on MongoDB
このページを最初にブックマークしてみませんか?
『rickosborne.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く