update_data_from_db_full


Description:

public virtual async void update_data_from_db_full (bool use_pkey = false) throws Error

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