Returns value of joined table field.
Basic usage:
{{ record.advancedjoin }}
Usage with parameters:
{{ record.advancedjoin(Function, Join With Table, Find What Field, Where to Look Field, Value Field, Filter) }}
Parameters:
Function
(optional) – What to do with returned value(s)Join With Table
(optional) – Table Name to join with (Where to look)Find What Field
(optional) – The field of the current table. use ‘_id’ to the find current table record id.Where to Look Field
(optional) – Field of a joined tableValue Field
(optional) – Value of joined table field.Filter
(optional) – Optional filter, ie. fieldname=some value.
Example:
{{ record.advancedjoin("count","sales","_id","productid","_id") }}
Leave a Reply
You must be logged in to post a comment.