arangodb

package
v0.0.0-...-150069b Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: AGPL-3.0 Imports: 8 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, dbConnection *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), returns the result of the query and a potential error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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