Insert Statement
Insert data in table
First parameter is the table name without table prefix.
$db::insert('querybuilder', [
[
'name' => 'Keramot UL Islam',
'email' => 'keramotul.@gmail.com',
]
]);
Bulk insertion is also available.
$db::insert('querybuilder', [
[
'name' => 'Keramot UL Islam',
'email' => 'keramotul.@gmail.com',
],
[
'name' => 'CodesVault',
'email' => 'codesvault.@gmail.com',
]
]);