I'd like to be able to model a polymorphic relationship with pony, by specifying a object_id (the id of a record) and object_type (name of the table or python class), but I couldn't find anything in the docs to support this
Several searches for something like this in the docs came up empty (ex: https://duckduckgo.com/?q=poly+site%3A+https%3A%2F%2Fdocs.ponyorm.org) , I was wondering if this is something that's possible or if I'm missing something (also checked github for other questions and didn't see anything)
I'd like to be able to model a polymorphic relationship with pony, by specifying a
object_id
(the id of a record) andobject_type
(name of the table or python class), but I couldn't find anything in the docs to support thissimilarly to how rails does it: https://guides.rubyonrails.org/association_basics.html#polymorphic-associations
Several searches for something like this in the docs came up empty (ex: https://duckduckgo.com/?q=poly+site%3A+https%3A%2F%2Fdocs.ponyorm.org) , I was wondering if this is something that's possible or if I'm missing something (also checked github for other questions and didn't see anything)