From 77594cb67d6218dc8f096ad1d8bfcb01f16aea6c Mon Sep 17 00:00:00 2001 From: PChemGuy <39730837+pchemguy@users.noreply.github.com> Date: Thu, 23 May 2024 16:39:29 +0300 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 87b2e0a..c4c4139 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ At the same time, SQLite provides several tools which help compensate for the me CTEs provide a powerful means for structuring complex queries into simple reusable code blocks, simplifying the development process and readability of the code. CTEs also make it possible to conveniently interrogate any intermediate code block without the need to make changes to the CTEs section. Intermediate queries may also be replaced with mocks constructed from immediate values, making it possible to verify the functionality of different code sections and develop them independently. The JSON library extends string manipulation capabilities, while parameterized queries help encapsulate SQL code. Single row queries constructed from immediate values placed within the CTEs clause may act as surrogate variables. Later, these values can be replaced with named parameters, yielding parameterized queries. The combination of CTEs, JSON, and parameterized queries permits an even higher degree of SQL code encapsulation with a JSON-based structured SQL interface and certain input flexibility. +See also this gist ([Exploring Zotero Data Model for Direct Database Access][Zotero Data Model]), discussing the Zotero Data Model and providing sample SQL snippets for retrieving the data. @@ -16,4 +17,5 @@ CTEs provide a powerful means for structuring complex queries into simple reusab [RCTEs]: https://sqlite.org/lang_with.html#recursive_common_table_expressions [JSON]: https://sqlite.org/json1.html [Parameterized queries]: https://sqlite.org/lang_expr.html#varparam -[fWin]: https://sqlite.org/windowfunctions.html +[fWin]: https://sqlite.org/windowfunctions.html +[Zotero Data Model]: