From 143ba793946f2c59b6b48c93d4c32ba75cdc8a1b Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Fri, 13 Jan 2017 12:43:10 -0800 Subject: [PATCH] Add DB schema image. --- Querying.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Querying.md b/Querying.md index 04dc692..e8f2b94 100644 --- a/Querying.md +++ b/Querying.md @@ -30,8 +30,7 @@ Naturally these constraints are tied to the store's schema at the time of query ## Query translation This is a good time to briefly cover how data is stored in SQLite. -PICTURE GOES HERE - +![DB schema diagram](https://cloud.githubusercontent.com/assets/91722/21944987/bd7b95dc-d98d-11e6-90e9-613da1be04db.jpeg) There are at present two tables that store the current set of datoms: `datoms` and `fulltext_datoms`. `fulltext_datoms` refers to strings stored in the `fulltext_values` table; a view called `all_datoms` merges these two datom tables together.