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.
“
The character set named utf8 uses a maximum of three bytes per... read more
Best method to change Laravel's default timestamps: Step 1: Override const in specific... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
Fix spanish translations (email sent sep 10) login mods (email sent march 2) add... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Leave a Reply