diff options
Diffstat (limited to 'zettelkast/Notes/060620241559 - Adjacency Lists.md')
-rw-r--r-- | zettelkast/Notes/060620241559 - Adjacency Lists.md | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zettelkast/Notes/060620241559 - Adjacency Lists.md b/zettelkast/Notes/060620241559 - Adjacency Lists.md deleted file mode 100644 index c2e9003..0000000 --- a/zettelkast/Notes/060620241559 - Adjacency Lists.md +++ /dev/null @@ -1,3 +0,0 @@ -Adjacency list is a self-referential relationship. In SQLAlchemy we can achieve this by creating a ForeignKey on the table to itself. In the mapper we can add a relationship property and specify remote_side=[table.c.id]. - -This is what I used to give backups a "base" reference.
\ No newline at end of file |