(dst []FieldDescription, rd *pgproto3.RowDescription)
| 920 | } |
| 921 | |
| 922 | func convertRowDescription(dst []FieldDescription, rd *pgproto3.RowDescription) { |
| 923 | for i := range rd.Fields { |
| 924 | dst[i].Name = string(rd.Fields[i].Name) |
| 925 | dst[i].TableOID = rd.Fields[i].TableOID |
| 926 | dst[i].TableAttributeNumber = rd.Fields[i].TableAttributeNumber |
| 927 | dst[i].DataTypeOID = rd.Fields[i].DataTypeOID |
| 928 | dst[i].DataTypeSize = rd.Fields[i].DataTypeSize |
| 929 | dst[i].TypeModifier = rd.Fields[i].TypeModifier |
| 930 | dst[i].Format = rd.Fields[i].Format |
| 931 | } |
| 932 | } |
| 933 | |
| 934 | type StatementDescription struct { |
| 935 | Name string |
no outgoing calls
no test coverage detected