Update documentation to explain use of EXISTS in SQL queries

Added an explanatory section to the "exports.rst" doc to clarify why to use an EXISTS subquery instead of a JOIN clause in SQL queries involving many-to-* relationships. This explanation includes sample SQL queries and results to illustrate the potential issue of duplicates with JOIN and count, and how EXISTS can help avoid this issue. Also updated the ".editorconfig" file for .rst files.
This commit is contained in:
2024-03-06 12:31:35 +01:00
parent c888b5b84f
commit 09578a775c
2 changed files with 130 additions and 0 deletions

View File

@@ -23,3 +23,7 @@ max_line_length = 0
indent_size = 2
indent_style = space
[.rst]
ident_size = 3
ident_style = space