这个方式还不会,等待最后研究
例如:
$data['update_time'] = time();
$condition = array();
$condition['id'] = 1;
$condition['deleted'] = 0;
$preQuery = PreSQL::preQuery($condition);
$preExcute = PreSQL::preExcute($data);
$res = M('News')->where($preQuery->data, $preQuery->bind)->bind($preExcute->bind)->save($preExcute->data);