Skip to content

docs(data): query-mechanism decision guide + Spring-Data parity matrix (v26.06.74)#101

Merged
ancongui merged 1 commit into
mainfrom
docs/data-query-guide
Jun 7, 2026
Merged

docs(data): query-mechanism decision guide + Spring-Data parity matrix (v26.06.74)#101
ancongui merged 1 commit into
mainfrom
docs/data-query-guide

Conversation

@ancongui
Copy link
Copy Markdown
Contributor

@ancongui ancongui commented Jun 7, 2026

A Spring-Data parity audit confirmed PyFly already implements CrudRepository/PagingRepository, Pageable/Sort/Page, derived queries, @query, Specifications, and Query-by-Example for BOTH relational and document (all behavior-tested). The docs taught how thoroughly but had almost no when/limits guidance — fixed here.

docs/modules/data.md gains:

  • Choosing a Query Mechanism — decision table: derived methods vs @query vs Specifications vs QBE (+ when not to use each), and how Pageable/Sort layer on.
  • Spring Data Parity & Current Limitations — relational-vs-document capability matrix (soft-delete / optimistic locking / auditing / transactions differ by backend) + an explicit list of Spring features not yet implemented (@Modifying, Slice, DTO/open projections, StartingWith/IgnoreCase/Top<N> derived keywords) so the docs set honest expectations.

The companion plugin's implement-data-repository skill gets the same decision table + matrix + limitations. Every cited symbol/operator verified against source; docs don't claim any unsupported feature. Docs-only change.

…ations matrix + bump v26.06.74

After a full Spring-Data parity audit (CrudRepository/Pageable/derived queries/@query/Specifications/
QBE all present + behavior-tested on relational AND document), added two teaching sections to
docs/modules/data.md: 'Choosing a Query Mechanism' (derived vs @query vs Specification vs QBE — when
each + when not) and 'Spring Data Parity & Current Limitations' (relational-vs-document capability
matrix + explicit list of NOT-yet-implemented Spring features so the docs don't imply false parity).
All cited symbols/operators verified against source. Companion plugin skill updated identically
(separate repo).
@ancongui ancongui merged commit 0f1d0f3 into main Jun 7, 2026
5 checks passed
@ancongui ancongui deleted the docs/data-query-guide branch June 7, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant