method alter documentation in bbn\Db\Languages\Sqlite

function(string $table, array $cfg) { if ($st = $this->getAlterTable($table, $cfg)) { // Sqlite does not support multiple alter statements in one query // So we will use begin a transaction then execute all queries one by one $this->pdo->beginTransaction(); foreach (explode(';' . PHP_EOL, $st) as $query) { $this->rawQuery($query); } return (int)$this->pdo->commit(); } return 0; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.