delete_all_by_query: add reset module