Created
June 1, 2015 20:12
-
-
Save chester89/02772873848e2e54d209 to your computer and use it in GitHub Desktop.
RavenDb index involving NodaTime functionality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from epi in docs.ExchangePoints | |
select new | |
{ | |
Value = epi.FixedAt.AsZonedDateTime().ToOffsetDateTime().Resolve() | |
}; | |
from result in results | |
group result by 0 | |
into g | |
select new | |
{ | |
Value = g.Max(x => x.Value) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment