zoukankan      html  css  js  c++  java
  • Rest访问获取其他表内的数据

    http://valexsu/sites/xoec/wf/_api/web/lists/GetByTitle('IBDManagement%20List')/Items?$select=Field_OTIS_ProcessNo,Field_OTIS_OrderNo,Created,Author/Title&$expand=Author&$filter=Field_OTIS_OrderNo%20eq%20%27asdfsa%27

    参考:http://msdn.microsoft.com/zh-cn/magazine/dn198245.aspx

    读数据是想要读一个用户名出来,结果只读出来一个字段加ID,虽然不清楚这是怎么来的。但是用上面的句子查出来了。我要选取的名字是Author表中的title字段。其他都是我自己表中查出的字段,Author/Title&$expand=Author表示我从Author表中去拿。expand=Author表示外联Author表

  • 相关阅读:
    数据库操作
    jquery 第一章
    算法很美 第一章
    python 学习第四天
    python学习第三天
    python学习第二天
    学习python的第一天
    C#-线程
    C#-流、存储
    C#-集合
  • 原文地址:https://www.cnblogs.com/Q-lucia/p/4065499.html
Copyright © 2011-2022 走看看