We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Evo Development
Search
[Solved] Which field (column) is always user id in web_user_attributes table?
358 Posts
Uncle68
Reply #1,
19 years, 10 months ago
Hi, a simple question:
In the web_user_attributes table there are two columns that always seems to have the same value: "id" and "internalKey".
But to be really sure, which one of those columns *always* contains the user id?
Need to know it when updating values in that table.
Thanks!
☆ A M B ☆
24,524 Posts
sottwell
Reply #2,
19 years, 10 months ago
internalKey is the actual user ID. The "id" is the id of that particular record in the table, which usually will be the same as the user, but since it’s inserted automatically by auto_increment, it doesn’t have to be.
Studying MODX in the desert -
http://sottwell.com
Tips and Tricks from the MODX Forums and Slack Channels -
http://modxcookbook.com
Join the Slack Community -
http://modx.org
358 Posts
Uncle68
Reply #3,
19 years, 10 months ago
Thank you