File: ovrimos.xml

package info (click to toggle)
phpdoc 20020310-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 35,272 kB
  • ctags: 354
  • sloc: xml: 799,767; php: 1,395; cpp: 500; makefile: 200; sh: 140; awk: 51
file content (771 lines) | stat: -rw-r--r-- 25,543 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
<?xml version="1.0" encoding="utf-8"?>
 <reference id="ref.ovrimos">
  <title>Ovrimos SQL functions</title>
  <titleabbrev>OvrimosSQL</titleabbrev>

  <partintro>
   <para>
    Ovrimos SQL Server, is a client/server, transactional RDBMS
    combined with Web capabilities and fast transactions.
   </para>
   <para>
    Ovrimos SQL Server is available at <ulink
    url="&url.ovrimos;">www.ovrimos.com</ulink>.  To enable ovrimos
    support in PHP just compile php with the '--with-ovrimos'
    parameter to configure script. You'll need to install the sqlcli
    library available in the Ovrimos SQL Server distribution.
   </para>
   <para>
    <example>
     <title>
      Connect to Ovrimos SQL Server and select from a system table
     </title>
     <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("server.domain.com", "8001", "admin", "password");
if ($conn != 0) {
    echo ("Connection ok!");
    $res = ovrimos_exec ($conn, "select table_id, table_name from sys.tables");
    if ($res != 0) {
        echo "Statement ok!";
        ovrimos_result_all ($res);
        ovrimos_free_result ($res);
    }
    ovrimos_close($conn);
}
?&gt;
     </programlisting>
    </example>
    This will just connect to SQL Server.
   </para>
  </partintro>
  
  <refentry id="function.ovrimos-connect">
   <refnamediv>
    <refname>ovrimos_connect</refname>
    <refpurpose>Connect to the specified database</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_connect</methodname>
      <methodparam><type>string</type><parameter>host</parameter></methodparam>
      <methodparam><type>string</type><parameter>db</parameter></methodparam>
      <methodparam><type>string</type><parameter>user</parameter></methodparam>
      <methodparam><type>string</type><parameter>password</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_connect</function> is used to connect to the
     specified database.
    </para>
    <para>
     <function>ovrimos_connect</function> returns a connection id
     (greater than 0) or 0 for failure. The meaning of 'host' and
     'port' are those used everywhere in Ovrimos APIs. 'Host' is a
     host name or IP address and 'db' is either a database name, or a
     string containing the port number.
    </para>
    <para>
     <example>
      <title><function>ovrimos_connect</function> Example</title>
      <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("server.domain.com", "8001", "admin", "password");
if ($conn != 0) {
    echo "Connection ok!";
    $res=ovrimos_exec ($conn, "select table_id, table_name from sys.tables");
    if ($res != 0) {
        echo "Statement ok!";
        ovrimos_result_all ($res);
        ovrimos_free_result ($res);
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
     The above example will connect to the database and print out the
     specified table.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-close">
   <refnamediv>
    <refname>ovrimos_close</refname>
    <refpurpose>Closes the connection to ovrimos</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>void</type><methodname>ovrimos_close</methodname>
      <methodparam><type>int</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_close</function> is used to close the specified
     connection.
    </para>
    <para>
     <function>ovrimos_close</function> closes a connection to
     Ovrimos. This has the effect of rolling back uncommitted
     transactions.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-close-all">
   <refnamediv>
    <refname>ovrimos_close_all</refname>
    <refpurpose>Closes all the connections to ovrimos</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>void</type><methodname>ovrimos_close_all</methodname>
      <void/>
     </methodsynopsis>
    <para>
     <function>ovrimos_close_all</function> is used to close all the
     connections.
    </para>
    <para>
     <function>ovrimos_close_all</function> closes all connections to
     Ovrimos. This has the effect of rolling back uncommitted
     transactions.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-longreadlen">
   <refnamediv>
    <refname>ovrimos_longreadlen</refname>
    <refpurpose>
     Specifies how many bytes are to be retrieved from long datatypes
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_longreadlen</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>int</type><parameter>length</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_longreadlen</function> is used to specify how
     many bytes are to be retrieved from long datatypes.
    </para>
    <para>
     <function>ovrimos_longreadlen</function> specifies how many bytes
     are to be retrieved from long datatypes (long varchar and long
     varbinary). Default is zero. Regardless of its taking a result_id
     as an argument, it currently sets this parameter for all result
     sets. Returns &true;.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-prepare">
   <refnamediv>
    <refname>ovrimos_prepare</refname>
    <refpurpose>Prepares an SQL statement</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_prepare</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
      <methodparam><type>string</type><parameter>query</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_prepare</function> is used to prepare an SQL statement.
    </para>
    <para>
     <function>ovrimos_prepare</function> prepares an SQL statement
     and returns a result_id (or &false; on failure).
    </para>
   <para>
    <example>
     <title>Connect to Ovrimos SQL Server and prepare a statement</title>
     <programlisting role="php">
&lt;?php
$conn=ovrimos_connect ("db_host", "8001", "admin", "password");
if ($conn!=0) {
    echo "Connection ok!";
    $res=ovrimos_prepare ($conn, "select table_id, table_name 
                                  from sys.tables where table_id=1");
    if ($res != 0) {
        echo "Prepare ok!";
        if (ovrimos_execute ($res)) {
            echo "Execute ok!\n";
            ovrimos_result_all ($res);
        } else {
            echo "Execute not ok!";
        }
        ovrimos_free_result ($res);
    } else {
        echo "Prepare not ok!\n";
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
     This will connect to Ovrimos SQL Server, prepare a statement and
     the execute it.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-execute">
   <refnamediv>
    <refname>ovrimos_execute</refname>
    <refpurpose>Executes a prepared SQL statement</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_execute</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam choice="opt"><type>array</type><parameter>parameters_array</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_execute</function> is used to execute an SQL
     statement.
    </para>
    <para>
     <function>ovrimos_execute</function> executes a prepared
     statement. Returns &true; or &false;. If the prepared statement
     contained parameters (question marks in the statement), the
     correct number of parameters should be passed in an array. Notice
     that I don't follow the PHP convention of placing just the name
     of the optional parameter inside square brackets. I couldn't
     bring myself on liking it.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-cursor">
   <refnamediv>
    <refname>ovrimos_cursor</refname>
    <refpurpose>Returns the name of the cursor</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_cursor</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_cursor</function> is used to get the name of
     the cursor.
    </para>
    <para>
     <function>ovrimos_cursor</function> returns the name of the
     cursor. Useful when wishing to perform positioned updates or
     deletes.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-exec">
   <refnamediv>
    <refname>ovrimos_exec</refname>
    <refpurpose>Executes an SQL statement</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_exec</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
      <methodparam><type>string</type><parameter>query</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_exec</function> is used to execute an SQL
     statement.
    </para>
    <para>
     <function>ovrimos_exec</function> executes an SQL statement
     (query or update) and returns a result_id or &false;.  Evidently,
     the SQL statement should not contain parameters.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-fetch-into">
   <refnamediv>
    <refname>ovrimos_fetch_into</refname>
    <refpurpose>Fetches a row from the result set</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_fetch_into</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>array</type><parameter>result_array</parameter></methodparam>
      <methodparam choice="opt"><type>string</type><parameter>how</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_fetch_into</function> is used to fetch a row
     from the result set.
    </para>
    <para>
     <function>ovrimos_fetch_into</function> fetches a row from the
     result set into 'result_array', which should be passed by
     reference. Which row is fetched is determined by the two last
     parameters.  'how' is one of 'Next' (default), 'Prev', 'First',
     'Last', 'Absolute', corresponding to forward direction from
     current position, backward direction from current position,
     forward direction from the start, backward direction from the end
     and absolute position from the start (essentially equivalent to
     'first' but needs 'rownumber'). Case is not
     significant. 'Rownumber' is optional except for absolute
     positioning. Returns &true; or &false;.
    </para>
    <para>
     <example>
      <title>A fetch into example</title>
      <programlisting role="php">
&lt;?php
$conn=ovrimos_connect ("neptune", "8001", "admin", "password");
if ($conn!=0) {
    echo "Connection ok!";
    $res=ovrimos_exec ($conn,"select table_id, table_name from sys.tables");
    if ($res != 0) {
        echo "Statement ok!";
        if (ovrimos_fetch_into ($res, &amp;$row)) {
            list ($table_id, $table_name) = $row;
            echo "table_id=".$table_id.", table_name=".$table_name."\n";
            if (ovrimos_fetch_into ($res, &amp;$row)) {
                list ($table_id, $table_name) = $row;
                echo "table_id=".$table_id.", table_name=".$table_name."\n";
            } else {
                echo "Next: error\n";
            }
        } else {
            echo "First: error\n";
        }
        ovrimos_free_result ($res);
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
     This example will fetch a row.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-fetch-row">
   <refnamediv>
    <refname>ovrimos_fetch_row</refname>
    <refpurpose>Fetches a row from the result set</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_fetch_row</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>how</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>row_number</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_fetch_row</function> is used to fetch a row
     from the result set.
    </para>
    <para>
     <function>ovrimos_fetch_row</function> fetches a row from the
     result set. Column values should be retrieved with other
     calls. Returns &true; or &false;.
    </para>
    <para>
     <example>
      <title>A fetch row example</title>
      <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("remote.host", "8001", "admin", "password");
if ($conn != 0) {
    echo "Connection ok!";
    $res=ovrimos_exec ($conn, "select table_id, table_name from sys.tables");
    if ($res != 0) {
        echo "Statement ok!";
        if (ovrimos_fetch_row ($res, "First")) {
            $table_id = ovrimos_result ($res, 1);
            $table_name = ovrimos_result ($res, 2);
            echo "table_id=".$table_id.", table_name=".$table_name."\n";
            if (ovrimos_fetch_row ($res, "Next")) {
                $table_id = ovrimos_result ($res, "table_id");
                $table_name = ovrimos_result ($res, "table_name");
                echo "table_id=".$table_id.", table_name=".$table_name."\n";
            } else {
                echo "Next: error\n";
            }
        } else {
            echo "First: error\n";
        }
        ovrimos_free_result ($res);
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
     This will fetch a row and print the result.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-result">
   <refnamediv>
    <refname>ovrimos_result</refname>
    <refpurpose>Retrieves the output column</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_result</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>mixed</type><parameter>field</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_result</function> is used to retrieve the
     output column.
    </para>
    <para>
     <function>ovrimos_result</function> retrieves the output column
     specified by 'field', either as a string or as an 1-based index.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-result-all">
   <refnamediv>
    <refname>ovrimos_result_all</refname>
    <refpurpose>
     Prints the whole result set as an HTML table
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_result_all</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam choice="opt"><type>string</type><parameter>format</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_result_all</function> is used to print an HTML
     table containing the whole result set.
    </para>
    <para>
     <function>ovrimos_result_all</function> prints the whole result
     set as an HTML table. Returns &true; or &false;.
    </para>
    <para>
     <example>
      <title>Prepare a statement, execute, and view the result</title>
      <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("db_host", "8001", "admin", "password");
if ($conn != 0) {
    echo "Connection ok!";
    $res = ovrimos_prepare ($conn, "select table_id, table_name 
                                    from sys.tables where table_id = 7");
    if ($res != 0) {
        echo "Prepare ok!";
        if (ovrimos_execute ($res, array(3))) {
            echo "Execute ok!\n";
            ovrimos_result_all ($res);
        } else {
            echo "Execute not ok!";
        }
        ovrimos_free_result ($res);
    } else {
        echo "Prepare not ok!\n";
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
     This will execute an SQL statement and print the result in an
     HTML table.
    </para>
    <para>
     <example>
      <title>Ovrimos_result_all with meta-information</title>
      <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("db_host", "8001", "admin", "password");
if ($conn != 0) {
    echo "Connection ok!";
    $res = ovrimos_exec ($conn, "select table_id, table_name 
                                 from sys.tables where table_id = 1")
    if ($res != 0) {
        echo "Statement ok! cursor=".ovrimos_cursor ($res)."\n";
        $colnb = ovrimos_num_fields ($res);
        echo "Output columns=".$colnb."\n";
        for ($i=1; $i&lt;=$colnb; $i++) {
            $name = ovrimos_field_name ($res, $i);
            $type = ovrimos_field_type ($res, $i);
            $len = ovrimos_field_len ($res, $i);  
            echo "Column ".$i." name=".$name." type=".$type." len=".$len."\n";
        }
        ovrimos_result_all ($res);
        ovrimos_free_result ($res);
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
    </para>
    <para>
     <example>
      <title>ovrimos_result_all example</title>
      <programlisting role="php">
&lt;?php
$conn = ovrimos_connect ("db_host", "8001", "admin", "password");
if ($conn != 0) {
    echo "Connection ok!";
    $res = ovrimos_exec ($conn, "update test set i=5");
    if ($res != 0) {
        echo "Statement ok!";
        echo ovrimos_num_rows ($res)." rows affected\n";
        ovrimos_free_result ($res);
    }
    ovrimos_close ($conn);
}
?&gt;
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-num-rows">
   <refnamediv>
    <refname>ovrimos_num_rows</refname>
    <refpurpose>
     Returns the number of rows affected by update operations
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_num_rows</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_num_rows</function> is used to get the number
     of rows affected by update operations.
    </para>
    <para>
     <function>ovrimos_num_rows</function> returns the number of rows
     affected by update operations.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-num-fields">
   <refnamediv>
    <refname>ovrimos_num_fields</refname>
    <refpurpose>Returns the number of columns</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_num_fields</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_num_fields</function> is used to get the number
     of columns.
    </para>
    <para>
     <function>ovrimos_num_fields</function> returns the number of
     columns in a result_id resulting from a query.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-name">
   <refnamediv>
    <refname>ovrimos_field_name</refname>
    <refpurpose>Returns the output column name</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_field_name</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>int</type><parameter>field_number</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_field_name</function> is used to get the output
     column name.
    </para>
    <para>
     <function>ovrimos_field_name</function> returns the output column
     name at the (1-based) index specified.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-type">
   <refnamediv>
    <refname>ovrimos_field_type</refname>
    <refpurpose>
     Returns the (numeric) type of the output column
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_field_type</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>int</type><parameter>field_number</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_field_type</function> is used to get the
     (numeric) type of the output column.
    </para>
    <para>
     <function>ovrimos_field_type</function> returns the (numeric)
     type of the output column at the (1-based) index specified.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-len">
   <refnamediv>
    <refname>ovrimos_field_len</refname>
    <refpurpose>Returns the length of the output column</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_field_len</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>int</type><parameter>field_number</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_field_len</function> is used to get the length
     of the output column.
    </para>
    <para>
     <function>ovrimos_field_len</function> returns the length of the
     output column at the (1-based) index specified.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-num">
   <refnamediv>
    <refname>ovrimos_field_num</refname>
    <refpurpose>
     Returns the (1-based) index of the output column
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_field_num</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>string</type><parameter>field_name</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_field_num</function> is used to get the
     (1-based) index of the output column.
    </para>
    <para>
     <function>ovrimos_field_num</function> returns the (1-based)
     index of the output column specified by name, or &false;.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-free-result">
   <refnamediv>
    <refname>ovrimos_free_result</refname>
    <refpurpose>Frees the specified result_id</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_free_result</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_free_result</function> is used to free the
     result_id.
    </para>
    <para>
     <function>ovrimos_free_result</function> frees the specified
     result_id. Returns &true;.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-commit">
   <refnamediv>
    <refname>ovrimos_commit</refname>
    <refpurpose>Commits the transaction</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_commit</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_commit</function> is used to commit the
     transaction.
    </para>
    <para>
     <function>ovrimos_commit</function> commits the transaction.
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-rollback">
   <refnamediv>
    <refname>ovrimos_rollback</refname>
    <refpurpose>Rolls back the transaction</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_rollback</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_rollback</function> is used to roll back the
     transaction.
    </para>
    <para>
     <function>ovrimos_rollback</function> rolls back the transaction.
    </para>
    </refsect1>
  </refentry>
          
 </reference> 

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->