I love new use cases because it forces me to implement new nostrdb features. In this case i realized i don’t have a way to stream over potentially millions of notes without building up a large query result buffer which would use up lots of memory.
So now i’m adding a new feature called ndb_query_visit which will allow you to stream results out of the database to accumulate aggregate values (counting things, grouping things, etc)
This effectively enables real-time, interactive analytics over every nostr post that has ever been created. lots of use cases here 🤔
View quoted note →
View quoted note →