package
0.7.7
Repository: https://github.com/cayleygraph/cayley.git
Documentation: pkg.go.dev

# Functions

Global returns a default global schema config.
IsNotFound check if error is related to a missing object (either because of wrong ID or because of type constrains).
LoadIteratorTo is a lower level version of LoadTo.
LoadIteratorToDepth is the same as LoadIteratorTo, but stops at a specified depth.
LoadNamespaces will load namespaces stored in graph to a specified list.
LoadPathTo is the same as LoadTo, but starts loading objects from a given path.
LoadTo will load a sub-graph of objects starting from ids (or from any nodes, if empty) to a destination Go object.
LoadToDepth is the same as LoadTo, but stops at a specified depth.
NewConfig creates a new schema config.
PathForType builds a path (morphism) for a given Go type.
RegisterType associates an IRI with a given Go type.
WriteAsQuads writes a single value in form of quads into specified quad writer.
WriteNamespaces will writes namespaces list into graph.

# Constants

IRIFull will expand all IRIs with known namespaces.
IRINative applies no transformation to IRIs.
IRIShort will compact all IRIs with known namespaces.

# Variables

GenerateID is called when any object without an ID field is being saved.
Optimize flags controls an optimization step performed before queries.

# Structs

Config controls behavior of schema package.
Resource is a basic RDF resource object.

# Interfaces

# Type aliases

IRIMode controls how IRIs are processed.
Object is a basic RDF resource object.