Write a small PHP script using the qa_post_delete() function:
require_once 'Q2A_INCLUDE_DIR/qa-base.php'; require_once 'Q2A_INCLUDE_DIR/app/posts.php'; $query = 'SELECT postid FROM ^posts WHERE ...'; $id_list = qa_db_read_all_values(qa_db_query_sub($query)); foreach($id_list as $id) { qa_post_delete($id); }
The difficult part is the database query condition to select only the IDs you want deleted.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.