MongoDB is schemaless

This commit is contained in:
Jakub Vrana 2014-01-08 23:52:21 -08:00
parent 4f7e5f25a0
commit 1c0c335d38

View file

@ -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";