recipe for adding Drupal node records.

Posted by bert on Stack Overflow See other posts from Stack Overflow or by bert
Published on 2010-03-26T18:18:07Z Indexed on 2010/03/26 18:23 UTC
Read the original article Hit count: 464

Filed under:
|
|
|

I am looking for a recipe for adding Drupal node records. I have identified three tables.

node_revisions
nid=249  - vid + 1?
vid=248  - auto-increment

node:
nid=250  - vid + 1?
vid=249  - auto-increment

content_type_my_content
vid=248  - from node_revisions table?
nid=249  - from node table? 

Am I on right track? Is there some helper functions for this?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about nodes