The only way I could see doing it with one query is to generate the file at 
the same time as the table-plus.  Usually this isn't a desirable course of 
action as it takes extra time to make the file, time which slows the http 
response.  Unless the query is significantly longer to execute than the time 
to build the pdf, I'd stick with the 2 query version you have.  
Alternatively, you could implement some sort of temporary cache (like 
memcache) using the query parameters to store the results.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/2BpJUwkOs9YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to