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.