Row is a convenience wrapper over [Rows] that is returned by [Conn.QueryRow]. Row is an interface instead of a struct to allow tests to mock QueryRow. However, adding a method to an interface is technically a breaking change. Because of this the Row interface is partially excluded from semantic ver
| 77 | // the Row interface is partially excluded from semantic version requirements. |
| 78 | // Methods will not be removed or changed, but new methods may be added. |
| 79 | type Row interface { |
| 80 | // Scan works the same as Rows. with the following exceptions. If no |
| 81 | // rows were found it returns ErrNoRows. If multiple rows are returned it |
| 82 | // ignores all but the first. |
| 83 | Scan(dest ...any) error |
| 84 | } |
| 85 | |
| 86 | // RowScanner scans an entire row at a time into the RowScanner. |
| 87 | type RowScanner interface { |
no outgoing calls
no test coverage detected