Wednesday, October 18, 2017

Complex Linq Queries in RavenDB 4.0

DZone Database Zone
Complex Linq Queries in RavenDB 4.0
Complex Linq Queries in RavenDB 4.0

With RQL in RavenDB 4.0, we have a whole new set of capabilities during queries. In the RC1 release of RavenDB, we had limited support for expressing the more complex queries in a strongly typed fashion using Linq. If you needed more complex queries, you had to drop to RQL strings. With the RC2 release, we bring you strongly typed and quite powerful queries using Linq. Let's see how this looks for a very simple query:

This isn’t really interesting, but it does show that we can do projections directly from the server side. Let's see something a bit more complex, shall we?

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...