Exemplo n.º 1
0
 /**
  * Compares two table names.
  * The table names can be either quoted or unquoted. This method
  * will consider both cases.
  * @param string $name1 table name 1
  * @param string $name2 table name 2
  * @return boolean whether the two table names refer to the same table.
  */
 public function compareTableNames($name1, $name2)
 {
     return parent::compareTableNames(strtolower($name1), strtolower($name2));
 }
Exemplo n.º 2
0
 /**
  * @param \Database\schema\Schema $schema the schema for this command builder
  */
 public function __construct($schema)
 {
     $this->_schema = $schema;
     $this->_connection = $schema->getDbConnection();
 }