Update database operations and form capabilities
Database operations have been redefined and additional functionality has been added for handling database queries. Functions for updating rows by ID and inserting array into table have been updated for better reliability. In addition, new form attributes for managing decimal steps have been added to enhance data input capabilities. Refactoring and security improvements have also been addressed in the PDO class.
This commit is contained in:
@@ -9,6 +9,14 @@ namespace Nibiru\Adapter;
|
||||
|
||||
interface IDb
|
||||
{
|
||||
/**
|
||||
* @desc will update the a row with the $rowset parameter by the given id
|
||||
* @param array $rowData
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function updateRowById( array $rowData, int $id );
|
||||
|
||||
/**
|
||||
* @desc updates a row by a given field and field where search value
|
||||
* @param false $wherefield
|
||||
|
||||
Reference in New Issue
Block a user