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