< 1 min read

RavenDB supports an “in” operator, although vaguely documented.
First, include the namespace

using Raven.Client.Linq;

Usage

var ids = new[] { "myobjects/1", "myobjects/2" };
session
  .Query()
  .Where(o => o.Id.In(ids));

Was this post helpful?