Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 836 Bytes

File metadata and controls

46 lines (31 loc) · 836 Bytes

View API

These functions implement the HTTP API for views.

Getting information about the view

See the HTTP API documentation for details.

ArangoView.exists

ArangoView.exists() : boolean

Checks whether the view exists

Examples

ArangoDB arango = new ArangoDB.Builder().build();
ArangoDatabase db = arango.db("myDB");
ArangoView view = db.view("potatos");

boolean exists = view.exists();

ArangoView.getInfo

ArangoView.getInfo() : ViewEntity

Returns information about the view.

Examples

ArangoDB arango = new ArangoDB.Builder().build();
ArangoDatabase db = arango.db("myDB");
ArangoView view = db.view("potatos");

ViewEntity info = view.getInfo();