mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
MongoDB is schemaless
This commit is contained in:
@@ -234,11 +234,7 @@ if (isset($_GET["mongo"])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fields($table) {
|
function fields($table) {
|
||||||
return array("_id" => array(
|
return array();
|
||||||
"field" => "_id",
|
|
||||||
"auto_increment" => true,
|
|
||||||
"privileges" => array("select" => 1, "insert" => 1, "update" => 1),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function convert_field($field) {
|
function convert_field($field) {
|
||||||
@@ -304,7 +300,7 @@ if (isset($_GET["mongo"])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function support($feature) {
|
function support($feature) {
|
||||||
return preg_match("~database|table|indexes~", $feature);
|
return preg_match("~database|indexes~", $feature);
|
||||||
}
|
}
|
||||||
|
|
||||||
$jush = "mongo";
|
$jush = "mongo";
|
||||||
|
Reference in New Issue
Block a user