protected function getTableConstraints($tableName)
	{
		$this->connect();

		$this->setQuery(
			'SELECT CONSTRAINT_NAME FROM' . ' INFORMATION_SCHEMA.TABLE_CONSTRAINTS' . ' WHERE TABLE_NAME = ' . $this->quote($tableName)
		);

		return $this->loadColumn();
	}
protected function getTableConstraints($tableName)
	{
		$this->connect();

		$this->setQuery(
			'SELECT CONSTRAINT_NAME FROM' . ' INFORMATION_SCHEMA.TABLE_CONSTRAINTS' . ' WHERE TABLE_NAME = ' . $this->quote($tableName)
		);

		return $this->loadColumn();
	}
protected function getTableConstraints ( $ tableName ) { $ this -> connect ( ) ; $ this -> setQuery ( 'SELECT CONSTRAINT_NAME FROM' . ' INFORMATION_SCHEMA.TABLE_CONSTRAINTS' . ' WHERE TABLE_NAME = ' . $ this -> quote ( $ tableName ) ) ; return $ this -> loadColumn ( ) ; }
Get table constraints

@param   string  $tableName  The name of the database table.

@return  array  Any constraints available for the table.

@since   1.0
Get table constraints