File: yada.trx.3

package info (click to toggle)
libyada 1.0.2-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,692 kB
  • ctags: 1,463
  • sloc: sh: 11,256; ansic: 8,100; makefile: 551; yacc: 315
file content (32 lines) | stat: -rw-r--r-- 889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.TH "yada.trx" 3
.SH NAME
yada transaction functions
.SH SYNOPSIS
.nf
.B #include <yada.h>
.sp
.BI "int yada.trx(yada_t *" yada_rc ", int " flags );
.br
.BI "void yada.commit(yada_t *" yada ");"
.br
.BI "void yada.rollback(yada_t *" yada ", int "flags );"
.sp
.fi
.SH 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.
.PP
These are the transaction handling functions for yada.
.PP
\fBtrx()\fP begins a transaction, flags (currently unused) will allow
you to start different types of transactions.
.PP
\fBcommit()\fP commits a transaction causing any changes made to be saved.
.PP
\fBrollback()\fP rolls back the transaction undoing any transactional changes.
.PP
.SH "SEE ALSO"
.BR yada (3)