Version 0.9.5 beta - Updated the MySQL adapter in order to load complete result sets by where selection.

This commit is contained in:
Stephan Kasdorf
2020-11-06 17:34:36 +01:00
parent 935575dfb3
commit 790f79530e
3 changed files with 82 additions and 17 deletions

View File

@@ -29,6 +29,7 @@ interface IDb
* @return mixed
*/
public function loadTableAsArray();
/**
* @desc Has to select a given Rowset by the index ID of the table
* @param bool $id
@@ -61,6 +62,14 @@ interface IDb
*/
public function insertArrayIntoTable( $dataset = array() );
/**
* @desc will return a result array from the searched where field from the database
* containing the entire dataset rows
* @param array $fieldWhere
* @return mixed
*/
public function selectDatasetByFieldWhere( $fieldWhere = array() );
/**
* @desc selects a row by the fieldname and the given value, should be
* array('fieldname' => 'value')