Web Scrapers Generator BrowserExt


Delete records from a database table.

dbdelete(connection, table, whereattrs)


connection Connection ID established by dbconnect.
table Table name.
whereattrs Records for delete will be selected based on the values ​​of this dictionary of attributes. The key element of the dictionary corresponds to the name of a column in a table.

This function can not be executed in the "Editor".

Example 1. Lets suppose that there is products table in the test database, containing id, t, d and p columns. Delete the record with id=11.