Err returns any error that occurred while executing a query or reading its results. Err must be called after the Rows is closed (either by calling Close or by Next returning false) to check if the query was successful. If it is called before the Rows is closed it may return nil even if the query fai
()
| 33 | // Rows is closed (either by calling Close or by Next returning false) to check if the query was successful. If it is |
| 34 | // called before the Rows is closed it may return nil even if the query failed on the server. |
| 35 | Err() error |
| 36 | |
| 37 | // CommandTag returns the command tag from this query. It is only available after Rows is closed. |
| 38 | CommandTag() pgconn.CommandTag |
no outgoing calls