Skip to content

Commit 77594cb

Browse files
authored
Update README.md
1 parent 0bd9a9d commit 77594cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ At the same time, SQLite provides several tools which help compensate for the me
66

77
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.
88

9+
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.
910

1011
<!-- References -->
1112

@@ -16,4 +17,5 @@ CTEs provide a powerful means for structuring complex queries into simple reusab
1617
[RCTEs]: https://sqlite.org/lang_with.html#recursive_common_table_expressions
1718
[JSON]: https://sqlite.org/json1.html
1819
[Parameterized queries]: https://sqlite.org/lang_expr.html#varparam
19-
[fWin]: https://sqlite.org/windowfunctions.html
20+
[fWin]: https://sqlite.org/windowfunctions.html
21+
[Zotero Data Model]:

0 commit comments

Comments
 (0)