robot_exists_p db robot_idWhat it does:
Returns true if a row already exists in the robots table with the specified "robot_id"Defined in: /web/philip/tcl/ad-robot-defs.tcl
Source code:
return [database_to_tcl_string $db "select count(*) from robots where robot_id = '[DoubleApos $robot_id]'"]