findAll hetherogeneous records. Possible?


Hi everybody!

I am facing this kind of situation:

I have several models to describe several different record types. Let’s make a simple, code-less example: the table model which holds data to describe a table (height, dimensions…) the pot model which holds data to describe a pot (volume, material…) Then in my routes I could make something like this.get('store').findAll('pot') and get all the pots and so on. Imagine now that I would like to request to the server (which of course must support this possibility) to give me all records regarding “kitchen” objects and get all the tables and pots in one time.

How should I implement this?