MCPcopy Index your code
hub / github.com/techfort/LokiJS / createDatabaseIndexed

Function createDatabaseIndexed

benchmark/benchmark_binary.js:51–58  ·  view source on GitHub ↗
(adaptive)

Source from the content-addressed store, hash-verified

49}
50
51function createDatabaseIndexed(adaptive) {
52 db = new loki('binary index perf');
53
54 samplecoll = db.addCollection('samplecoll', {
55 adaptiveBinaryIndices: (adaptive === true),
56 indices: ['customId']
57 });
58}
59
60// scenario for many individual, consecutive inserts
61function initializeDatabase(silent, docCount) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected