mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 02:23:59 +02:00
MongoDB: Don't store unset values
This commit is contained in:
@@ -10,6 +10,14 @@
|
||||
$this->_conn = $connection;
|
||||
}
|
||||
|
||||
/** Quote a SQL string or null value
|
||||
* @param string
|
||||
* @return string
|
||||
*/
|
||||
function quote($value) {
|
||||
return ($value === null ? "NULL" : $this->_conn->quote($value));
|
||||
}
|
||||
|
||||
/** Select data from table
|
||||
* @param string
|
||||
* @param array result of $adminer->selectColumnsProcess()[0]
|
||||
|
Reference in New Issue
Block a user