orm relation database connection support
zacksleo opened this issue · comments
zacks commented
It's seems that relation does not support cross database connection.
when I use @belongs_to which model usded another database connection, I got exception like ""Table 'member' doesn't exist""
@belongs_to
def member(self):
return Member
class Member(Model):
__connection__ = 'another_database'