method deleteIndex documentation in bbn\Db\Languages\Mysql

Deletes an index

function(string $table, string $key) { if (($table = $this->tableFullName($table, true)) && Str::checkName($key) ) { return (bool)$this->rawQuery("ALTER TABLE $table DROP INDEX `$key`"); } return false; }

Deletes an index 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.