I want unpublish all nodes of one content type, what query should I make?
Not entirely sure but i suspect the "status" field in the node table represents whether a node is published or not.
So, UPDATE node SET status=0 WHERE type='content_machine_name'
Cheers
-- http://bibekshrestha.com.np
Thank You very much, perhaps You'll find some solution to my new task ;-) http://drupal.org/node/499634
Comments
Not entirely sure but i
Not entirely sure but i suspect the "status" field in the node table represents whether a node is published or not.
So, UPDATE node SET status=0 WHERE type='content_machine_name'
Cheers
--
http://bibekshrestha.com.np
Thank You very much, perhaps
Thank You very much, perhaps You'll find some solution to my new task ;-) http://drupal.org/node/499634