Skip to content

Kirby 6.0.0

$sql->dropTable()

Creates the sql for dropping a single table

$sql->dropTable(string $table): array{query: string, bindings: array{}}

Parameters

Name Type Default
$tablerequired string no default value

Return type

array{query: string, bindings: array{}}

Parent class

Kirby\Database\Sql