﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Alex,
  
Yes, you can only query by PK
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment11</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment11</guid><pubDate>Fri, 15 Oct 2010 01:20:37 GMT</pubDate></item><item><title>Alex Popescu commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Is it enforced to be get by key? (basically I'm wondering if someone would actually be able to shhot himself in the foot with this feature, by emiting non key subqueries) 
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment10</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment10</guid><pubDate>Fri, 15 Oct 2010 01:13:52 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Alex,
  
Yes &amp; No.
  
What this actually generate is a load by ID, which is about as fast as you can get it.
  
As I mentioned, this is basically a nested loop join
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment9</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment9</guid><pubDate>Fri, 15 Oct 2010 01:04:00 GMT</pubDate></item><item><title>Alex Popescu commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>I might be misreading this, but isn't this generating an 1+N query? While the good part is that it happens server side, so you avoid network roundtrips, it will still generate N additional reads. 
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment8</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment8</guid><pubDate>Thu, 14 Oct 2010 22:20:15 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>For indexes, yes.
  
Because the naming conventions turns them into: "Users/ByAlias"
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment7</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment7</guid><pubDate>Thu, 14 Oct 2010 11:30:48 GMT</pubDate></item><item><title>json commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Ayende: just a question about classes naming. Users_ByAlias: do you recommend naming classes with an underscore?
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment6</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment6</guid><pubDate>Thu, 14 Oct 2010 11:27:44 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Derek,
  
The TransformResults function is called when you query the index, it is not persisted.
  
And the fact that you can do that is simply because the anon type &amp; the UserAndAlias has the shape shape
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment5</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment5</guid><pubDate>Thu, 14 Oct 2010 10:13:51 GMT</pubDate></item><item><title>Derek Fowler commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Nice.
  
  
How do you end up with the UserAndAlias type at the end when your transform's just creating an anonymous type?
  
  
Is the index persisted and maintained or just created for this one query and, if it is persisted, what happens when you update the code for the index creation task?
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment4</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment4</guid><pubDate>Thu, 14 Oct 2010 09:23:05 GMT</pubDate></item><item><title>json commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>wow, that is a really useful feature! Ayende: respect;)
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment3</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment3</guid><pubDate>Thu, 14 Oct 2010 09:18:03 GMT</pubDate></item><item><title>Rob Ashton commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>This is one of my favourite new things ever :D :D (Okay, I'm still a little excited too!!)
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment2</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment2</guid><pubDate>Thu, 14 Oct 2010 09:06:54 GMT</pubDate></item><item><title>tobi commented on RavenDB – Live projections, or how to do joins in a non relational database</title><description>Very useful. This can probably be materialized as well.
</description><link>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment1</link><guid>http://ayende.com/4661/ravendb-live-projections-or-how-to-do-joins-in-a-non-relational-database#comment1</guid><pubDate>Thu, 14 Oct 2010 09:06:46 GMT</pubDate></item></channel></rss>