package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev
# Functions
CopyFacets makes a copy of facets of the posting which are requested in param.Keys.
FacetFor returns Facet for given key and val.
SortAndValidate sorts And validates the facets.
ToBinary converts the given value into a binary value.
TypeIDFor gives TypeID for facet.
ValFor converts Facet into types.Val.
ValTypeForTypeID gives api.Facet_ValType for given TypeID.
# Constants
BoolID represents the boolean type.
DateTimeID represents the datetime type.
FloatID represents the floating-point number type.
IntID represents the integer type.
StringID represents the string type.
# Type aliases
TypeID represents the type of a facet.