MCPcopy
hub / github.com/jackc/pgx / Next

Method Next

rows.go:52–52  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Implementers 3

baseRowsrows.go
errRowspgxpool/rows.go
poolRowspgxpool/rows.go

Calls

no outgoing calls