vasern / vasern

Vasern is a fast, lightweight and open source data storage for React Native

Home Page:https://vasern.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Queryable events

RichardFevrier opened this issue · comments

In order to increase performance and reduce the code written by users, the library should add the Queryable logic (filter, exclude, limit, etc...) to events.

Example:

Todos
.filter({ completed: true })
.onChange(({ changed }) => {
    console.log(changed);
});