Ember 使用多个参数查询 api

Ember query api with multiple parameters

我想知道是否可以一次查询多个参数的API。

我知道我们可以做到

this.store.find("assetType",{category:"ancillary"});

这将查询 http://l5.dev/api/assetTypes?category=ancillary

但是我想做的是查询 http://l5.dev/api/assetTypes?category=ancillary&channel=print

是否可以一次性在 Ember 中完成此操作。还是我必须对第一个查询的结果进行筛选?

你为什么不试试这样的东西:

this.store.find("search",{category:"user", limit : 10});

这将生成类似

的 GET 请求
/search?category=user&limit=10