Hello everyone!
I'm in need of a simple Lua script which would:
- query MongoDB using an ObjectId provided in a request header
- return a key value ('url' for example) from the matched entry to the client
- if no value exists, return some other static value
I ran across the following drivers, but they don't seem to have been updated in a while:
- lua-resty-mongol — Native Lua Mongodb driver which supports both luasocket and ngx_lua based on the cosocket API
- lua-resty-mongo — Lua mongodb client driver for the ngx_lua based on the cosocket API
- lua-mongo — A simple Lua Mongo driver (a fork made to work with co-sockets)
Are they still in use, or are there newer alternatives? Any pointers or suggestions would be greatly appreciated!
--Andrei