github.com/jackc/pgproto3/v2.FieldDescription.DataTypeOID (field)
20 uses
github.com/jackc/pgproto3/v2 (current package)
row_description.go#L20: DataTypeOID uint32
row_description.go#L40: DataTypeOID: fd.DataTypeOID,
row_description.go#L86: fd.DataTypeOID = binary.BigEndian.Uint32(src[rp:])
row_description.go#L114: dst = pgio.AppendUint32(dst, fd.DataTypeOID)
github.com/jackc/pgx/v4
conn.go#L507: c.eqb.AppendResultFormat(c.ConnInfo().ResultFormatCodeForOID(sd.Fields[i].DataTypeOID))
conn.go#L655: resultFormats[i] = resultFormatsByOID[uint32(sd.Fields[i].DataTypeOID)]
conn.go#L661: c.eqb.AppendResultFormat(c.ConnInfo().ResultFormatCodeForOID(sd.Fields[i].DataTypeOID))
conn.go#L810: c.eqb.AppendResultFormat(c.ConnInfo().ResultFormatCodeForOID(sd.Fields[i].DataTypeOID))
copy_from.go#L181: buf, err = encodePreparedStatementArgument(ct.conn.connInfo, buf, sd.Fields[i].DataTypeOID, val)
rows.go#L212: rows.scanPlans[i] = ci.PlanScan(fieldDescriptions[i].DataTypeOID, fieldDescriptions[i].Format, dest[i])
rows.go#L221: err := rows.scanPlans[i].Scan(ci, fieldDescriptions[i].DataTypeOID, fieldDescriptions[i].Format, values[i], dst)
rows.go#L248: if dt, ok := rows.connInfo.DataTypeForOID(fd.DataTypeOID); ok {
rows.go#L340: err := connInfo.Scan(fieldDescriptions[i].DataTypeOID, fieldDescriptions[i].Format, values[i], d)
github.com/jackc/pgx/v4/stdlib
sql.go#L452: if dt, ok := r.conn.conn.ConnInfo().DataTypeForOID(r.rows.FieldDescriptions()[index].DataTypeOID); ok {
sql.go#L456: return strconv.FormatInt(int64(r.rows.FieldDescriptions()[index].DataTypeOID), 10)
sql.go#L467: switch fd.DataTypeOID {
sql.go#L482: switch fd.DataTypeOID {
sql.go#L497: switch fd.DataTypeOID {
sql.go#L534: dataTypeOID := fd.DataTypeOID
sql.go#L537: switch fd.DataTypeOID {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |