Updated on 2024-05-07 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