Method Query_WrapPvtProjectionRowsAsJson(string, bool)
Wraps the projection inner SQL into a result-set of JSON rows
shaped as {"id": <_id>, "properties": { ...projected columns... }}.
The inner SQL MUST contain an _id column (the caller adds
it explicitly to the projection JSON unless DISTINCT collapses it).
When includeId is false the wrapper synthesizes
id=0 and treats every inner column as a projected property.
Returns null when native PVT projection is not supported.
public string? Query_WrapPvtProjectionRowsAsJson(string innerSql, bool includeId)