Browse Source

Merge branch 'mmicore-database-fix-return-object' of iProspective/dolibarr into 16.0-mmi

Mathieu Moulin 2 years ago
parent
commit
0f992b20e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/db/Database.interface.php

+ 1 - 1
htdocs/core/db/Database.interface.php

@@ -236,7 +236,7 @@ interface Database
 	 *                            		Note that with Mysql, this parameter is not used as Myssql can already commit a transaction even if one request is in error, without using savepoints.
 	 * @param   string 	$type 			Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
 	 * @param	int		$result_mode	Result mode
-	 * @return  bool|resource			Resultset of answer or false
+	 * @return  bool|resource|object			Resultset of answer or false
 	 */
 	public function query($query, $usesavepoint = 0, $type = 'auto', $result_mode = 0);