Function affectedRows

Synopsis

#include <orm_lib/inc/drogon/orm/Result.h>

SizeType affectedRows() const noexcept

Description

If command was INSERT, UPDATE, or DELETE: number of affected rows

Return
Number of affected rows if last command was INSERT, UPDATE, or DELETE; zero for all other commands.

Mentioned in

Source

Line 116 in orm_lib/inc/drogon/orm/Result.h.






Add Discussion as Guest

Log in to DocsForge