LiteDB icon indicating copy to clipboard operation
LiteDB copied to clipboard

[QUESTION] list indexes on a collection

Open OneCyrus opened this issue 2 years ago • 0 comments

how can I query the current indexes on a collection with v5? It looks like the function was removed and I couldn't find a replacement. Is this really missing in v5?

v4 had the following in the LiteCollection method:

        /// <summary>
        /// Returns all indexes information
        /// </summary>
        public IEnumerable<IndexInfo> GetIndexes()
        {
            return _engine.Value.GetIndexes(_name);
        }

OneCyrus avatar Jul 21 '23 14:07 OneCyrus