Replies: 1 comment
-
Nevermind, I was trying to count the different states on the model and I realized it's not done like this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
was wondering if anyone has an idea of how to count models according to state.
That is, using:
I want to have some statistics and currently a few thousand models are being instantiated when I think it's really not necessary.
If there were a relation defined, I could use the mentioned code.
Any clues?
Beta Was this translation helpful? Give feedback.
All reactions