您能否建议如何从 find 方法中获取选择字段?
例如
let params = {
limit,
offset,
query: request
};
this.adapter.find(params)
在这里,这将返回所有字段,但我只需要结果集中的 account_id 而不是这个。我已经尝试过使用 params 中的字段以及 settings{ fields: ["accout_id", "username"]} 但不起作用。
例如
fields: ["account_id"]
请指导我。谢谢