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.
“
After a lots of headache, I find the solutions. I am using... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
While Google is quite generous in giving each user a lot of... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
A recent research report has revealed that more than 90% of all... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
As per official bootstrap documentation about "sr-only CSS class":
Leave a Reply
You must be logged in to post a comment.