medoo update 執(zhí)行成功,但是返回值不是影響行數(shù)
我這邊配置結(jié)果返回的medoo的update結(jié)果值不是影響行數(shù)
結(jié)果給我輸出了一串奇葩的數(shù)據(jù)庫語句
結(jié)果執(zhí)行成功了但是返回值卻是這個字符串?
我這邊配置結(jié)果返回的medoo的update結(jié)果值不是影響行數(shù)
結(jié)果給我輸出了一串奇葩的數(shù)據(jù)庫語句
結(jié)果執(zhí)行成功了但是返回值卻是這個字符串?
2017-07-29
舉報
2018-01-26
需要使用rowCount來獲取條數(shù)
2017-10-31
update和delete一個德行
2017-10-31
public function delete($table, $where)
{
? $map = [];
? return $this->exec('DELETE FROM ' . $this->tableQuote($table) . $this->whereClause($where, $map), $map);
}
這是medoo的源碼,就是這個意思吧
2017-07-30
結(jié)果我就變成這樣了 不是說好的直接返回影響條數(shù)么,這把我自己蒙進(jìn)去了