johninchina 发表于 2011-6-3 10:20:49

求教了,知道的快来

有一段标签调用的条件不太理解,如下
condition=tag'' and unit''
这里的tag和unit都代表什么,为什么后面还要加上''?

sjw2558 发表于 2011-6-3 10:44:29


你看一下在线文档就知道了是数据库查询where后面的条件condition是条件的意思这个标签 意思就是字段tag和字段unit都不为空   '' 是空的意思如下面 sql语句:

select * from dt_buy    wheretag''andunit''

joy 发表于 2011-6-3 11:39:44


http://help.destoon.com/develop/22.html
页: [1]
查看完整版本: 求教了,知道的快来