replace SQL by a call to the ::DB module