@orama/orama
Version:
A complete search engine and RAG pipeline in your browser, server, or edge network with support for full-text, vector, and hybrid search in less than 2kb.
11 lines • 313 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getByID = getByID;
exports.count = count;
function getByID(db, id) {
return db.documentsStore.get(db.data.docs, id);
}
function count(db) {
return db.documentsStore.count(db.data.docs);
}
//# sourceMappingURL=docs.js.map