关于sql method中使用multipl e属性如何赋值的问题
"柯铁军" <[email protected]> Mon, 9 May 2005 17:47:35 +0800
| Newsgroups | gmane.comp.web.zope.chinese |
|---|---|
| Message-ID | <[email protected]> |
各位好,第一次发问。
谁用过Sql Method中的multiple属性,找了半天资料,都是那几个例子。
比如For example when name is a list of strings "Bob" , "Billy" , <dtml-sqltest name type="string"
multiple> renders to this SQL: name in ("Bob", "Billy")
但是"Bob", "Billy"怎么传给上面提到的sql method的呢?
我用tuple和list类型都试过,不行。
不过我测试的sql method是select * from employees
where <dtml-sqltest empid type=int multiple>,不知道这个empid怎么给值。
请各位指教,谢谢!
致
礼!
柯铁军
[email protected]
2005-05-09
_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese