search

Home  >  Q&A  >  body text

Return value of transaction commit?

Db::commit()

You can use if (Db::commit()) {

Operations that occur only if the MySQL operation is successful

}

不屑一顾不屑一顾2393 days ago739

reply all(0)I'll reply

No reply
  • Cancelreply