TwistPHP Documentation

autoCommit

File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

autoCommitChange the status of autocommit on the current database connection

Parameters

Name Type Description
[$blStatus = true]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$blStatus true;

//Call the function autoCommit with the example vars
Twist::Database() -> autoCommit($blStatus);