mirror of https://gitee.com/bigwinds/arangodb
It is now also possible to add non sharded collections (which means adding a sharded one with only one key
This commit is contained in:
parent
4d9c8ff9d9
commit
22858b1ac1
|
@ -84,7 +84,8 @@
|
|||
shards = parseInt(shards);
|
||||
}
|
||||
shardBy = _.pluck($('#new-collection-shardBy').select2("data"), "text");
|
||||
if (shardBy === []) {
|
||||
console.log(shardBy);
|
||||
if (shardBy.length === 0) {
|
||||
shardBy.push("_key");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue