首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 它可以用来解析SQL字符串到PHP对象分析、修改或规范。

它可以用来解析SQL字符串到PHP对象分析、修改或规范。

资 源 简 介

SUMMARY parses any kind of SQL string can be used to validate, parse, modify SQL strings via PHP objects automated field value checking can be a layer between PHP daos and database STATUS working draft DEPENDENCIES >=PHP5.2 TODO testing benchmark speed optimalization documentation EXAMPLES ``` set("SELECT * FROM tbl WHERE foo = "var""); $cg = new sql_cg("OR"); $cg-> f1 = "v1"; $valO = new vo_int(11); $valO(16); // or $valO-> set(16); // throws exception if the given value isn"t good for that field type $cg-> f2 = $valO; $cg-> addLogic("f3", "IN", array("1", "2")); $cg-> addConditionString("f4 LIKE "%example%""); $sq
VIP VIP
0.185599s