I have a new project which needs to use local store and I think that sqlite could be the solution.

Simple one table seems easy but,

1. How to persist hasMany relations?
2. How to retrieve hasMany relations?
3. How to filter data?

I'm asking because chances are that somebody else already needed what I need before make tests and dig into ST sources...

TIA.