It should be noted that the $nids array argument to the node_delete_multiple() function should be limited in size to avoid a PDO error like #1210092: PDOException: SQLSTATE[HY000]: General error: 1 too many SQL variables: SELECT t.* FROM {field_data_body} t WHERE (entity_type =

CommentFileSizeAuthor
node_delete_multiple-limits.patch1.02 KBpillarsdotnet

Comments

jhodgdon’s picture

Status: Needs review » Closed (duplicate)

Will you please stop splitting relatively simple doc issues into multiple pieces. It is very annoying, and causes MUCH more work for me and committers. And this is not the right way to document this. See #1210606: Document that operations that delete in bulk can hit limits for the number of arguments