ndb

package
v0.0.0-...-94ac99e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NClient neo4j.Driver
View Source
var (
	NDBName = "neo4j"
)

NDBName var

Functions

func InitNeo4j

func InitNeo4j()

InitNeo4j Init Neo4j client https://github.com/neo4j/neo4j-go-driver

func NClose

func NClose()

func NewSessionDefault

func NewSessionDefault(isWrite bool) neo4j.Session

NewSessionDefault Sessions are short-lived, cheap to create and NOT thread safe. Typically create one or more sessions per request in your web application. Make sure to call Close on the session when done. For multi-database support, set sessionConfig.DatabaseName to requested database Session config will default to write mode, if only reads are to be used configure session for read mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL