When you only need ids
SelectId() returns the ids without loading the nodes:
Guid[] free = db.Query<IEvent>().Where(e => e.Price == 0).SelectId().Execute().ToArray();SelectId() returns the ids without loading the nodes:
Guid[] free = db.Query<IEvent>().Where(e => e.Price == 0).SelectId().Execute().ToArray();