Richard Jebb wrote:
> Has anyone successfully handwritten a query that returns a stream?
It sounds doable.

> In order to improve the efficiency of the transfer of complex data between
> Cache and the client, we are trying to "bundle up" loads of property values
> into a character stream. This would then be parsed by the client, which
> requests the data by getting a resultset from the query.
> 
> The problem I am having is that a queryFetch() method appears to assemble
> the row data into a $list.
Are you using a stored procedure or what?

> In fact, if I try and include the data, the OREF of the stream simply gets
> converted to a string and is therefore useless anyway.
Probably because it was a $list.

> reference in one code snippet (in the section "Using streams with SQL") to a
> %qstrhandle

That is for a column that is a stream.
Are any of your properties streams?

Reply via email to