-
Notifications
You must be signed in to change notification settings - Fork 2k
database update #201
Copy link
Copy link
Closed
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix them
Description
Activity
Metadata
Metadata
Assignees
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix them
$this->db->table('demo')->where('id', $id)->update( ['sitemap'=>'sitemap', 'site'=>'site']);SQL : UPDATE
demoSETsitemap= :sitemap,site= :sitereturn :
CodeIgniter\Database\Query Object ( [originalQueryString:protected] => UPDATEdemoSETsitemap= :sitemap,site= :site WHEREid= :id [finalQueryString:protected] => UPDATEdemoSETsitemap= 'site'map,site= 'site' WHEREid= 1Matching error: :sitemap and :site