Rechercher une page de manuel
yada.trx
Langue: en
Version: 268326 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
yada transaction functionsSYNOPSIS
#include <yada.h> int yada.trx(yada_t *yada_rc, int flags);
void yada.commit(yada_t *yada);
void yada.rollback(yada_t *yada, int flags);
DESCRIPTION
Yada is a database abstraction library aimed at allowing transparent use of multiple databases. To accomplish this, it uses a compatability layer of functions to bind input and output variables, prepare statements, and retreive data.These are the transaction handling functions for yada.
trx() begins a transaction, flags (currently unused) will allow you to start different types of transactions.
commit() commits a transaction causing any changes made to be saved.
rollback() rolls back the transaction undoing any transactional changes.
SEE ALSO
yada(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre