How to run, execute insert query in Drupal 8
“There may be several other possible ways, but I know one simple one and sticked to it.
$db = \Drupal::database();
$db->insert($table_name)->fields($fields_array_key_value_pair)->execute();
Thats it.
“
“There may be several other possible ways, but I know one simple one and sticked to it.
$db = \Drupal::database();
$db->insert($table_name)->fields($fields_array_key_value_pair)->execute();
Thats it.
“
With our data increasingly moving to the cloud, chances are that whenever... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
Procedure is same for windows versions, xp, vista, windows 7, windows 8,... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... read more
One of the reasons why smart phones have become so popular is... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Leave a Reply