我正在让学生在环回模型中使用此网址通过休息访问。 /api/students
休息电话会提供所有学生数据,但我只想获得学生的注册号码(regno)。就像在sql(SELECT regno
FROM students
)中一样。我应该如何过滤上述休息电话,只获得学生的注册号码。
答案 0 :(得分:1)
答案 1 :(得分:1)
?filter={"fields":"regno"}
如果您想获得多列
?filter={"fields":["regno","column2","column3",....]}