Is there any known approach to make Supabase-kt li...
# supabase-kt
m
Is there any known approach to make Supabase-kt library works offline? I mean with offline-online data synchronisation (like the Firebase firestore library does)
c
I don't believe it has offline persistence out of the box, that I'm aware of. But I'd highly recommend Store. It's nicely abstracted allowing you to use any storage implementation of your choice!
👍 1
j
Yea there is no official approach, see https://github.com/supabase-community/supabase-kt/issues/760.
👍 1
m
Well, i plan to release a big something answering both 647 and 760 and beyond within the next two month. I'll post in the chat when first experimental and usable release will be available. Below a non-exhaustive list of what is coming to you: • Multiplatform (Native, JS, Wasm, Android, JVM) • Data model generation (table, views, composite-type, enums) • Full SQLite database generation mirrored from your Postgres database (with some limitations) • Automatic SQLite database migration • Full and type-safe API generation (Insert, Upsert, Update, Delete, Select) • Projection generation (select only what you need from your tables) • Built-in Disk & Memory cache • Built-in binary serialization • Type-safe filtering and sorting • Type safe RPC function call • Hybrid & Offline support • Realtime support (Select requests returns live Flow) While these features may seem interesting, they are the least interesting compared to what awaits you. Stay patient 😎 By the way, you can start documenting your Postgres database. The documentation is reflected in the generated models.
👍 1