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 (786 lines) | stat: -rw-r--r-- 27,714 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
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
<?xml version="1.0" encoding="utf-8"?>
 <reference id="ref.ovrimos">
  <title>Ovrimos SQL 関数</title>
  <titleabbrev>OvrimosSQL</titleabbrev>

  <partintro>
   <para>
    Ovrimos SQL サーバーはクライアント/サーバー、Webに対応し、高速なト
    ランザクション処理が可能なトランザクション RDBMS です。
   </para>
   <para>
    Ovrimos SQL サーバーは、<ulink
    url="&url.ovrimos;">www.ovrimos.com</ulink> で入手可能です。PHPで
    ovrimos サポートを有効にするには、パラメータ '--with-ovrimos' を
    configure スクリプトに指定してPHPを再コンパイルします。Ovrimos SQL
    サーバー配布ファイルから入手可能なsqlcliライブラリをインストールす
    る必要があります。
   </para>
   <para>
    <example>
     <title>
      Ovrimos SQL サーバーに接続し、システムテーブルから select クエリ
      を実行する
     </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>
    この例は、SQLサーバーに接続するだけのものです。
   </para>
  </partintro>
  
  <refentry id="function.ovrimos-connect">
   <refnamediv>
    <refname>ovrimos_connect</refname>
    <refpurpose>指定したデータベースに接続する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は指定したデータベースに接続
     するために使用されます。
    </para>
    <para>
     <function>ovrimos_connect</function> は(0より大きい)接続ID、失敗
     した場合に0を返します。'host'および'port'の指定は、Ovrimos API の
     あらゆる場所で使用されるものです。'host'はホスト名またはIPアドレ
     スであり、'db'はデータベースまたはポート番号を有する文字列です。
    </para>
    <para>
     <example>
      <title><function>ovrimos_connect</function> の例</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>
     上記の例はデータベースに接続し、指定したテーブルを出力します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-close">
   <refnamediv>
    <refname>ovrimos_close</refname>
    <refpurpose>ovrimosへの接続を閉じる</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>void</type><methodname>ovrimos_close</methodname>
      <methodparam><type>int</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_close</function> は指定した接続を閉じるために使
     用されます。
    </para>
    <para>
     <function>ovrimos_close</function> は、Ovrimos への接続を閉じます。
     これによりコミットされていないトランザクションはロールバックされ
     ます。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-close-all">
   <refnamediv>
    <refname>ovrimos_close_all</refname>
    <refpurpose>ovrimosへの接続を全て閉じる</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>void</type><methodname>ovrimos_close_all</methodname>
      <void/>
     </methodsynopsis>
    <para>
     <function>ovrimos_close_all</function> は接続を全て閉じるために使
     用されます。
    </para>
    <para>
     <function>ovrimos_close_all</function> は、Ovrimos への接続を全て
     閉じます。これによりコミットされていないトランザクションはロール
     バックされます。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-longreadlen">
   <refnamediv>
    <refname>ovrimos_longreadlen</refname>
    <refpurpose>
     longデータ型から取得されるバイト数を指定する
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は long データ型から取得
     されるバイト数を指定するために使用されます。
    </para>
    <para>
     <function>ovrimos_longreadlen</function> は、long データ型(long
     varcharとlong varbinary))から取得されるバイト数を指定します。デフォ
     ルトはゼロです。引数として特定の result_id をとりますが、この関数
     は現在このパラメータを全てのクエリ結果に設定します。
     &true;を返します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-prepare">
   <refnamediv>
    <refname>ovrimos_prepare</refname>
    <refpurpose>SQL命令を準備する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> はSQL命令を準備するために使
     用されます。
    </para>
    <para>
     <function>ovrimos_prepare</function> はSQL命令を準備し、result_id
     (失敗した場合に&false;)を返します。
    </para>
   <para>
    <example>
     <title>Ovrimos SQL サーバに接続し、命令を準備する</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>
     この例は、Ovrimos SQL サーバーに接続し、命令を準備し、実行します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-execute">
   <refnamediv>
    <refname>ovrimos_execute</refname>
    <refpurpose>準備されたSQL命令を実行する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ovrimos_execute</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>array</type><parameter>
	<replaceable><optional>parameters_array</optional></replaceable>
       </parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_execute</function> はSQL命令を実行するために使
     用されます。
    </para>
    <para>
     <function>ovrimos_execute</function> は準備された命令を実行します。
     &true;または&false;を返します。
     準備された命令がパラメータ(命令の中の
     疑問符)を有する場合、正しい数のパラメータを配列で指定する必要があ
     りあmす。オプションのパラメータの名前を角括弧の中に置くPHPの流儀
     に従っていないことに注意して下さい。リンクする際にはこのようにし
     ていません。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-cursor">
   <refnamediv>
    <refname>ovrimos_cursor</refname>
    <refpurpose>カーソルの名前を返す</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_cursor</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_cursor</function> はカーソルの名前を得るために
     使用されます。
    </para>
    <para>
     <function>ovrimos_cursor</function> はカーソルの名前を返します。
     位置を指定した update または delete を実行する際に便利です。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-exec">
   <refnamediv>
    <refname>ovrimos_exec</refname>
    <refpurpose>SQL命令を実行する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> はSQL命令を実行するために使用さ
     れます。
    </para>
    <para>
     <function>ovrimos_exec</function> はSQL命令(クエリまたは更新)を実
     行し、result_id または &false; を返します。明らかにSQL命令はパラメー
     タを有するべきではありません。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-fetch-into">
   <refnamediv>
    <refname>ovrimos_fetch_into</refname>
    <refpurpose>結果からレコードを取得する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>boolean</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><type>string</type><parameter>
	<replaceable><optional>how</optional></replaceable>
       </parameter></methodparam>
      <methodparam><type>int</type><parameter>
	<replaceable><optional>rownumber</optional></replaceable>
       </parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_fetch_into</function> は結果からレコードを取得
     するために使用されます。
    </para>
    <para>
     <function>ovrimos_fetch_into</function> はクエリ結果からレコード
     を'result_array'に取得します。この引数は参照として指定する必要が
     あります。取得されるレコードは、最後の二つのパラメータで指定され
     ます。'how'は、'Next'(デフォルト)、'Prev'、'First'、'Last'、
     'Absolute'のどれかであり、それぞれ、現在位置の次、現在位置の前、
     先頭から前方、終端から後方、先頭から絶対位置('first'と本質的に等
     価ですが、'rownumber'が必要)となります。大文字小文字は関係ありま
     せん。'rownumber'は絶対位置を指定する場合以外はオプションです。
     &true;または&false;を返します。
    </para>
    <para>
     <example>
      <title>取得する例</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>
     この例はレコードを1件取得します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-fetch-row">
   <refnamediv>
    <refname>ovrimos_fetch_row</refname>
    <refpurpose>結果からレコードを取得する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ovrimos_fetch_row</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>int</type><parameter>
	<replaceable><optional>how</optional></replaceable>
       </parameter></methodparam>
      <methodparam><type>int</type><parameter>
	<replaceable><optional>row_number</optional></replaceable>
       </parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_fetch_row</function> は結果からレコードを取得す
     るために使用されます。
    </para>
    <para>
     <function>ovrimos_fetch_row</function> は結果からレコードを取得し
     ます。カラムの値は、別の関数により取得する必要があります。
     &true;または&false;を返します。
    </para>
    <para>
     <example>
      <title>レコードを取得する例</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>
     この例は、レコードを1件取得し、結果を出力します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-result">
   <refnamediv>
    <refname>ovrimos_result</refname>
    <refpurpose>出力カラムを取得する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は出力カラムを取得するために
     使用されます。
    </para>
    <para>
     <function>ovrimos_result</function> は 'field' に文字列または、1
     から始まる番号で指定した出力カラムを取得します。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-result-all">
   <refnamediv>
    <refname>ovrimos_result_all</refname>
    <refpurpose>
     結果全体をHTMLテーブルとして出力する
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ovrimos_result_all</methodname>
      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
      <methodparam><type>string</type><parameter>
	<replaceable><optional>format</optional></replaceable>
       </parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_result_all</function> は結果全体を有するHTMLテー
     ブルを出力するために使用されます。
    </para>
    <para>
     <function>ovrimos_result_all</function> は結果をHTMLとして出力し
     ます。&true;または&false;を返し
     ます。
    </para>
    <para>
     <example>
      <title>命令を準備、実行、結果を表示する</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>
     これにより、SQL命令が実行され、結果がHTMLテーブルとして出力されま
     す。
    </para>
    <para>
     <example>
      <title>メタ情報付きの ovrimos_result_all</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 の例</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>
     update 命令により変更されたレコードの数を返す
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は update 命令により変更さ
     れたレコードの数を得るために使用されます。
    </para>
    <para>
     <function>ovrimos_num_rows</function> は update 命令で変更された
     レコードの数を返します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-num-fields">
   <refnamediv>
    <refname>ovrimos_num_fields</refname>
    <refpurpose>カラム数を返す</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> はカラム数を得るために使
     用されます。
    </para>
    <para>
     <function>ovrimos_num_fields</function> は、クエリで得られた
     result_id のカラム数を返します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-name">
   <refnamediv>
    <refname>ovrimos_field_name</refname>
    <refpurpose>出力のカラム名を返す</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は出力のカラム名を得るた
     めに使用されます。
    </para>
    <para>
     <function>ovrimos_field_name</function> は(1から始まる)番号で指定
     した出力のカラム名を返します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-type">
   <refnamediv>
    <refname>ovrimos_field_type</refname>
    <refpurpose>
     出力カラムの(数値)型を返す
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は出力カラムの(数値)型を
     得るために使用されます。
    </para>
    <para>
     <function>ovrimos_field_type</function> は、(1から始まる)番号で指
     定した出力カラムの(数値)型を返します。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-len">
   <refnamediv>
    <refname>ovrimos_field_len</refname>
    <refpurpose>出力カラムの長さを返す</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は出力カラムの長さを得るた
     めに使用されます。
    </para>
    <para>
     <function>ovrimos_field_len</function> は、結果ID
     <parameter>result_id</parameter> の(1から始まる)指定したフィール
     ド番号 <parameter>field_number</parameter> の出力カラムの長さを返
     します。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-field-num">
   <refnamediv>
    <refname>ovrimos_field_num</refname>
    <refpurpose>
     出力カラムから(1から始まる)インデックスを返す
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は出力カラムの(1から始まる)
     インデックスを得るために使用されます。
    </para>
    <para>
     <function>ovrimos_field_num</function> は名前で指定した出力カラム
     の(1から始まる)番号または&false;を返します。
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ovrimos-free-result">
   <refnamediv>
    <refname>ovrimos_free_result</refname>
    <refpurpose>指定したresult_idを開放する</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</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> は result_id を開放する
     ために使用されます。
    </para>
    <para>
     <function>ovrimos_free_result</function> は指定した結果
     ID<parameter>result_id</parameter>を開放します。
     &true;を返します。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-commit">
   <refnamediv>
    <refname>ovrimos_commit</refname>
    <refpurpose>トランザクションをコミットする</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_commit</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_commit</function> はトランザクションをコミット
     するために使用されます。
    </para>
    <para>
     <function>ovrimos_commit</function> はトランザクションをコミット
     します。
    </para>
    </refsect1>
  </refentry>

  <refentry id="function.ovrimos-rollback">
   <refnamediv>
    <refname>ovrimos_rollback</refname>
    <refpurpose>トランザクションをロールバックする</refpurpose>
   </refnamediv>
   <refsect1>
    <title>説明</title>
     <methodsynopsis>
      <type>int</type><methodname>ovrimos_rollback</methodname>
      <methodparam><type>int</type><parameter>connection_id</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ovrimos_rollback</function> はトランザクションをΡ琉バッ
     クするために使用されます。
    </para>
    <para>
     <function>ovrimos_rollback</function> はトランザクションをロール
     バックします。
    </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:
-->