Can I include a property from another model? #2460
Unanswered
TroyCoombs
asked this question in
Questions
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Can I include a property from another model?
Currently I have an 'events' model and everything works as expected. I have added a new 'bulk_retry_id' property to the 'event' model.
I've included the filter, thought for sure that would work but nope.
I just added another relationMappings key like this,
which enables to query 'events' for a 'bulk_retry_id', and that works as well.
I want to include the 'id' column from the 'bulk_retries' table in the result set. How do I do this?
I've trued using a filter , like this, but that didn't work.
I've also tried using the extra property with no luck, like this,
Both attempts do not break anything I still get results, but the bulk_retry_id property is never returned.
Beta Was this translation helpful? Give feedback.
All reactions