*/
function drop_tables($tables) {
global $connection;
- $result = true;
- foreach ($tables as $table) { // convert to bulk api
- $result = $result && $connection->query(urlencode($table), array(), 'DELETE');
+ $return = true;
+ foreach ($tables as $table) { //! convert to bulk api
+ $return = $return && $connection->query(urlencode($table), array(), 'DELETE');
}
- return $result;
+ return $return;
}
$jush = "elastic";
Fix compiled version of Elasticsearch
Don't use type=number if a SQL function is used
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):
Driver for SimpleDB, MongoDB and Elasticsearch