Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IDZero = types.UUID{}
IDZero is descriptor ID 00000000-0000-0000-0000-000000000000 https://www.edgedb.com/docs/internals/protocol/typedesc#type-descriptors
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
Descriptor is a type descriptor https://www.edgedb.com/docs/internals/protocol/typedesc
func Pop ¶
func Pop(r *buff.Reader, version internal.ProtocolVersion) Descriptor
Pop builds a descriptor tree from a describe statement type description.
type Field ¶
type Field struct {
Name string
Desc Descriptor
Required bool
}
Field represents the child of a descriptor
type Type ¶
type Type uint8
Type represents a descriptor type.
const ( // Set represents the set descriptor type. Set Type = iota // Object represents the object descriptor type. Object // BaseScalar represents the base scalar descriptor type. BaseScalar // Scalar represents the scalar descriptor type. Scalar // Tuple represents the tuple descriptor type. Tuple // NamedTuple represents the named tuple descriptor type. NamedTuple // Array represents the array descriptor type. Array // Enum represents the enum descriptor type. Enum )
Click to show internal directories.
Click to hide internal directories.