Automatically sync store to DB #206
-
Dear, I want to provide functionality to the pinia repositories to automatically sync store changes to the database. I created a working new method (e.g. destroySync) on a specific modelRepo that:
Question:
MANY THANKS Note: I'm using supabase client js, quasar V2, Vue V3, pinia persistance, pinia ORM_ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
For now what comes to mind is making an own And some point i will make the plugin system work and then it should be possible to define it in the |
Beta Was this translation helpful? Give feedback.
For now what comes to mind is making an own
CustomRepository
class extendingRepository
which has this methods for all your repositories.And some point i will make the plugin system work and then it should be possible to define it in the
createORM
process