From 9232b8d817d4cd4122947375156fa2fa1e9fba14 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 13 Jan 2025 13:16:06 +0100 Subject: vault backup: 2025-01-13 13:16:06 --- zettelkast/Notes/060620241559 - Adjacency Lists.md | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 zettelkast/Notes/060620241559 - Adjacency Lists.md (limited to 'zettelkast/Notes/060620241559 - Adjacency Lists.md') 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 -- cgit v1.2.3