Documentation
¶
Index ¶
- Variables
- type DB
- func (db *DB) Connect(host, user, pass string) error
- func (db *DB) ExecQuery(cypher string, params map[string]interface{}, configurers ...configurer) error
- func (db *DB) GetMultiValueRecords(dest interface{}, cypher string, params map[string]interface{}, ...) error
- func (db *DB) GetNode(dest interface{}, cypher string, params map[string]interface{}, ...) error
- func (db *DB) RawResult(cypher string, params map[string]interface{}, configurers ...configurer) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WithTxMetadata = neo4j.WithTxMetadata WithTxTimeout = neo4j.WithTxTimeout )
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetMultiValueRecords ¶
func (db *DB) GetMultiValueRecords( dest interface{}, cypher string, params map[string]interface{}, configurers ...configurer, ) error
GetMultiValueRecords fetch records from neo4j db and assign values of each record to a struct dest must be *[]struct{} type
Click to show internal directories.
Click to hide internal directories.