有没有办法使用单个查询来查询多个“模型”?类似于使用 _Type 的回溯查询:{'$in': ['HierarchicalRequirement','Defect']}
Ext.create('Rally.data.WsapiDataStore', {
model: ['UserStory','Defect'], //this does NOT work
context: context,
autoLoad: true,
filters: newFilter,
fetch: 'Name,FormattedID,AcceptedDate,ScheduleState,PlanEstimate,KanbanState',
sorters: [
{
property: 'AcceptedDate',
direction: 'ASC'
}
],
listeners: {
load: this._onDataLoaded,
scope: this
}
});