コード例 #1
0
 /// <summary>
 /// Runs a row query against the specified Factual table.
 /// </summary>
 /// <param name="tableName">the name of the table you wish to query (e.g., "places")</param>
 /// <param name="factualId">the factual id (e.g., "03c26917-5d66-4de9-96bc-b13066173c65")</param>
 /// <param name="query">the row query to run against table.</param>
 /// <returns>the response of running query against Factual.</returns>
 public string FetchRow(string tableName, string factualId, RowQuery query)
 {
     return RawQuery(UrlForFetchRow(tableName, factualId), query.ToUrlQuery());
 }
コード例 #2
0
 /// <summary>
 /// Runs a row query against the specified Factual table.
 /// </summary>
 /// <param name="tableName">the name of the table you wish to query (e.g., "places")</param>
 /// <param name="factualId">the factual id (e.g., "03c26917-5d66-4de9-96bc-b13066173c65")</param>
 /// <param name="query">the row query to run against table.</param>
 /// <returns>the response of running query against Factual.</returns>
 public string FetchRow(string tableName, string factualId, RowQuery query)
 {
     return(RawQuery(UrlForFetchRow(tableName, factualId), query.ToUrlQuery()));
 }