Documentation ¶
Index ¶
- type Dgraph
- func (dg *Dgraph) CheckHealth(ctx context.Context) (interface{}, error)
- func (dg *Dgraph) Do(ctx context.Context, query string, vars map[string]string, out interface{}, ...) error
- func (dg *Dgraph) DoRaw(ctx context.Context, query string, vars map[string]string, ...) (*api.Response, error)
- func (dg *Dgraph) Query(ctx context.Context, query string, vars map[string]string, out interface{}) error
- func (dg *Dgraph) QueryBestEffort(ctx context.Context, query string, vars map[string]string, out interface{}) error
- type Nquads
- type WithFacets
- type WithLang
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dgraph ¶
type Dgraph struct { *dgo.Dgraph // contains filtered or unexported fields }
Dgraph ...
func (*Dgraph) CheckHealth ¶
CheckHealth ...
func (*Dgraph) Do ¶
func (dg *Dgraph) Do(ctx context.Context, query string, vars map[string]string, out interface{}, mus ...*api.Mutation) error
Do ...
func (*Dgraph) DoRaw ¶
func (dg *Dgraph) DoRaw(ctx context.Context, query string, vars map[string]string, mus ...*api.Mutation) (*api.Response, error)
DoRaw ...
type WithFacets ¶
type WithFacets struct { V interface{} KV map[string]interface{} }
WithFacets ...
func (WithFacets) String ¶
func (fs WithFacets) String() string
Click to show internal directories.
Click to hide internal directories.