<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : More querying questions!</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : More querying questions!</description>
  <pubDate>Fri, 10 Apr 2026 20:19:57 -700</pubDate>
  <lastBuildDate>Mon, 29 Oct 2012 14:27:56 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3747</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>More querying questions! : That&amp;#039;s correct,I think the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14997#14997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1554" rel="nofollow">Orizz</a><br /><strong>Subject:</strong> 3747<br /><strong>Posted:</strong> 29-Oct-2012 at 2:27pm<br /><br />That's correct,&nbsp;<div><br></div><div>I think the subqueries in projections would be a great addition for Breeze, I've come up a few situations where this would have aided the solution gracefully, I understand it's about prioritising features and producing this functionality in the right way though - so look forward to it!</div><div><br></div><div>Many thanks</div>]]>
   </description>
   <pubDate>Mon, 29 Oct 2012 14:27:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14997#14997</guid>
  </item> 
  <item>
   <title>More querying questions! : Ok, I think I understand. Do you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14995#14995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1524" rel="nofollow">jtraband</a><br /><strong>Subject:</strong> 3747<br /><strong>Posted:</strong> 29-Oct-2012 at 2:18pm<br /><br />Ok, I think I understand.&nbsp; Do you mean that the problem is that this query<br>&nbsp;&nbsp; from("Orders").where("Completed", "eq", true).expand("Customer");<br>does not return any "customer" entities when there are no "completed" orders? and presumably you want these customers as well. <br><br>If so, then I agree the only current approach is to perform the two queries.<br>&nbsp;&nbsp; from("Customers")<br>followed by<br>&nbsp;&nbsp; from("Orders").where("Completed", "eq", true);<br><br>The second query will automatically link the "orders" returned with the appropriate customers.<br><br>We have discussed, <b>meaning this does not yet work</b>, expressing this with a subquery within a projection query that might look something like this:<br>&nbsp; from("Customers").select('this, orders.where("Completed", "eq", true)'<br>but we do not yet support subqueries in projections. <br><br>]]>
   </description>
   <pubDate>Mon, 29 Oct 2012 14:18:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14995#14995</guid>
  </item> 
  <item>
   <title>More querying questions! : If it is not possible, is there...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14990#14990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1554" rel="nofollow">Orizz</a><br /><strong>Subject:</strong> 3747<br /><strong>Posted:</strong> 29-Oct-2012 at 9:46am<br /><br />If it is not possible, is there a recommended workaround?<div><br></div><div>If I select completed orders and expand customers (so the inverse) The json is parsed in such a way that it doesn't really increase the payload too much (using $ref), but obviously if there are no completed orders, the customer can't be returned!</div><div><br></div><div>The only way I can see around it is to do 2 calls to the web api, one to get the customer object and one to get the completed orders for that customer, I guess this all relates to sub queries in some way</div><div><br></div><div>Anyway a recommended workaround solution would be a great help!</div><div><br></div><div>Thanks</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 29 Oct 2012 09:46:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14990#14990</guid>
  </item> 
  <item>
   <title>More querying questions! : Hi there,Is the following possible?I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14988#14988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1554" rel="nofollow">Orizz</a><br /><strong>Subject:</strong> 3747<br /><strong>Posted:</strong> 29-Oct-2012 at 5:59am<br /><br />Hi there,<div><br></div><div>Is the following possible?</div><div><br></div><div>I have a <b>Customer</b> object which is queried and includes an <b>expand </b>to get all the orders too.&nbsp;</div><div><br></div><div>.from("Customer").expand("Orders");</div><div><br></div><div>I want to be able to only bring back orders which has been completed.&nbsp;</div><div><br></div><div>So select the top level customer expand the orders so I get an Customer object with a List of orders and finally a list of orders which have been completed.</div><div><br></div><div>How do I get to the Completed property of the navigation object?</div><div><br></div><div>Many thanks!</div>]]>
   </description>
   <pubDate>Mon, 29 Oct 2012 05:59:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3747&amp;PID=14988#14988</guid>
  </item> 
 </channel>
</rss>