Skip to content

Kirby 5.0.4

$sql->dropTable()

Creates the sql for dropping a single table

$sql->dropTable(string $table): array

Parameters

Name Type Default
$tablerequired string no default value

Return type

array

This method modifies the existing $sql object it is applied to and returns it again.

Parent class

Kirby\Database\Sql