Document changes

This commit is contained in:
Jakub Vrana 2014-01-09 22:28:42 -08:00
parent a8b7951a11
commit 1d52a4c1d5
2 changed files with 5 additions and 4 deletions

View file

@ -303,11 +303,11 @@ if (isset($_GET["elastic"])) {
*/ */
function drop_tables($tables) { function drop_tables($tables) {
global $connection; global $connection;
$result = true; $return = true;
foreach ($tables as $table) { // convert to bulk api foreach ($tables as $table) { //! convert to bulk api
$result = $result && $connection->query(urlencode($table), array(), 'DELETE'); $return = $return && $connection->query(urlencode($table), array(), 'DELETE');
} }
return $result; return $return;
} }
$jush = "elastic"; $jush = "elastic";

View file

@ -2,6 +2,7 @@ Adminer 4.0.1-dev:
Fix compiled version of Elasticsearch Fix compiled version of Elasticsearch
Don't use type=number if a SQL function is used Don't use type=number if a SQL function is used
MongoDB: Count tables, display ObjectIds, sort, limit, offset, count rows MongoDB: Count tables, display ObjectIds, sort, limit, offset, count rows
Elasticsearch: Create and drop DB, drop table
Adminer 4.0.0 (released 2014-01-08): Adminer 4.0.0 (released 2014-01-08):
Driver for SimpleDB, MongoDB and Elasticsearch Driver for SimpleDB, MongoDB and Elasticsearch