Next prepares the next row for reading. It returns true if there is another row and false if no more rows are available or a fatal error has occurred. It automatically closes rows upon returning false (whether due to all rows having been read or due to an error). Callers should check rows.Err() aft
()
| 50 | // |
| 51 | // For simpler error handling, consider using the higher-level pgx v5 [CollectRows()] and [ForEachRow()] helpers instead. |
| 52 | Next() bool |
| 53 | |
| 54 | // Scan reads the values from the current row into dest values positionally. dest can include pointers to core types, |
| 55 | // values implementing the Scanner interface, and nil. nil will skip the value entirely. It is an error to call Scan |
no outgoing calls