Quantcast
Channel: Discovering referers to SQLAlchemy object - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by S.Lott for Discovering referers to SQLAlchemy object

$
0
0

In general, there's no way to "discover"all of the references in a relational database.

In some databases, they may use declarative referential integrity in the form of explicit Foreign Key or Check constraints.

But there's no requirement to do this. It can be incomplete or inconsistent.

Any query can include a FK relationship that is not declared. Without the universe of all queries, you can't know the relationships which are used but not declared.

To find "referers" in general, you must actually know the database design and have all queries.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>