UNPKG

dce-mango

Version:

Harvard DCE's Non-relational DB Wrapper.

37 lines (34 loc) 667 B
// Import types import CollectionOpts from '../../src/types/CollectionOpts'; /** * The options for each test collection. * @author Benedikt Arnarsson */ const COLLECTION_OPTS: Record<string, CollectionOpts> = { test_collection: { uniqueIndexKey: 'id', indexKeys: [ 'msg', ], }, test_obj_collection: { uniqueIndexKey: 'id', indexKeys: [ 'messageMap', ], }, test_array_collection: { uniqueIndexKey: 'id', indexKeys: [ 'messages', ], }, test_coconut_collection: { uniqueIndexKey: 'id', indexKeys: [ 'msg', ], supportConcurrency: true, }, }; export default COLLECTION_OPTS;