Basics::Commit
Commit the transactions created since last Basics::Begin Sintaxe namespace ProtocolLive\PhpLiveDb; function Basics::Commit():void; See more - Begin - Rollback - Types Example
$Db->Begin();
* The variable $Db are created in PhpLiveDb::__construct
$consult = $Db->Insert('users'); $consult->FieldAdd('email', 'a@a.com', Types::Str); $consult->FieldAdd('password', '123', Types::Str); $consult->Run(); $Db->Commit(); |