We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe I miss a point here, but wouldn't it be nice if we could use QGIS Expressions in any datasource URI (even PostGIS)?
At the moment we can only use QGIS Expression Functions in virtual layers (i.e. SELECT * FROM mylayer WHERE name LIKE(var('filter')))
SELECT * FROM mylayer WHERE name LIKE(var('filter'))
Would it cost to much processing time to parse the datasource string every time before rendering. I'm thinking about having something like that:
SELECT * FROM mylayer WHERE name LIKE([% @filter %])
Can someone explain why this is not possible?
No response
The text was updated successfully, but these errors were encountered:
Do you mean something like https://plugins.qgis.org/plugins/qgis-subset-expression-plugin/ ?
Sorry, something went wrong.
@elpaso cool plugin, thanks! ... In principle, it does what I want to achieve, but unfortunately only with filters (which my bad example also shows).
In truth, it's about more than that:
SELECT * FROM mypgfunction([% @myid %])
@elpaso your plugin is a very good starting point... didn't know that we can implement a handler for the customVariablesChanged signal in PyQGIS.
customVariablesChanged
So, let's implement (Python) Expressions in QGIS variables! 😁😅
Sounds good, feel free to add the functionality to the qgis-subset-expression-plugin/ if you feel like to.
No branches or pull requests
Feature description
Maybe I miss a point here, but wouldn't it be nice if we could use QGIS Expressions in any datasource URI (even PostGIS)?
At the moment we can only use QGIS Expression Functions in virtual layers (i.e.
SELECT * FROM mylayer WHERE name LIKE(var('filter'))
)Would it cost to much processing time to parse the datasource string every time before rendering.
I'm thinking about having something like that:
Can someone explain why this is not possible?
Additional context
No response
The text was updated successfully, but these errors were encountered: