gyro/core/model/base/queries/dbquery.replace.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * A Replace Query 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Model 00007 */ 00008 class DBQueryReplace extends DBQueryInsert { 00009 /** 00010 * Return SQL fragment 00011 * 00012 * @return string 00013 */ 00014 public function get_sql() { 00015 $params['fields'] = $this->fields; 00016 $builder = DBSqlBuilderFactory::create_builder(DBSqlBuilderFactory::REPLACE, $this, $params); 00017 return $builder->get_sql(); 00018 } 00019 }