You are not logged in Log in Join
You are here: Home » Members » Caseman » Simply pass the underscore variable (_) to the ZSQL method to make it look up arguments in the namespace. » tip_view

Log in
Name

Password

 

Created by ZopeOrgSite . Last modified 2001-02-22 17:24:19.

Normally ZSQL methods look only in the REQUEST object for their arguments. If however, you pass the method the underscore variable as an argument when you call it, it will also search the namespace for your arguments. Example:

<dtml-let arg1="foo" arg2="bar">
	<dtml-call expr="sqlMethod(_)">
</dtml-let>
This allows ZSQL methods to behave more like other methods.