table-watcher

watch for insertions,deletions, updates, and truncations

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
table-watcher
101.1.155 years ago5 years agoMinified + gzip package size for table-watcher in KB

Readme

table-watcher
watch tables in a database for insertion, deletion and updates and truncation.

How it works?

provide a database and watch table name to the module. after every operation, an entry will be added to the watch table with a timestamp.This table can be queried to see which tables were modified. The watch table has to be created before being passed to the module and must contain the following columns
  1. tablename (text)
  2. timestamp (int)
  3. operation (text)