Name of the collection.
TODO
TODO
TODO
Retrieves the collection checksum.
TODO
Retrieves information about the number of documents in a collection.
Creates a collection with the given options
and the instance's name.
See also Database.createCollection and Database.createEdgeCollection.
Note: When called on an EdgeCollection instance in TypeScript,
the type
option must still be set to the correct CollectionType.
Otherwise this will result in the collection being created with the
default type (i.e. as a document collection).
Options for creating the collection.s
TODO
TODO
TODO
TODO
TODO
TODO
Deletes the collection from the database.
Options for dropping the collection.
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
Checks whether the collection exists.
Retrieves statistics for a collection.
TODO
TODO
Retrieves general information about the collection.
TODO
Bulk imports the given data
into the collection.
The data to import, as an array of edge data.
Options for importing the data.
Bulk imports the given data
into the collection.
The data to import, as an array containing a single array of attribute names followed by one or more arrays of attribute values for each edge document.
Options for importing the data.
Bulk imports the given data
into the collection.
If type
is omitted, data
must contain one JSON array per line with
the first array providing the attribute names and all other arrays
providing attribute values for each edge document.
If type
is set to "documents"
, data
must contain one JSON document
per line.
If type
is set to "list"
, data
must contain a JSON array of
edge documents.
If type
is set to "auto"
, data
can be in either of the formats
supported by "documents"
or "list"
.
The data to import as a Buffer (Node), Blob (browser) or string.
Options for importing the data.
TODO
TODO
TODO
TODO
Instructs ArangoDB to load the collection into memory.
Whether the number of documents in the collection should be included in the server response. Disabling this may speed up this process in future versions of ArangoDB.
Instructs ArangoDB to load the collection into memory.
Whether the number of documents in the collection should be included in the server response. Disabling this may speed up this process in future versions of ArangoDB.
(RocksDB only.) Instructs ArangoDB to load as many indexes of the collection into memory as permitted by the memory limit.
TODO
TODO
Retrieves the collection's properties.
Replaces the properties of the collection.
(RocksDB only.) Instructs ArangoDB to recalculate the collection's document count to fix any inconsistencies.
TODO
TODO
TODO
TODO
TODO
TODO
Renames the collection and updates the instance's name
to newName
.
Additionally removes the instance from the Database's internal cache.
Note: Renaming collections may not be supported when ArangoDB is running in a cluster configuration.
The new name of the collection.
TODO
TODO
TODO
Retrieves the collection revision ID.
(MMFiles single-server only.) Rotates the journal of the collection.
TODO
TODO
TODO
Deletes all documents in the collection.
Instructs ArangoDB to remove the collection from memory.
TODO
TODO
TODO
Generated using TypeDoc
Represents an edge collection in a Database.
See DocumentCollection for a more generic variant of this interface more suited for regular document collections.