Feature request #16879

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

Added by Andreas Neumann 9 days ago. Updated 9 days ago.

Status:Open
Priority:Normal
Assignee:Nyall Dawson
Category:Expressions
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

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.

History

#1 Updated by Andreas Neumann 9 days ago

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

#2 Updated by Nyall Dawson 9 days ago

  • Assignee set to Nyall Dawson

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

#3 Updated by Harrissou Santanna 9 days ago

related to #11680

Also available in: Atom PDF