Documentation
¶
Index ¶
- Variables
- func ErrorColumnNotFound(column string) error
- func ErrorUnknownNebulaValueType(t string) error
- func SetLogLevel(level LogLevel)
- type Config
- type FetchController
- type FetchPathController
- type GoController
- type LogLevel
- type MatchController
- type NGDB
- func (db *NGDB) Fetch(ids ...string) *FetchController
- func (db *NGDB) FetchPath(edge string) *FetchPathController
- func (db *NGDB) GOFrom(from ...string) *GoController
- func (db *NGDB) Match(ngql string) *MatchController
- func (db *NGDB) Path(pathKind string) *PathController
- func (db *NGDB) Raw(ngql string) *RawController
- type PathController
- func (pe *PathController) Find() ([][]Relationship, error)
- func (pe *PathController) From(from string) *PathController
- func (pe *PathController) Over(over string) *PathController
- func (pe *PathController) To(to string) *PathController
- func (pe *PathController) Upto(num int) *PathController
- func (pe *PathController) Value() (*nebula.ResultSet, error)
- type RawController
- type Relationship
- type Service
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ErrorColumnNotFound ¶ added in v1.1.9
func ErrorUnknownNebulaValueType ¶ added in v1.1.9
ErrorUnknownNebulaValueType 无法处理的 nebula 数据类型
func SetLogLevel ¶ added in v1.1.9
func SetLogLevel(level LogLevel)
Types ¶
type FetchController ¶ added in v1.1.9
type FetchController struct {
// contains filtered or unexported fields
}
func (*FetchController) Find ¶ added in v1.1.9
func (f *FetchController) Find(model interface{}) error
func (*FetchController) Key ¶ added in v1.1.9
func (fc *FetchController) Key(key string) *FetchController
Key Tag properties.k-v key
func (*FetchController) Tags ¶ added in v1.1.9
func (fc *FetchController) Tags(tags ...string) *FetchController
type FetchPathController ¶ added in v1.1.9
type FetchPathController struct {
// contains filtered or unexported fields
}
func (*FetchPathController) Find ¶ added in v1.1.9
func (fp *FetchPathController) Find(model interface{}) error
func (*FetchPathController) Path ¶ added in v1.1.9
func (fp *FetchPathController) Path(paths ...string) *FetchPathController
func (*FetchPathController) Props ¶ added in v1.1.9
func (fp *FetchPathController) Props(props ...string) *FetchPathController
type GoController ¶
type GoController struct {
// contains filtered or unexported fields
}
func (*GoController) Finds ¶ added in v1.1.9
func (g *GoController) Finds(models ...interface{}) error
func (*GoController) Over ¶
func (g *GoController) Over(over string) *GoController
func (*GoController) Step ¶ added in v1.1.9
func (g *GoController) Step(steps ...int) *GoController
func (*GoController) Value ¶ added in v1.1.9
func (g *GoController) Value() (*nebula.ResultSet, error)
func (*GoController) Yield ¶
func (g *GoController) Yield(yields ...string) *GoController
type MatchController ¶ added in v1.1.9
type MatchController struct {
// contains filtered or unexported fields
}
func (*MatchController) Finds ¶ added in v1.1.9
func (m *MatchController) Finds(models ...interface{}) error
type NGDB ¶
func (*NGDB) Fetch ¶ added in v1.1.9
func (db *NGDB) Fetch(ids ...string) *FetchController
func (*NGDB) FetchPath ¶ added in v1.1.9
func (db *NGDB) FetchPath(edge string) *FetchPathController
func (*NGDB) GOFrom ¶ added in v1.1.9
func (db *NGDB) GOFrom(from ...string) *GoController
func (*NGDB) Match ¶
func (db *NGDB) Match(ngql string) *MatchController
func (*NGDB) Path ¶ added in v1.1.9
func (db *NGDB) Path(pathKind string) *PathController
func (*NGDB) Raw ¶ added in v1.1.9
func (db *NGDB) Raw(ngql string) *RawController
type PathController ¶ added in v1.1.9
type PathController struct {
// contains filtered or unexported fields
}
func (*PathController) Find ¶ added in v1.1.9
func (pe *PathController) Find() ([][]Relationship, error)
func (*PathController) From ¶ added in v1.1.9
func (pe *PathController) From(from string) *PathController
func (*PathController) Over ¶ added in v1.1.9
func (pe *PathController) Over(over string) *PathController
func (*PathController) To ¶ added in v1.1.9
func (pe *PathController) To(to string) *PathController
func (*PathController) Upto ¶ added in v1.1.9
func (pe *PathController) Upto(num int) *PathController
type RawController ¶ added in v1.1.9
type RawController struct {
// contains filtered or unexported fields
}
type Relationship ¶ added in v1.1.9
Source Files
¶
Click to show internal directories.
Click to hide internal directories.