Golang/AQL Arango Views Creation

54 views
Skip to first unread message

xpege...@gmail.com

unread,
Sep 28, 2020, 4:25:42 AM9/28/20
to ArangoDB
Hi all,

is it possible to create views from the arango official golang driver ?, o r may be executing some AQL code ?, I didn't see anything related in the docs.

Regards,
Xavi

Wilfried Gösgens

unread,
Sep 28, 2020, 4:53:27 AM9/28/20
to ArangoDB
Hi,
creating views is a DDL operation - AQL is only made to support DML -  Queries.
https://godoc.org/github.com/arangodb/go-driver#DatabaseViews seems to be the part of the go-driver that wraps view-creation.

Cheers,
Willi
Reply all
Reply to author
Forward
0 new messages