PHP » GoLang |
login |
register |
about
|
GoLang mysqli::autocommit
request it (423)
GoLang replacement for PHP's mysqli::autocommit
[edit | history]
mysqli::autocommitmysqli_autocommit(PHP 5, PHP 7) mysqli::autocommit -- mysqli_autocommit — Turns on or off auto-committing database modifications DescriptionObject oriented style
bool mysqli::autocommit
( bool
$mode
)Procedural style Turns on or off auto-commit mode on queries for the database connection. To determine the current state of autocommit use the SQL command SELECT @@autocommit. Parameters
Return Values
Returns Notes
ExamplesExample #1 mysqli::autocommit() example Object oriented style
<?php Procedural style
<?php The above examples will output: Autocommit is 1 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|