This project contains a simple example to show how to convert your MySQL database into a MongoDB database. It reads one row from the movies table in MySQL and joins it with the stars table to get the ...
#http block #Initialize a shared Lua cache for SQL queries lua_shared_dict SqlQueries 10m; rewrite_by_lua_block { local Query = ngx.shared.SqlQueries if not result then result = nil end local QResult ...