baslr / arangochair

🥑 arangochair is a Node.js module that adds changefeed capability to ArangoDB and make it realtime push ready
91 stars 19 forks source link

Keys not filtering #13

Open timothybean opened 5 years ago

timothybean commented 5 years ago

For anyone trying to use the library.

I was trying to use the keys filter, this initially didn't return any value.

Dug a little and discovers on line 96:

if (0 !== keys.size && !events.has(key)) return;

Should be:

if (0 !== keys.size && !keys.has(key)) return;