How does the entities table work?

Mario Malafronte Posted in Technical Support 2 years ago

Could someone explain to me the operation of the entities table and the entities metadata table?

Replies
Indonesian Arsalan Shah Replied 2 years ago

Entities store extra stuff that are not covered by a standard object definition. Example Users standard definition in database is first name, last name , email etc and some details like phone number , gender not covered, every extra attributes stored in the entities and the actual values store in metadata.

$u = user object
$u->data->extra_param = abc;
$u->save();

$u = fetch u
echo $u->extra_param;