Skip to content
gklp edited this page Aug 9, 2014 · 1 revision

update($criteria)

PHP:

$members = new members();   
$criteria = new Criteria($members);
$criteria->where("id", 21);

//changing model
$members->name = "Test update!"; 
//let's update
$dbservice->update($criteria);
Clone this wiki locally