I'm looking through the codes. Don't see any UPDATES or INSERT sql statments. How does counter tracks the visitor and writes to the db??

Comments

drupalnesia’s picture

Counter uses Drupal API for Database, the API is db_query(), look at http://api.drupal.org/.
This gives Counter can handle any databases supported by Drupal framework.

resting’s picture

Hi thanks. I found the INSERT statement. I guess it doesn't update the entry at all. It simply adds a new row for every new visits.

drupalnesia’s picture

Status: Active » Closed (works as designed)