Skip to content

database update  #201

Description

@dayrui

$this->db->table('demo')->where('id', $id)->update( ['sitemap'=>'sitemap', 'site'=>'site']);

SQL : UPDATE demo SET sitemap = :sitemap, site = :site

return :

CodeIgniter\Database\Query Object ( [originalQueryString:protected] => UPDATEdemoSETsitemap= :sitemap,site= :site WHEREid= :id [finalQueryString:protected] => UPDATEdemoSETsitemap= 'site'map,site= 'site' WHEREid= 1

Matching error: :sitemap and :site

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugVerified issues on the current code behavior or pull requests that will fix them

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions