You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @perak ,
I have a simple question. In the example-invoices how do transform and show customer name in rather than id the DataView??
I talk about this page.
I read json file a lot but I don't understand.
You have this two field in collection definition but how to fill customer.name:
join_collection - from which (foreign) collection we want to join data into this collection? join_fields: - which fields we want to fetch from foreign collection? join_container: - field name in which data will be fetched from foreign collection, in this case customer - you can name it as you wish.
Now, result from this is that Invoices.find/findOne will return something like this:
Thanks @perak ,
I try to add this feature to my project and after some try find this small bug:
when you enable collection2 support project not compile and crashed with this error message: Unexpected token
and after remove "use_collection2": true, all things worked well.
If need I can post it as new issue in kitchen-website repository.
Hi @perak ,
I have a simple question. In the example-invoices how do transform and show customer name in rather than id the DataView??
I talk about this page.
I read json file a lot but I don't understand.
You have this two field in collection definition but how to fill customer.name:
The text was updated successfully, but these errors were encountered: