Commit queries