qgis/QGIS-Documentation

Port 'Execute SQL' algorithm and widget wrapper to c++ (Request in QGIS)

開放

#11,170 建立於 2026年8月5日

 (1 則留言) (0 個反應) (0 位負責人)Python (1,037 個分叉)auto 404
4.4Processing Alggood first issue

倉庫指標

星標
 (607 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Request for documentation

From pull request qgis/QGIS#66935 Author: @nyalldawson QGIS version: 4.4

**Port 'Execute SQL' algorithm and widget wrapper to c++ **

PR Description:

Description

The c++ algorithm is close to a direct port of the Python one, with the addition of improved help strings and per-parameter help, and some extra feedback (showing the actual SQL to be run).

The widget wrapper is considerably simplified from the Python version. The python version was needlessly complex, as a result of API introduced in the original PR which duplicated existing generic functionality from the modeler API. I've removed that, and deprecated the duplicate API.

There's also new tests for the widget wrapper (none were present before), and a new test for the algorithm itself.

AI tool usage

  • AI tool(s): Gemini was used to do the initial algorithm port + write the new help strings, revised by hand by myself.

Commits tagged with [need-docs] or [FEATURE]

貢獻者指南