Are cyclic references supported? #232
Unanswered
andrew222651
asked this question in
Q&A
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.
-
When table A has a foreign key to table B and table B has a foreign key to table A, sqlacodegen gives a warning at this line:
SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "tablea, tableb", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.
. Does this warning mean something won't work or can I ignore it?Beta Was this translation helpful? Give feedback.
All reactions