arangodb

package
v0.0.0-...-9b78e5f 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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Retriever

type Retriever struct {
}

Service is a struct used to store this use case in

func New

func New() *Retriever

func (*Retriever) RetrieveSchema

func (s *Retriever) RetrieveSchema(databaseInfo *models.DBConnectionModel, userID string) (*schemaEntity.JSONReturnFormat, error)

RetrieveSchema will retrieve all collections and attributes, analyse these and create a schema made up of edges and nodes

databaseInfo: entity.DatabaseInfo, the database info containing a hostname, port, username, password and internal database name
userID: string, the ID of the client
databaseName: string, external database name
Return: (entity.JSONReturnFormat, error), a json struct with the nodes and edges needed to form the schema and possible error

func (*Retriever) RetrieveSchemaStats

func (s *Retriever) RetrieveSchemaStats(databaseInfo *models.DBConnectionModel, userID string) (*schemaEntity.SchemaStats, error)

Jump to

Keyboard shortcuts

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