mirror of
https://github.com/vrana/adminer.git
synced 2025-08-22 06:02:57 +02:00
MongoDB: Don't store unset values
This commit is contained in:
@@ -116,6 +116,10 @@ if (isset($_GET["mongo"])) {
|
||||
class Min_Driver extends Min_SQL {
|
||||
public $primary = "_id";
|
||||
|
||||
function quote($value) {
|
||||
return ($value === null ? $value : parent::quote($value));
|
||||
}
|
||||
|
||||
function select($table, $select, $where, $group, $order, $limit, $page, $print = false) {
|
||||
$select = ($select == array("*")
|
||||
? array()
|
||||
|
Reference in New Issue
Block a user