0

有没有办法使用单个查询来查询多个“模型”?类似于使用 _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
                }
                });
4

1 回答 1

0

RUI SDK 目前不支持此功能,但希望将来会支持。

于 2013-01-19T16:28:48.813 回答