MCPcopy Create free account
hub / github.com/araddon/qlbridge / Field

Struct Field

schema/schema.go:119–124  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected