PHP Velho Oeste 2024

fbsql_commit

(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)

fbsql_commitCommits a transaction to the database

Descrição

fbsql_commit ( resource $link_identifier = ? ) : bool

Ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking all row and table locks held by the transaction. This command is only needed if autocommit is set to false.

Parâmetros

link_identifier

Um identificador de link FrontBase retornado porfbsql_connect() ou fbsql_pconnect().

Se opcional e não especificado a função tentará localizar um link aberto ao um servidor FrontBase e se nenhum link for encontrado será tentado criar um como se fbsql_connect() fosse chamado sem argumentos.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top