mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-08 05:11:51 +00:00
FS-2962
This commit is contained in:
@@ -384,3 +384,11 @@ bool Dbh::query(char *sql, SWIGLUA_FN lua_fun)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
int Dbh::affected_rows()
|
||||
{
|
||||
if (m_connected) {
|
||||
return switch_cache_db_affected_rows(dbh);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user