Field Describes the column info, name, data type, defaults, index, null - dialects (mysql, mongo, cassandra) have their own descriptors for these, so this is generic meant to be converted to Frontend at runtime
| 117 | // - dialects (mysql, mongo, cassandra) have their own descriptors for these, |
| 118 | // so this is generic meant to be converted to Frontend at runtime |
| 119 | Field struct { |
| 120 | idx uint64 // Positional index in array of fields |
| 121 | row []driver.Value // memoized values of this fields descriptors for describe |
| 122 | FieldPb |
| 123 | Context map[string]interface{} // During schema discovery of underlying source, may need to store additional info |
| 124 | } |
| 125 | // FieldData is the byte value of a "Described" field ready to write to the wire so we don't have |
| 126 | // to continually re-serialize it. |
| 127 | FieldData []byte |
nothing calls this directly
no outgoing calls
no test coverage detected