Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEntityByID ¶
func GetEntityByID(executor QueryExecutor, collectionName string, id string) (map[string][]map[string]interface{}, error)
GetEntityByID queries the specified collection for the given id
Types ¶
type ArangoDbQueryExecutor ¶
type ArangoDbQueryExecutor struct { QueryExecutor // contains filtered or unexported fields }
ArangoDbQueryExecutor is the primary type for executing queries
func NewQueryExecutor ¶
func NewQueryExecutor() ArangoDbQueryExecutor
NewQueryExecutor returns a new query executor
type MockQueryExecutor ¶
type MockQueryExecutor struct {
QueryExecutor
}
MockQueryExecutor provides a mock query executor that can be used for testing
Click to show internal directories.
Click to hide internal directories.