drizzle-nginx-module icon indicating copy to clipboard operation
drizzle-nginx-module copied to clipboard

drizzle_output directive support ( like postgres_output )

Open dragon3 opened this issue 15 years ago • 2 comments

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.

dragon3 avatar Apr 05 '11 11:04 dragon3

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.

agentzh avatar Apr 07 '11 02:04 agentzh

Thanks. I'll try to use ngx_lua.

dragon3 avatar Apr 14 '11 12:04 dragon3