1
0
mirror of https://github.com/redis/node-redis.git synced 2025-07-31 05:44:24 +03:00

Fixed a few typos.

This commit is contained in:
Simon Prickett
2021-11-17 19:42:57 +00:00
parent fc73cb8736
commit eedce53b15

View File

@ -43,7 +43,7 @@ async function searchPlusJson() {
// documents: [...]
// }
// Some aggrigrations
// Some aggregrations
console.log(
await client.ft.aggregate('users', '*', {
STEPS: [{
@ -51,7 +51,7 @@ async function searchPlusJson() {
REDUCE: [{
type: AggregateGroupByReducers.AVG,
property: '$.age',
AS: 'avarageAge'
AS: 'averageAge'
}, {
type: AggregateGroupByReducers.SUM,
property: '$.coins',
@ -63,7 +63,7 @@ async function searchPlusJson() {
// {
// total: 2,
// results: [{
// avarageAvg: '27.5',
// averageAge: '27.5',
// totalCoins: '115'
// }]
// }