Changeset 15338 for branches/feature-module-update/data/class
- Timestamp:
- 2007/08/22 12:59:37 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_Query.php
r15080 r15338 46 46 function select($col, $table, $where = "", $arrval = array()){ 47 47 $sqlse = $this->getsql($col, $table, $where); 48 // DBに依存した SQL へ変換 49 $dbFactory = SC_DB_DBFactory::getInstance(); 50 $sqlse = $dbFactory->sfChangeMySQL($sqlse); 48 51 $ret = $this->conn->getAll($sqlse, $arrval); 49 52 return $ret; … … 125 128 function setlimitoffset($limit, $offset = 0, $return = false) { 126 129 if (is_numeric($limit) && is_numeric($offset)){ 127 128 $option .= " LIMIT " . $limit;130 131 $option = " LIMIT " . $limit; 129 132 $option.= " OFFSET " . $offset; 130 133
Note: See TracChangeset
for help on using the changeset viewer.