No results to display

1. Introduction2. Getting started2.1. Creating a database2.2. Tables2.3. Documents2.4. Expressions2.5. Aliases2.6. CLI2.7. Drivers3. Basic API3.1. Creating a table3.2. Editing a table3.3. Dropping a table3.4. Insert a document3.5. Get a document3.6. Delete a document3.7. Update a document3.8. Selecting documents3.9. Getting metadata4. Admin API4.1. Creating a user4.2. Deleting a user4.3. Regenerating tokens

Dropping a table

In CookieDB, dropping a table can be simply done by the name of the table. This will throw an error if the table does not exist.

await cookieDB.dropTable("table_name");
← PreviousEditing a tableNext →Insert a document