You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Fixed a few typos.
This commit is contained in:
@@ -43,7 +43,7 @@ async function searchPlusJson() {
|
|||||||
// documents: [...]
|
// documents: [...]
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// Some aggrigrations
|
// Some aggregrations
|
||||||
console.log(
|
console.log(
|
||||||
await client.ft.aggregate('users', '*', {
|
await client.ft.aggregate('users', '*', {
|
||||||
STEPS: [{
|
STEPS: [{
|
||||||
@@ -51,7 +51,7 @@ async function searchPlusJson() {
|
|||||||
REDUCE: [{
|
REDUCE: [{
|
||||||
type: AggregateGroupByReducers.AVG,
|
type: AggregateGroupByReducers.AVG,
|
||||||
property: '$.age',
|
property: '$.age',
|
||||||
AS: 'avarageAge'
|
AS: 'averageAge'
|
||||||
}, {
|
}, {
|
||||||
type: AggregateGroupByReducers.SUM,
|
type: AggregateGroupByReducers.SUM,
|
||||||
property: '$.coins',
|
property: '$.coins',
|
||||||
@@ -63,7 +63,7 @@ async function searchPlusJson() {
|
|||||||
// {
|
// {
|
||||||
// total: 2,
|
// total: 2,
|
||||||
// results: [{
|
// results: [{
|
||||||
// avarageAvg: '27.5',
|
// averageAge: '27.5',
|
||||||
// totalCoins: '115'
|
// totalCoins: '115'
|
||||||
// }]
|
// }]
|
||||||
// }
|
// }
|
||||||
|
Reference in New Issue
Block a user