moonlifedb
Version:
A JSON database with a bunch of tools and typescript support.
20 lines (19 loc) • 649 B
TypeScript
export declare class ShardCollection {
name: string;
indexing: boolean;
shardCount: 'auto' | number;
/**
* NOT SUPPORTED YET
*
* ShardCollection to create multiple tables connected in one.
* @param options
* @param name
* @param indexing used to create truth table, where for every shard is stated a key. Remember that key is still unique.
* @param shardCount means how many shards you want to have. Recomended to use "auto" parameter
*/
constructor(options: {
name: string;
indexing?: boolean | undefined;
shardCount: 'auto' | number;
});
}