If the stdClass objects are all identical in structure, I suggest to create a specific table for them and use a reference to connect to the related user.
You can use a serialized user meta to connect a user to more than one record on that table, or use a specific table’s column as “user_id” if one-object <=> one-user.
Related Posts:
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- Should I use Transients with W3 Total Cache APC Caching? [closed]
- Add indexing to meta_value in wp_postmeta
- Get posts by menu ID
- Getting all user metadata from user
- Slow SQL_CALC_FOUND_ROWS Query
- How to add custom query filters in WP_User_Query
- What is an efficient way to query based on post_meta?
- WP_Query Performance Issues with meta_query
- Should close $wpdb via $wpdb->close()
- Get the post permalink within the loop but without additional DB query
- Filter user list that meta_value is empty
- Query wp_usermeta alongside wp_users
- Filter WordPress posts by between parameter
- SQL User Query by Multiple Roles using PHP
- Retrieve featured image (thumbnail) url from multiple posts with one query
- How To Get Some Data From WordPress Database Using WordPress $wpdb Query?
- What’s faster? One big query, or several smaller ones?
- WP User Query get all authors with last name starting with specific letter
- How WordPress attaches its Featured Images with posts?
- Order by custom table and multiplication
- Sort users by “birthday” using WP_User_Query
- why update and delete query not worked in custom table?
- Hide Administrators From User List except current user (administrator)
- How to display user order by role
- Import wp users via one click demo option
- Dynamic User Id
- How to implement a new row_count method in WordPress?
- querying data via $wpdb and get_row
- wp_Qwery works to slow
- Show all data in database table and make it into an interactive table
- No results found from a $wpdb->get_results() query when trying to join more than one meta key query
- database query with more than a couple meta hangs and doesn’t complete
- How to access custom WordPress database tables
- Is it possible to query from external database? [duplicate]
- Prevent author bio page from showing in search results
- WP User Query with Custom Fields and Search Results
- Get multiple users with meta value in one query and populate WP_User class
- List of ways to access WordPress database?
- Reduce number of SQL queries inside WP_Query loop to fetch author data
- Specify strict ‘order by’ in WordPress query
- Display if author page is author page of current user
- How to set up hierarchical relationships without using plugins / meta query
- how to get Nearby zipcode
- Get user first name from custom endpoint
- Does WordPress have something like Drupal’s DB API?
- Using Transients
- Slow Query On Search
- how to write wordpress query for multiple metakeys checking?
- Wpdb->query result show 1 but is not an integer
- Why having more than 10 clauses in WP_Query results in some outputs being dropped?
- Create one-use post dynamically, add to main query, do not insert post (user profile view)
- Retrieve data from wordpress db via input and put those result in dropdown
- WP Query – filtering terms with regex
- WP_Query with page_ids in arguments without a result
- Function to retrieve IDs of posts, cache results, and improve wp_query
- Issue with data array format
- Query to get last posts from authors of blog
- Query pages created by deleted users
- Query posts by post type, author and post meta
- Random users always showing same 8 users
- Why last row deleted when refresh page
- Query a database based on form input then output to another page [closed]
- wp query search multi terms
- How to get meta key list efficiently?
- How to get user avatar via WPDB
- How to extend WP_query to a specific table?
- Fix wp_term_relationships slow query in get_posts
- Translating WP query into to SQL query
- Set “editor” role to existing user
- update_post_meta performance in a loop woocommerce
- update_post_meta performance in a loop woocommerce
- How to query 5 users in random who have published more than 10 posts
- How to query users by post count no less than 10
- Merge wp-query and get_users
- WP_Term_Query->get_terms() very slow query for WordPress filter
- Get all wp_users sort by metakey
- Separate by Category Post Type
- Logging search queries for logged-in users
- I removed the “wp_rm_logs” table and am constantly getting this error
- List users by Year of Birth using a foreach loop to dynamically populate years and data
- Track write actions to the database
- Show subscriber id in loop
- Include post_status check within $wpdb query
- wpdb get_results() returns only 2 rows
- Website goes slow down after importing long database
- WP_Query always returning the last custom post
- option select form always deleting the sql query
- Optimising amount of calls to custom fields
- Query Users by post count, last 30 days and display each users post count according to post type
- Get users query makes the site loading time too big?
- 294 Queries on Mainpage of WordPress
- how to add limit records in wordpress query
- Get all user with both meta_value
- Custom WP_query in Jnews theme returns thousands of posts
- WP_Query by meta key not returning any posts
- SQL query into to WP query
- WP_Query and next_posts_link
- add_filter(‘query_vars’) not working in custom template
- Slow getting posts from category