Stops fancy stuff.

```php
$db->stop_fancy_stuff();
// (void)
```

@return db
961270
public function stop_fancy_stuff(): self
  {
    $this->setAttribute(\PDO::ATTR_STATEMENT_CLASS, [\PDOStatement::class]);
    $this->fancy = false;
    return $this;
  }
993543
public function cleanupTrash()
    {
        try {
            return $this->innerGateway->cleanupTrash();
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }
621754
private static function _get_db(): ?bbn\db
  {
    if ( self::$db && self::$db->check() ){
      return self::$db;
    }
    return null;
  }
100503
protected function getDb()
    {
        return \OxidEsales\Eshop\Core\DatabaseProvider::getDb(\OxidEsales\Eshop\Core\DatabaseProvider::FETCH_MODE_ASSOC);
    }
1172596
public function stop()
    {
        $data = fb_get_code_coverage($this->_config['cleanup']);
        fb_disable_code_coverage();

        $result = [];
        foreach ($data as $file => $coverage) {
            foreach ($coverage as $line => $value) {
                if ($line && $value !== -2) {
                    $result[$file][$line - 1] = $value === -1 ? 0 : $value;
                }
            }
        }
        return $result;
    }
1055348
public function delete()
    {
        $query = 'delete from '.$this->getTables($this->tables).' ';
        //
        $query .= ' '.$this->where;
        //
        $this->reset();
        //
        return Database::exec($query);
    }
406932
public function truncate()
    {
        if ($this->fake) {
            return $this->fake->truncate();
        }
        $pattern = 'TRUNCATE TABLE ?t';
        $data = array($this->name);
        $this->db->query($pattern, $data);
    }
11097
public function stop()
    {
        $deferred = new Deferred();

        $onStop = $this->onStop;
        $onStop()
            ->then(function () use (&$deferred) {
                $this->ariClient->onClose(function () use (&$deferred) {
                    $this->eventLoop->stop();
                    $deferred->resolve();
                });
                $this->wsClient->close();
            });

        return $deferred->promise();
    }
1127832
public function stopQuery()
	{
		$keys = array_keys($this->queries);
		$key = end($keys);
		$this->queries[$key][2] = $time = Debugger::timer('doctrine');
		$this->totalTime += $time;

		return $this->queries[$key] + array_fill_keys(range(0, 4), NULL);
	}
998481
public function StopIndex()
    {
        $sIndexTableName = $this->GetIndexRawTableName();
        if (TCMSRecord::TableExists($sIndexTableName)) {
            $query = 'DROP TABLE `'.MySqlLegacySupport::getInstance()->real_escape_string($sIndexTableName).'`';
            MySqlLegacySupport::getInstance()->query($query);
        }

        $aData = $this->sqlData;
        $aData['index_running'] = '0';
        $aData['index_completed'] = date('Y-m-d H:i:s');
        $this->LoadFromRow($aData);
        $this->AllowEditByAll(true);
        $this->Save();
    }
1105630
protected function db()
    {
        if (!isset($this->database)) {
            throw new RuntimeException(sprintf(
                'Database Connection is not defined for "%s"',
                get_class($this)
            ));
        }

        return $this->database;
    }
16754
public static function stop()
    {

        //Get usage data
        $now = microtime(true);
        $speed = number_format(1000 * ($now - static::$time), 2);
        $_memory = memory_get_usage();
        $units = array('Bytes', 'KB', 'MB', 'GB', 'TB', 'PB');
        $memory = @round($_memory / pow(1024, ($i = floor(log($_memory, 1024)))), 2) . ' ' . $units[$i];
        $queries = '0';
        //Get Query usage
        //@TODO this smells, a method to detect that the database has been installed;
        $installed = (bool)\Library\Config::getParam("installed", FALSE, "database");

        if ($installed):

            $database = \Library\Database::getInstance();
            $queries = $database->getTotalQueryCount();

        endif;

        //Log usage
        self::log($now, _t("Stop execution time"), "info");

        $output = \Library\Output::getInstance();
        $showMessage = \Library\Config::getParam("mode", 1, "environment");
        if ((int)$showMessage < 2) {
            $output = \Library\Output::getInstance();
            $output->set("debug", array("displaylog" => true));
            $output->set("debug", array("queries" => $queries));
            $output->set("debug", array("log" => static::$log));
        }
        //Set the debugger output
        $output->set("debug", array("start" => static::$time));
        $output->set("debug", array("stop" => $now));
        $output->set("debug", array("speed" => $speed));
        $output->set("debug", array("memory" => $memory));

        //Library\Date::difference($now, $speed);
        //print_R(static::getInstance());


    }
80112
public function _db(){
        $server = $this->server;

        $dsn = "{$server['driver']}:{$server['dbname']}";

        return Pool::object($dsn,'\\PDO',[
            $dsn,$server['user'],$server['pass']
        ]);
    }
1367952
public function stop()
  {
    $this->end = microtime(true);
    return bcsub($this->end, $this->start, 2);
  }
1082689
public function stop()
    {
      $url = URIResource::Make($this->path, array($this->call_id, "gather", $this->id));
      $data = new DataPacket(array("state" => GATHER_STATES::completed));
      $this->client->post($url, $data->get());

      return Constructor::Make($this, $data->get());
    }
710006
public static function load($db = null)
    {
        if (!isset(self::$_instance)) {
            self::$_instance = new Validator($db);
        }

        return self::$_instance;
    }
24563
public function normalizeDeclaration()
    {
        if (empty($this->getCollection())) {
            $this->getConstants()->remove('COLLECTION');
        }

        if (empty($this->getDatabase())) {
            $this->getConstants()->remove('DATABASE');
        }

        return $this;
    }