Poster of Linux kernelThe best gift for a Linux geek
yada.trx

yada.trx

Section: C Library Functions (3)
Local index Up
 

NAME

yada transaction functions  

SYNOPSIS

#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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:40:47 GMT, April 16, 2011