neo4j

package
v0.0.0-...-e211119 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
}

Service implements the Executor interface

func NewService

func NewService() *Service

NewService creates a new ArangoDB executor service

Return: *Service, the new service

func (*Service) ExecuteQuery

func (s *Service) ExecuteQuery(query string, databaseInfo *models.DBConnectionModel) (*[]byte, error)

ExecuteQuery executes the given query on an ArangoDB instance

query: string, the query to be executed
databaseUsername: string
databasePassword: string
databaseHost: string, URL for the database
databasePort: int
internalDatabase: string, the internal database to use, not all databases require this
Return: (*[]byte, error), the query result and an error if there is one

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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