更新时间:2023-02-07 18:57:24
在 Java 中,我会使用以下内容:
In Java I would have used the following:
Statement stmt = connection.createStatement();
int rowsAffected = stmt.executeUpdate("UPDATE ...");
在 PHP 中,我相信 pg_affected_rows
是办法.在您的特定情况下 $this->db->affected_rows()
In PHP I believe pg_affected_rows
is the way. And in your particular case $this->db->affected_rows()