Automatically sync store to DB #206
Answered
by
CodeDredd
unknown1337
asked this question in
Q&A
|
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_ |
Answered by
CodeDredd
Aug 17, 2022
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 |
3 replies
Answer selected by
unknown1337
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now what comes to mind is making an own
CustomRepositoryclass extendingRepositorywhich 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
createORMprocess