Updated on 2023-10-23 GMT+08:00

type Result

The following table describes type Result.

Method

Description

Return Value

(res Result)RowsAffected()

Returns the number of rows affected by the INSERT, DELETE, UPDATE, SELECT, MOVE, FETCH, and COPY operations.

int64 and error