all method

Future<ArangoCursor> all(
  1. [Map<String, dynamic> opts]
)

Implementation

Future<ArangoCursor> all([Map<String, dynamic> opts]) async {
  opts ??= {};
  final resp = await _connection.request(
    method: 'PUT',
    path: '/_api/simple/all',
    body: {...opts, 'collection': name},
  );
  return ArangoCursor(_connection, resp.arangoDartHostId, false, resp.body);
}