mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.36k stars 1.22k forks source link

[QUESTION] Maximum number of elements in the $in operator? #2422

Closed mirror222 closed 4 months ago

mirror222 commented 4 months ago

I've been using liteDB to store some messages, and use the following code to query message msgid by a label

var label = "test";
var exp = Query.In("MsgId", _maps.Find(Query.EQ("Label", label)).Select(x => new BsonValue(x.MsgId)).ToArray());

Will it work if _maps table returns 10K records?