custom_pivot

Add custom pivot fields to a resource’s search index (map) Result is a list of {module, props} pairs. This will update a table “pivot_<module>”. You must ensure that the table exists.

Type:
map

Return:

#custom_pivot{} properties:
  • id: m_rsc:resource_id()