Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Live is the sub-command invoked when running "dgraph live". Live x.SubCommand )
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// Number of N-Quads processed by server.
Nquads uint64
// Number of mutations processed by the server.
TxnsDone uint64
// Number of Aborts
Aborts uint64
// Time elapsed since the batch started.
Elapsed time.Duration
}
Counter keeps a track of various parameters about a batch mutation. Running totals are printed if BatchMutationOptions PrintCounters is set to true.
type Predicate ¶
type Predicate struct {
Predicate string `json:"predicate,omitempty"`
Type string `json:"type,omitempty"`
Tokenizer []string `json:"tokenizer,omitempty"`
Count bool `json:"count,omitempty"`
List bool `json:"list,omitempty"`
Lang bool `json:"lang,omitempty"`
Index bool `json:"index,omitempty"`
Upsert bool `json:"upsert,omitempty"`
Reverse bool `json:"reverse,omitempty"`
NoConflict bool `json:"no_conflict,omitempty"`
Unique bool `json:"unique,omitempty"`
ValueType types.TypeID
}
Click to show internal directories.
Click to hide internal directories.