Skip to content
New issue

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

Expression editor: add a list of available relations and tables in the project #24778

Closed
qgib opened this issue Jul 17, 2017 · 4 comments
Closed
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request

Comments

@qgib
Copy link
Contributor

qgib commented Jul 17, 2017

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 16879

Redmine category:expressions
Assignee: Nyall Dawson


It would be good if the epxression editor could show a list of:

a) relations (group could be called "Relations")

b) other tables (group could be called "Tables")

Just like the "Fields and values" group, it would be a list of existing relations and tables.

Otherwise it is a bit complicated spelling relation names and table names correctly.

The relation_aggregate expression and the get_feature function would be much easier to use with this enhancement. I would also assume that in the future, there will be more expression functions that make use of other tables and relations.

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2017

Author Name: Andreas Neumann (@andreasneumann)


The relation names and table names should be copied with single quotes around them, to be useable in the expressions.

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2017

Author Name: Nyall Dawson (@nyalldawson)


I'll tackle this - I'd also find this very useful.


  • assigned_to_id was configured as Nyall Dawson

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2017

Author Name: Harrissou Santanna (@DelazJ)


related to #19924

@qgib
Copy link
Contributor Author

qgib commented Aug 1, 2017

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 878ee5c.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Aug 1, 2017
@qgib qgib added Feature Request Expressions Related to the QGIS expression engine or specific expression functions labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant