dbutil.js - transactional query, take ii