Ensures that only the fields that are allowed to be updated
are in the data array.

Used by insert() and update() to protect against mass assignment
vulnerabilities.

@param array $data

@return array
@throws \CodeIgniter\Database\Exceptions\DataException