A class that manages instances of ArangoDB classes.
An ArangoDB instance deals with only one ArangoJSDatabase.
If you only need to work with one database, then simply use the ArangoDB class directly, but if you want to
use different databases interchangeably in the same code, then ArangoConnection could potentially make that easier.
The current limitation, however, is that it only manages multiple database connections (or instances) for the same ArangoJSConfig credentials.
In other words, you can easily (and only) work with multiple databases that use the same connection credentials.
A class that manages instances of ArangoDB classes.
An
ArangoDB
instance deals with only oneArangoJS
Database. If you only need to work with one database, then simply use theArangoDB
class directly, but if you want to use different databases interchangeably in the same code, thenArangoConnection
could potentially make that easier. The current limitation, however, is that it only manages multiple database connections (or instances) for the sameArangoJS
Config credentials. In other words, you can easily (and only) work with multiple databases that use the same connection credentials.The constructor accepts an
ArangoJS
Config