update_data_from_db_full
Description:
Update object's properties' values with the ones in the database.
Take '::pkey' or '::id' marked property, by its nick, to generate the query.
Use @param use_pkey to ignore the '::id' marked properties and use the '::pkey' ones: useful when you already knows the primary key of the row and you want to update the fields marked as '::id'.
Parameters:
use_pkey |
enable using primary keys to generate queries, if false use '::id' ones |