Groups
Groups
Sign in
Groups
Groups
ArangoDB
Conversations
Labels
About
Send feedback
Help
have any lua drive?
64 views
Skip to first unread message
LongSing CHEN
unread,
Sep 15, 2015, 3:56:29 AM
9/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ArangoDB
my system is windows 10 home version.64bit.
i am use
openresty
(lua in nginx) fork version.
but in officeal drive list,no any lua drive. (
https://www.arangodb.com/download/
)
any one know how can use arangodb in lua ?
Wilfried Gösgens
unread,
Sep 15, 2015, 4:34:20 AM
9/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ArangoDB
Hy,
There currently no active approach for developing a lua client for arangodb.
In general you need to combine these 3:
- A lua http client:
https://github.com/pintsized/lua-resty-http
- To access the arangodb HTTP-Api (it contains lots of examples, and is also used by all other existing drivers)
https://docs.arangodb.com/HttpApi/index.html
- And a json parser for the replies:
http://lua-users.org/wiki/JsonModules
LongSing CHEN
unread,
Sep 15, 2015, 4:45:33 AM
9/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ArangoDB
thank you.
so all drive core is HTTP-Api ? so use HTTP-Api is
The most direct
approach
?
Wilfried Gösgens於 2015年9月15日星期二 UTC+8下午4時34分20秒寫道:
Wilfried Gösgens
unread,
Sep 15, 2015, 5:16:02 AM
9/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ArangoDB
Hi,
Exactly. Http (s) is the direct aproach.
If you struggle with the documentation or have further questions, don't hesitate to ask.
LongSing CHEN
unread,
Sep 15, 2015, 5:28:16 AM
9/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ArangoDB
thank you,
I
will continue to use
php
and
nodejs
connection
arangodb.
I
use
nginx+lua,
because some
demand
at
php
and
nodejs
some issues
(unrelated
arangodb)
in
windows10.
Wilfried Gösgens於 2015年9月15日星期二 UTC+8下午5時16分02秒寫道:
Reply all
Reply to author
Forward
0 new messages