pushtorefresh / storio

Reactive API for SQLiteDatabase and ContentResolver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add example of integration with SQLDelight

nikitin-da opened this issue · comments

Great idea! Since you successfully use it in production with StorIO you're very good source of info, maybe also write a blog article (or even markdown post here in repo) with your story?

We're going into production in couple of weeks I hope :)
During migration we've faced several issues in both sqldelight and storio, but most of them (except #704) are already resolved!

I think that we should start we some sample anyway, what project structure should we use for it? @artem-zinnatullin

Completely up to you, I think you can basically copy-paste current sample (it's pretty simple to look at) and just replace/add queries with SQLDelight

Any updates on this? Would love to see an example!

I'm really sorry for such delays, I don't have time right now =(
I hope I will open request in two weeks

Same here :(

@nayeemzen sorry for such delay =(
I have opened request with this example
The main idea is to use mapping generated by SQLDelight for complex objects: serialization and deserialization
StorIO will be helpful in such case mainly for rx and notifications