(create index & args)
Create an index.
First argument is a map that describes the index properties: {'type' type, 'fields' ['field1', 'field2'], ...} (replace the single quotes with double quotes)
Optionally takes a collection name and a db name as further arguments. If omitted, the default db and collection will be used.
Create an index. First argument is a map that describes the index properties: {'type' type, 'fields' ['field1', 'field2'], ...} (replace the single quotes with double quotes) - type is the desired type of the index, e.g. 'hash' - fields is a list of fields you want to create the index on Please see http://docs.arangodb.org/HttpIndexes/README.html for details, since there are different properties expected for the different kinds of indexes. Optionally takes a collection name and a db name as further arguments. If omitted, the default db and collection will be used.
(delete-by-key & args)
Deletes an index by its key.
First argument: The index key
Optionally takes a db name as a further argument. If omitted the default db will be used.
Deletes an index by its key. First argument: The index key Optionally takes a db name as a further argument. If omitted the default db will be used.
(get-by-key & args)
Returns information about an index.
First argument: The index key
Optionally takes a db name as a further argument. If omitted, the default db will be used.
Returns information about an index. First argument: The index key Optionally takes a db name as a further argument. If omitted, the default db will be used.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close