Changeset 16546 for branches/feature-module-update/data/class/SC_Query.php
- Timestamp:
- 2007/10/24 14:01:35 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_Query.php
r16535 r16546 371 371 } 372 372 373 // 1列取得 374 function getCol($table, $col, $where = "", $arrval = array()) { 375 if (strlen($where) <= 0) { 376 $sqlse = "SELECT $col FROM $table"; 377 } else { 378 $sqlse = "SELECT $col FROM $table WHERE $where"; 379 } 380 // SQL文の実行 381 return $this->conn->getCol($sqlse, $col, $arrval); 382 } 383 373 384 // レコードの削除 374 385 function delete($table, $where = "", $arrval = array()) {
Note: See TracChangeset
for help on using the changeset viewer.
