drizzle-nginx-module
drizzle-nginx-module copied to clipboard
drizzle_output directive support ( like postgres_output )
I would like to response single value from the result-set in text or binary format. For example, response binary PNG data directly with content-type "image/png".
Please support "drizzle_output" like ngx_postgres.
Well, you can use ngx_lua with ngx_drizzle to achieve this effect though may not be that efficient as in ngx_postgres ;) A drizzle_output directive is on our TODO list, though with a relatively low priority.
Thanks. I'll try to use ngx_lua.