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]

贡献者指南