The manifest parsing / configuration aspect of dependencies is missing,
but dependencies defined in the _apps collection (via options.dependencies)
will be resolved correctly.
Also, setup scripts for non-system apps are delayed
until system apps setup scripts have been executed.
Ideally, `requireApp` should ensure the setup scripts for the app-to-require
have already been executed (to support using dependencies in setup scripts).
We'll also probably want to run "startup" scripts instead of "setup" scripts
and reserve setup scripts for upgrades and installs.
We also still need a way to run Foxx app code in each thread on startup
in addition to the (necessarily) one-thread-only "startup" script.
Collection lookups are painfully slow on a coordinator if they fail,
because the cache has to be reloaded from the Agency. Therefore we
only want to load modules from there after all other local methods
have been tried.
if the command's result is printed in the shell, the first 10 results will be printed. Previously
only a basic description of the underlying query result cursor was printed. Additionally, if the
cursor result contains more than 10 results, the cursor is assigned to a global variable `more`,
which can be used to iterate over the cursor result.
Example:
arangosh [_system]> db._query("FOR i IN 1..15 RETURN i")
[object ArangoQueryCursor, count: 15, hasMore: true]
[
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
]
type 'more' to show more documents
arangosh [_system]> more
[object ArangoQueryCursor, count: 15, hasMore: false]
[
11,
12,
13,
14,
15
]