baseRows implements the Rows interface for Conn.Query.
| 120 | |
| 121 | // baseRows implements the Rows interface for Conn.Query. |
| 122 | type baseRows struct { |
| 123 | typeMap *pgtype.Map |
| 124 | resultReader *pgconn.ResultReader |
| 125 | |
| 126 | values [][]byte |
| 127 | |
| 128 | commandTag pgconn.CommandTag |
| 129 | err error |
| 130 | closed bool |
| 131 | |
| 132 | scanPlans []pgtype.ScanPlan |
| 133 | scanTypes []reflect.Type |
| 134 | |
| 135 | conn *Conn |
| 136 | multiResultReader *pgconn.MultiResultReader |
| 137 | |
| 138 | queryTracer QueryTracer |
| 139 | batchTracer BatchTracer |
| 140 | ctx context.Context |
| 141 | startTime time.Time |
| 142 | sql string |
| 143 | args []any |
| 144 | rowCount int |
| 145 | } |
| 146 | |
| 147 | func (rows *baseRows) FieldDescriptions() []pgconn.FieldDescription { |
| 148 | return rows.resultReader.FieldDescriptions() |
nothing calls this directly
no outgoing calls
no test coverage detected