Arango v0.0.1 Arangoex.Simple
ArangoDB Simple methods
Summary
Functions
Return all documents
Return a random document
Find documents matching an example
Find documents by their keys
Returns documents near a coordinate
Simple query by-example
Fulltext index query
Simple range query
Remove documents by example
Remove documents by their keys
Replace documents by example
Update documents by example
Find documents within a radius around a coordinate
Functions
all(Arangoex.Endpoint.t, Arangoex.Collection.t, keyword) :: Arangoex.ok_error(map)
Return all documents
PUT /_api/simple/all
Return a random document
PUT /_api/simple/any
find_by_example(Arangoex.Endpoint.t, Arangoex.Collection.t, map) :: Arangoex.ok_error(map)
Find documents matching an example
PUT /_api/simple/first-example
lookup_by_keys(Arangoex.Endpoint.t, Arangoex.Collection.t, [String.t]) :: Arangoex.ok_error(map)
Find documents by their keys
PUT /_api/simple/lookup-by-keys
near(Arangoex.Endpoint.t, Arangoex.Collection.t, float, float, keyword) :: Arangoex.ok_error(map)
Returns documents near a coordinate
PUT /_api/simple/near
query_by_example(Arangoex.Endpoint.t, Arangoex.Collection.t, map, keyword) :: Arangoex.ok_error(map)
Simple query by-example
PUT /_api/simple/by-example
query_fulltext(Arangoex.Endpoint.t, Arangoex.Collection.t, String.t, String.t, keyword) :: Arangoex.ok_error(map)
Fulltext index query
PUT /_api/simple/fulltext
range(Arangoex.Endpoint.t, Arangoex.Collection.t, String.t, float, float, keyword) :: Arangoex.ok_error(map)
Simple range query
PUT /_api/simple/range
Remove documents by example
PUT /_api/simple/remove-by-example
remove_by_keys(Arangoex.Endpoint.t, Arangoex.Collection.t, [String.t], keyword) :: Arangoex.ok_error(map)
Remove documents by their keys
PUT /_api/simple/remove-by-keys
replace_by_example(Arangoex.Endpoint.t, Arangoex.Collection.t, map, map, keyword) :: Arangoex.ok_error(map)
Replace documents by example
PUT /_api/simple/replace-by-example
update_by_example(Arangoex.Endpoint.t, Arangoex.Collection.t, map, map, keyword) :: Arangoex.ok_error(map)
Update documents by example
PUT /_api/simple/update-by-example
within(Arangoex.Endpoint.t, Arangoex.Collection.t, float, float, float, keyword) :: Arangoex.ok_error(map)
Find documents within a radius around a coordinate
PUT /_api/simple/within
within_rectangle(Arangoex.Endpoint.t, Arangoex.Collection.t, float, float, float, float, keyword) :: Arangoex.ok_error(map)
Within rectangle query
PUT /_api/simple/within-rectangle