db.command no longer uses the cursor