Database Inserts
-
Hi,
Where (which file, function etc) does BuddyPress create insert statements? I need it to use the _insert_replace_helper function in WP and it doesn’t seem to.
I need to add the record id column with a value to the following statement and others, so as to ensure that a specific range of numbers is used as primary key for each table. I am hoping BuddyPress has a central database handler?
`INSERT INTO wp_bp_group_documents (
user_id,
group_id,
created_ts,
modified_ts,
file,
name,
description,
featured
) VALUES (
2, 7, 1327321941, 1327321941, ‘1327321941-importbuddy.txt’, ‘Import Buddy Test’, ‘Just a test document.’, 0
)`
- The topic ‘Database Inserts’ is closed to new replies.