On 3/2/06, Yuan HOng <[EMAIL PROTECTED]> wrote:
> Can anyone give some clues as how to do this for ZSQL on FSDV? I
> suppose I might need to write some *.metadata file to specify these
> properties using FSDV?

You must specify the cache settings in the .zsql file itself, using a
<dtml-comment> block at the top. Here is an example:

<dtml-comment>
title: Retrieve the per_id of a given uid
connection_id: portal_cvix
arguments: uid
cache_time: 10
</dtml-comment>

'cache_time: 10' sets the caching time to 10 seconds.

--
Martijn Pieters
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to