Changeset 408 for GearsORM/trunk
- Timestamp:
- 03/21/08 21:44:41 (10 months ago)
- Files:
-
- 1 modified
-
GearsORM/trunk/GearsORM.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GearsORM/trunk/GearsORM.js
r337 r408 56 56 try 57 57 { 58 if(params) 59 for(var i=0;i<params.length;i++) 60 if(typeof(params[i]) == 'undefined') params[i] = null; 61 58 62 if(GearsORM.debug)GearsORM.log(sql,params); 59 63 return GearsORM.getDB().execute(sql,params || []); … … 77 81 try 78 82 { 79 if(GearsORM.debug)GearsORM.log(sql,params); 80 var rs = GearsORM.getDB().execute(sql,params || []); 83 var rs = GearsORM.execute(sql,params); 81 84 rs.close(); 82 85 return rs;
