Nevermind. I just noticed that it's doc.Now, not DateTime.Now. I'm just trying to figure out what the point is here. I'm assuming the "beautiful" is sarcastic.
The cool part is the Func in the linq statement. Not something supported out of the box. This is already doable with the current implementation of Raven. It currently is hard because the team creates the instance of RavenQueryProvider inside the DocumentSession and just because the name says provider doesn't mean you can switch it out. (bad arggg!!!) You also have to be willing to muck with the MemberExpression.
Comments
Is... this... the beginnings of support for Mono? :D
Philip, Not really, something else entirely, actually.
Bugger, I saw 'Mono' in the first line and got all excited. :)
Something about loading in a sequence of text that says "die now" ?
Every time it indexes the document, the result will be different, because Now is different. Would this be a problem?
Nevermind. I just noticed that it's
doc.Now, notDateTime.Now. I'm just trying to figure out what the point is here. I'm assuming the "beautiful" is sarcastic.The cool part is the Func in the linq statement. Not something supported out of the box. This is already doable with the current implementation of Raven. It currently is hard because the team creates the instance of RavenQueryProvider inside the DocumentSession and just because the name says provider doesn't mean you can switch it out. (bad arggg!!!) You also have to be willing to muck with the MemberExpression.