[Zope] A single value from SQL

Daniel M. Drucker dmd@3e.org
Sat, 5 Jun 1999 12:30:02 -0400 (EDT)


So there isn't a way to directly call one ZSQLMethod from another, then.



>    ZSQLMethod1
>    -------------
>    SELECT MAX(some_column) AS fred FROM another_table
>    
>    ZSQLMethod2
>    -------------
>    SELECT firstname, lastname, email FROM some_table WHERE some_column =
> <!--#sqlvar fred type=int-->
>    
>    DTMLMethod1
>    -------------
>    
>    <!--#with ZSQLMethod1-->
>    
>      <!--#in "ZSQLMethod2(fred=fred)"-->