Skip to Content
dbmcp

dropTable

Drop a table when read-only mode is off, with optional CASCADE on PostgreSQL

Drop a table from a database. If the table has foreign key dependents, the database error is surfaced directly — no silent failures. On PostgreSQL, a cascade parameter is available to force the drop using CASCADE, which also removes dependent foreign key constraints. Only available when read-only mode is disabled.