diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-01-13 13:16:06 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-01-13 13:16:06 +0100 |
commit | 9232b8d817d4cd4122947375156fa2fa1e9fba14 (patch) | |
tree | e4feb77f2e508f008b78f722e91488bb9a3f3806 /zettelkast/Notes/060620241559 - Adjacency Lists.md | |
parent | ed0753ad224f0c65133bd7a63180257eecd9f5e3 (diff) |
vault backup: 2025-01-13 13:16:06
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 |