I’m using a forum with several topics and node comments module to add comment nodes to the topics.
I’m importing an external database and adding the relationships directly in mysql to the node_comments table.
However before to see the comments of a quesition I need to add a random comment in drupal to this question. Which is probably triggering a function and getting new values from the table.
Is there a way to simulate this, I cannot add a comment and delete it for all thousands nodes in my Drupal ?
Thanks
Node Comments are not shown with Core Drupal, you need modifications in your theme, or use a view (watch your performance!)
edit: After discussion below, Drush seems the answer:
You can run any Drupal-code from the commandline using drush.