摘要: /** JsonSQL var _f1_obj = jsonsql.query("select id,mc,fid from json where (fid==475 && id==875 || fid==475)", json);*/var jsonsql = { query: function (sql, json) { var returnfields = sql.match(/^(select)\s+([a-z0-9_\,\.\s\*]+)\s+from\s+([a-z0-9_\.]+)(?: where\s+\((.+)\))?\s*(?:orde 阅读全文
posted @ 2013-04-11 17:37 一千零一夜 阅读(2243) 评论(0) 推荐(0) 编辑