'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * used to define specific attributes of a dbi.
 * dupSort for allowing duplicate keys, or not
 * intKey defines if the key entries are integers or not
 */
class DBIDefinition {
    dup_sort;
    isPrimaryKey;
    useVersions;
    /**
     * @param {Boolean} dupSort - allow duplicate keys, or not
     * @param {Boolean} isPrimaryKey - defines if this is the primary key
     */
    constructor(dupSort = false, isPrimaryKey = false) {
        this.dup_sort = dupSort;
        this.isPrimaryKey = isPrimaryKey;
        this.useVersions = isPrimaryKey;
    }
}
exports.default = DBIDefinition;
//# sourceMappingURL=DBIDefinition.js.map