diff --git a/content/posts/2018-09.md b/content/posts/2018-09.md index 82ab3f30f..b13f8ff68 100644 --- a/content/posts/2018-09.md +++ b/content/posts/2018-09.md @@ -430,5 +430,8 @@ sqlite> INSERT INTO items(id, views) VALUES(0, 7) ON CONFLICT(id) DO UPDATE SET - This totally works! - Note the special `excluded.views` form! See [SQLite's lang_UPSERT documentation](https://www.sqlite.org/lang_UPSERT.html) +- Oh nice, I finally finished the Falcon API route to page through all the results using SQLite's amazing `LIMIT` and `OFFSET` support +- But when I deployed it on my Ubuntu 16.04 environment I realized Ubuntu's SQLite is old and doesn't support `UPSERT`, so my indexing doesn't work... +- Apparently `UPSERT` came in SQLite 3.24.0 (2018-06-04), and Ubuntu 16.04 has 3.11.0 diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index a3a9eb283..c3e68e7be 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -18,7 +18,7 @@ I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I " /> - +
excluded.views
form! See SQLite’s lang_UPSERT documentationLIMIT
and OFFSET
supportUPSERT
, so my indexing doesn’t work…UPSERT
came in SQLite 3.24.0 (2018-06-04), and Ubuntu 16.04 has 3.11.0