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
Click to show internal directories.
Click to hide internal directories.