How to use @actions in models properly? #1079
Unanswered
diganta162004
asked this question in
Q&A
Replies: 1 comment 2 replies
-
that's because |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WatermelonDB with ReactNative 0.64
I am trying to add a generate action inside the model like this:
But how will be able to call the from inside a component function?
Things i have tried so far:
and some other combinations... but in all places i was getting generateRandomData not defined.
I tried to find some help in the documentation and examples but couldn't find anything.
Beta Was this translation helpful? Give feedback.
All reactions