当前位置: 首页>>代码示例>>PHP>>正文


PHP CI_DB_pdo_driver::_delete方法代码示例

本文整理汇总了PHP中CI_DB_pdo_driver::_delete方法的典型用法代码示例。如果您正苦于以下问题:PHP CI_DB_pdo_driver::_delete方法的具体用法?PHP CI_DB_pdo_driver::_delete怎么用?PHP CI_DB_pdo_driver::_delete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CI_DB_pdo_driver的用法示例。


在下文中一共展示了CI_DB_pdo_driver::_delete方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _delete

 /**
  * Delete statement
  *
  * Generates a platform-specific delete string from the supplied data
  *
  * @param    string $table
  * @return    string
  */
 protected function _delete($table)
 {
     if ($this->qb_limit) {
         return 'WITH ci_delete AS (SELECT TOP ' . $this->qb_limit . ' * FROM ' . $table . $this->_compile_wh('qb_where') . ') DELETE FROM ci_delete';
     }
     return parent::_delete($table);
 }
开发者ID:at15,项目名称:codeignitordb,代码行数:15,代码来源:pdo_sqlsrv_driver.php

示例2: _delete

 /**
  * Delete statement
  *
  * Generates a platform-specific delete string from the supplied data
  *
  * @param	string	$table
  * @return	string
  */
 protected function _delete($table)
 {
     $this->qb_limit = FALSE;
     return parent::_delete($table);
 }
开发者ID:DeDoOozZz,项目名称:brighterycms,代码行数:13,代码来源:pdo_informix_driver.php

示例3: _delete

 /**
  * Delete statement
  *
  * Generates a platform-specific delete string from the supplied data
  *
  * @param	string	$table
  * @return	string
  */
 protected function _delete($table)
 {
     if ($this->qb_limit) {
         $this->where('rownum <= ', $this->qb_limit, FALSE);
         $this->qb_limit = FALSE;
     }
     return parent::_delete($table);
 }
开发者ID:segaz2002,项目名称:Codeigniter,代码行数:16,代码来源:pdo_oci_driver.php


注:本文中的CI_DB_pdo_driver::_delete方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。