Debian Codegraph @

doc/programmers-guide/index.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Database Independent Abstraction Layer for C</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9 REL="NEXT"
10 TITLE="Introduction"
11 HREF="intro.html"></HEAD
12 ><BODY
13 CLASS="BOOK"
14 BGCOLOR="#FFFFFF"
15 TEXT="#000000"
16 LINK="#0000FF"
17 VLINK="#840084"
18 ALINK="#0000FF"
19 ><DIV
20 CLASS="BOOK"
21 ><A
22 NAME="PROGRAMMERS-GUIDE"
23 ></A
24 ><DIV
25 CLASS="TITLEPAGE"
26 ><H1
27 CLASS="TITLE"
28 ><A
29 NAME="AEN2"
30 >Database Independent Abstraction Layer for C</A
31 ></H1
32 ><H2
33 CLASS="SUBTITLE"
34 >libdbi Programmer's Guide</H2
35 ><H3
36 CLASS="AUTHOR"
37 ><A
38 NAME="AEN5"
39 ></A
40 >David A. Parker</H3
41 ><DIV
42 CLASS="AFFILIATION"
43 ><SPAN
44 CLASS="ORGNAME"
45 >Neon Goat Productions<BR></SPAN
46 ><DIV
47 CLASS="ADDRESS"
48 ><P
49 CLASS="ADDRESS"
50 ><CODE
51 CLASS="EMAIL"
52 >&#60;<A
53 HREF="mailto:[email protected]"
54 >[email protected]</A
55 >&#62;</CODE
56 ></P
57 ></DIV
58 ></DIV
59 ><H3
60 CLASS="AUTHOR"
61 ><A
62 NAME="AEN13"
63 ></A
64 >Markus Hoenicka</H3
65 ><DIV
66 CLASS="AFFILIATION"
67 ><DIV
68 CLASS="ADDRESS"
69 ><P
70 CLASS="ADDRESS"
71 ><CODE
72 CLASS="EMAIL"
73 >&#60;<A
74 HREF="mailto:[email protected]"
75 >[email protected]</A
76 >&#62;</CODE
77 ></P
78 ></DIV
79 ></DIV
80 ><P
81 CLASS="COPYRIGHT"
82 >Copyright &copy; 2001-2013 David Parker, Neon Goat Productions, Markus Hoenicka</P
83 ><DIV
84 ><DIV
85 CLASS="ABSTRACT"
86 ><P
87 ></P
88 ><A
89 NAME="AEN30"
90 ></A
91 ><P
92 > libdbi implements a database-independent abstraction layer in C,
93 similar to the DBI/DBD layer in Perl. Writing one generic set of code,
94 programmers can leverage the power of multiple databases and multiple
95 simultaneous database connections by using this framework.
96 </P
97 ><P
98 ></P
99 ></DIV
100 ></DIV
101 ><DIV
102 CLASS="LEGALNOTICE"
103 ><P
104 ></P
105 ><A
106 NAME="AEN25"
107 ></A
108 ><P
109 > Permission is granted to copy, distribute and/or modify this
110 document under the terms of the <A
111 HREF="copying-fdl.html"
112 > <I
113 CLASS="CITETITLE"
114 >GNU Free Documentation License</I
115 ></A
116 >,
117 Version 1.1 or any later version published by the Free Software
118 Foundation; with no Invariant Sections, with no Front-Cover Texts,
119 and with no Back-Cover Texts. A copy of the license is included in
120 <A
121 HREF="copying-fdl.html"
122 >Appendix A</A
123 >.
124 </P
125 ><P
126 ></P
127 ></DIV
128 ><HR></DIV
129 ><DIV
130 CLASS="TOC"
131 ><DL
132 ><DT
133 ><B
134 >Table of Contents</B
135 ></DT
136 ><DT
137 >1. <A
138 HREF="intro.html"
139 >Introduction</A
140 ></DT
141 ><DD
142 ><DL
143 ><DT
144 >1.1. <A
145 HREF="description.html"
146 >Description</A
147 ></DT
148 ><DT
149 >1.2. <A
150 HREF="terminology.html"
151 >libdbi Concepts and Terminology</A
152 ></DT
153 ><DT
154 >1.3. <A
155 HREF="gnugpl.html"
156 >Modifications and redistribution of libdbi</A
157 ></DT
158 ><DT
159 >1.4. <A
160 HREF="contact.html"
161 >Contact Info</A
162 ></DT
163 ></DL
164 ></DD
165 ><DT
166 >2. <A
167 HREF="buildinstall.html"
168 >Building and Installing libdbi</A
169 ></DT
170 ><DT
171 >3. <A
172 HREF="quickstart.html"
173 >libdbi in a Nutshell (Quickstart Guide)</A
174 ></DT
175 ><DD
176 ><DL
177 ><DT
178 >3.1. <A
179 HREF="quickstart-debriefing.html"
180 >Quick Overview</A
181 ></DT
182 ><DT
183 >3.2. <A
184 HREF="quickstart-code.html"
185 >Generic Example Program</A
186 ></DT
187 ><DT
188 >3.3. <A
189 HREF="loadinglibdbi.html"
190 >Loading libdbi at runtime</A
191 ></DT
192 ><DT
193 >3.4. <A
194 HREF="threads.html"
195 >Using libdbi in multithreaded applications</A
196 ></DT
197 ><DT
198 >3.5. <A
199 HREF="addtoproject.html"
200 >Adding libdbi to your project</A
201 ></DT
202 ></DL
203 ></DD
204 ><DT
205 >4. <A
206 HREF="errorhandling.html"
207 >Error Handling</A
208 ></DT
209 ><DD
210 ><DL
211 ><DT
212 >4.1. <A
213 HREF="connerrors.html"
214 >Connection error numbers and messages</A
215 ></DT
216 ><DT
217 >4.2. <A
218 HREF="errornumbers.html"
219 >Error numbers</A
220 ></DT
221 ></DL
222 ></DD
223 ><DT
224 >5. <A
225 HREF="transactions-savepoints.html"
226 >Transactions and Savepoints</A
227 ></DT
228 ><DD
229 ><DL
230 ><DT
231 >5.1. <A
232 HREF="transactions.html"
233 >Transactions</A
234 ></DT
235 ><DT
236 >5.2. <A
237 HREF="savepoints.html"
238 >Savepoints</A
239 ></DT
240 ></DL
241 ></DD
242 ><DT
243 >6. <A
244 HREF="versioning.html"
245 >Library and Interface Versions</A
246 ></DT
247 ><DD
248 ><DL
249 ><DT
250 >6.1. <A
251 HREF="package-library-version.html"
252 >Package and library versions</A
253 ></DT
254 ><DT
255 >6.2. <A
256 HREF="libdbi-and-drivers-versions.html"
257 >libdbi and libdbi-drivers versions</A
258 ></DT
259 ><DT
260 >6.3. <A
261 HREF="version-at-runtime.html"
262 >Determining the library version at runtime</A
263 ></DT
264 ></DL
265 ></DD
266 ><DT
267 >7. <A
268 HREF="reference.html"
269 >libdbi API Reference</A
270 ></DT
271 ><DD
272 ><DL
273 ><DT
274 >7.1. <A
275 HREF="reference-core.html"
276 >Instance Infrastructure</A
277 ></DT
278 ><DD
279 ><DL
280 ><DT
281 >7.1.1. <A
282 HREF="reference-core.html#DBI-INITIALIZE-R"
283 >dbi_initialize_r</A
284 ></DT
285 ><DT
286 >7.1.2. <A
287 HREF="reference-core.html#DBI-INITIALIZE"
288 >dbi_initialize</A
289 ></DT
290 ><DT
291 >7.1.3. <A
292 HREF="reference-core.html#DBI-SHUTDOWN-R"
293 >dbi_shutdown_r</A
294 ></DT
295 ><DT
296 >7.1.4. <A
297 HREF="reference-core.html#DBI-SHUTDOWN"
298 >dbi_shutdown</A
299 ></DT
300 ><DT
301 >7.1.5. <A
302 HREF="reference-core.html#DBI-SET-VERBOSITY-R"
303 >dbi_set_verbosity_r</A
304 ></DT
305 ><DT
306 >7.1.6. <A
307 HREF="reference-core.html#DBI-SET-VERBOSITY"
308 >dbi_set_verbosity</A
309 ></DT
310 ><DT
311 >7.1.7. <A
312 HREF="reference-core.html#DBI-VERSION"
313 >dbi_version</A
314 ></DT
315 ><DT
316 >7.1.8. <A
317 HREF="reference-core.html#DBI-VERSION-NUMERIC"
318 >dbi_version_numeric</A
319 ></DT
320 ></DL
321 ></DD
322 ><DT
323 >7.2. <A
324 HREF="reference-driver.html"
325 >Driver Infrastructure</A
326 ></DT
327 ><DD
328 ><DL
329 ><DT
330 >7.2.1. <A
331 HREF="reference-driver.html#DBI-DRIVER-LIST-R"
332 >dbi_driver_list_r</A
333 ></DT
334 ><DT
335 >7.2.2. <A
336 HREF="reference-driver.html#DBI-DRIVER-LIST"
337 >dbi_driver_list</A
338 ></DT
339 ><DT
340 >7.2.3. <A
341 HREF="reference-driver.html#DBI-DRIVER-OPEN-R"
342 >dbi_driver_open_r</A
343 ></DT
344 ><DT
345 >7.2.4. <A
346 HREF="reference-driver.html#DBI-DRIVER-OPEN"
347 >dbi_driver_open</A
348 ></DT
349 ><DT
350 >7.2.5. <A
351 HREF="reference-driver.html#DBI-DRIVER-GET-INSTANCE"
352 >dbi_driver_get_instance</A
353 ></DT
354 ><DT
355 >7.2.6. <A
356 HREF="reference-driver.html#DBI-DRIVER-IS-RESERVED-WORD"
357 >dbi_driver_is_reserved_word</A
358 ></DT
359 ><DT
360 >7.2.7. <A
361 HREF="reference-driver.html#DBI-DRIVER-SPECIFIC-FUNCTION"
362 >dbi_driver_specific_function</A
363 ></DT
364 ><DT
365 >7.2.8. <A
366 HREF="reference-driver.html#DBI-DRIVER-QUOTE-STRING"
367 >dbi_driver_quote_string</A
368 ></DT
369 ><DT
370 >7.2.9. <A
371 HREF="reference-driver.html#DBI-DRIVER-QUOTE-STRING-COPY"
372 >dbi_driver_quote_string_copy</A
373 ></DT
374 ><DT
375 >7.2.10. <A
376 HREF="reference-driver.html#DBI-DRIVER-ENCODING-FROM-IANA"
377 >dbi_driver_encoding_from_iana</A
378 ></DT
379 ><DT
380 >7.2.11. <A
381 HREF="reference-driver.html#DBI-DRIVER-ENCODING-TO-IANA"
382 >dbi_driver_encoding_to_iana</A
383 ></DT
384 ><DT
385 >7.2.12. <A
386 HREF="reference-driver.html#REFERENCE-DRIVER-INFO"
387 >Driver Information</A
388 ></DT
389 ><DD
390 ><DL
391 ><DT
392 >7.2.12.1. <A
393 HREF="reference-driver.html#DBI-DRIVER-GET-NAME"
394 >dbi_driver_get_name</A
395 ></DT
396 ><DT
397 >7.2.12.2. <A
398 HREF="reference-driver.html#DBI-DRIVER-GET-FILENAME"
399 >dbi_driver_get_filename</A
400 ></DT
401 ><DT
402 >7.2.12.3. <A
403 HREF="reference-driver.html#DBI-DRIVER-GET-DESCRIPTION"
404 >dbi_driver_get_description</A
405 ></DT
406 ><DT
407 >7.2.12.4. <A
408 HREF="reference-driver.html#DBI-DRIVER-GET-MAINTAINER"
409 >dbi_driver_get_maintainer</A
410 ></DT
411 ><DT
412 >7.2.12.5. <A
413 HREF="reference-driver.html#DBI-DRIVER-GET-URL"
414 >dbi_driver_get_url</A
415 ></DT
416 ><DT
417 >7.2.12.6. <A
418 HREF="reference-driver.html#DBI-DRIVER-GET-VERSION"
419 >dbi_driver_get_version</A
420 ></DT
421 ><DT
422 >7.2.12.7. <A
423 HREF="reference-driver.html#DBI-DRIVER-GET-DATE-COMPILED"
424 >dbi_driver_get_date_compiled</A
425 ></DT
426 ><DT
427 >7.2.12.8. <A
428 HREF="reference-driver.html#DBI-DRIVER-CAP-GET"
429 >dbi_driver_cap_get</A
430 ></DT
431 ></DL
432 ></DD
433 ></DL
434 ></DD
435 ><DT
436 >7.3. <A
437 HREF="reference-conn.html"
438 >Connection Infrastructure</A
439 ></DT
440 ><DD
441 ><DL
442 ><DT
443 >7.3.1. <A
444 HREF="reference-conn.html#DBI-CONN-NEW-R"
445 >dbi_conn_new_r</A
446 ></DT
447 ><DT
448 >7.3.2. <A
449 HREF="reference-conn.html#DBI-CONN-NEW"
450 >dbi_conn_new</A
451 ></DT
452 ><DT
453 >7.3.3. <A
454 HREF="reference-conn.html#DBI-CONN-OPEN"
455 >dbi_conn_open</A
456 ></DT
457 ><DT
458 >7.3.4. <A
459 HREF="reference-conn.html#DBI-CONN-CLOSE"
460 >dbi_conn_close</A
461 ></DT
462 ><DT
463 >7.3.5. <A
464 HREF="reference-conn.html#DBI-CONN-GET-DRIVER"
465 >dbi_conn_get_driver</A
466 ></DT
467 ><DT
468 >7.3.6. <A
469 HREF="reference-conn.html#DBI-CONN-SET-OPTION"
470 >dbi_conn_set_option</A
471 ></DT
472 ><DT
473 >7.3.7. <A
474 HREF="reference-conn.html#DBI-CONN-SET-OPTION-NUMERIC"
475 >dbi_conn_set_option_numeric</A
476 ></DT
477 ><DT
478 >7.3.8. <A
479 HREF="reference-conn.html#DBI-CONN-GET-OPTION"
480 >dbi_conn_get_option</A
481 ></DT
482 ><DT
483 >7.3.9. <A
484 HREF="reference-conn.html#DBI-CONN-REQUIRE-OPTION"
485 >dbi_conn_require_option</A
486 ></DT
487 ><DT
488 >7.3.10. <A
489 HREF="reference-conn.html#DBI-CONN-GET-OPTION-NUMERIC"
490 >dbi_conn_get_option_numeric</A
491 ></DT
492 ><DT
493 >7.3.11. <A
494 HREF="reference-conn.html#DBI-CONN-REQUIRE-OPTION-NUMERIC"
495 >dbi_conn_require_option_numeric</A
496 ></DT
497 ><DT
498 >7.3.12. <A
499 HREF="reference-conn.html#DBI-CONN-GET-OPTION-LIST"
500 >dbi_conn_get_option_list</A
501 ></DT
502 ><DT
503 >7.3.13. <A
504 HREF="reference-conn.html#DBI-CONN-CLEAR-OPTION"
505 >dbi_conn_clear_option</A
506 ></DT
507 ><DT
508 >7.3.14. <A
509 HREF="reference-conn.html#DBI-CONN-CLEAR-OPTIONS"
510 >dbi_conn_clear_options</A
511 ></DT
512 ><DT
513 >7.3.15. <A
514 HREF="reference-conn.html#DBI-CONN-CAP-GET"
515 >dbi_conn_cap_get</A
516 ></DT
517 ><DT
518 >7.3.16. <A
519 HREF="reference-conn.html#DBI-CONN-GET-SOCKET"
520 >dbi_conn_get_socket</A
521 ></DT
522 ><DT
523 >7.3.17. <A
524 HREF="reference-conn.html#DBI-CONN-GET-ENCODING"
525 >dbi_conn_get_encoding</A
526 ></DT
527 ><DT
528 >7.3.18. <A
529 HREF="reference-conn.html#DBI-CONN-GET-ENGINE-VERSION-STRING"
530 >dbi_conn_get_engine_version_string</A
531 ></DT
532 ><DT
533 >7.3.19. <A
534 HREF="reference-conn.html#DBI-CONN-GET-ENGINE-VERSION"
535 >dbi_conn_get_engine_version</A
536 ></DT
537 ><DT
538 >7.3.20. <A
539 HREF="reference-conn.html#REFERENCE-CONN-ERROR"
540 >Error Handling</A
541 ></DT
542 ><DD
543 ><DL
544 ><DT
545 >7.3.20.1. <A
546 HREF="reference-conn.html#DBI-CONN-ERROR"
547 >dbi_conn_error</A
548 ></DT
549 ><DT
550 >7.3.20.2. <A
551 HREF="reference-conn.html#DBI-CONN-ERROR-HANDLER"
552 >dbi_conn_error_handler</A
553 ></DT
554 ><DT
555 >7.3.20.3. <A
556 HREF="reference-conn.html#DBI-CONN-ERROR-FLAG"
557 >dbi_conn_error_flag</A
558 ></DT
559 ><DT
560 >7.3.20.4. <A
561 HREF="reference-conn.html#DBI-CONN-SET-ERROR"
562 >dbi_conn_set_error</A
563 ></DT
564 ></DL
565 ></DD
566 ><DT
567 >7.3.21. <A
568 HREF="reference-conn.html#REFERENCE-CONN-TRANSACTIONS-SAVEPOINTS"
569 >Transactions and Savepoints</A
570 ></DT
571 ><DD
572 ><DL
573 ><DT
574 >7.3.21.1. <A
575 HREF="reference-conn.html#DBI-CONN-TRANSACTION-BEGIN"
576 >dbi_conn_transaction_begin</A
577 ></DT
578 ><DT
579 >7.3.21.2. <A
580 HREF="reference-conn.html#DBI-CONN-TRANSACTION-COMMIT"
581 >dbi_conn_transaction_commit</A
582 ></DT
583 ><DT
584 >7.3.21.3. <A
585 HREF="reference-conn.html#DBI-CONN-TRANSACTION-ROLLBACK"
586 >dbi_conn_transaction_rollback</A
587 ></DT
588 ><DT
589 >7.3.21.4. <A
590 HREF="reference-conn.html#DBI-CONN-SAVEPOINT"
591 >dbi_conn_savepoint</A
592 ></DT
593 ><DT
594 >7.3.21.5. <A
595 HREF="reference-conn.html#DBI-CONN-ROLLBACK-TO-SAVEPOINT"
596 >dbi_conn_rollback_to_savepoint</A
597 ></DT
598 ><DT
599 >7.3.21.6. <A
600 HREF="reference-conn.html#DBI-CONN-RELEASE-SAVEPOINT"
601 >dbi_conn_release_savepoint</A
602 ></DT
603 ></DL
604 ></DD
605 ></DL
606 ></DD
607 ><DT
608 >7.4. <A
609 HREF="reference-database.html"
610 >SQL and Database Infrastructure</A
611 ></DT
612 ><DD
613 ><DL
614 ><DT
615 >7.4.1. <A
616 HREF="reference-database.html#DBI-CONN-CONNECT"
617 >dbi_conn_connect</A
618 ></DT
619 ><DT
620 >7.4.2. <A
621 HREF="reference-database.html#DBI-CONN-GET-DB-LIST"
622 >dbi_conn_get_db_list</A
623 ></DT
624 ><DT
625 >7.4.3. <A
626 HREF="reference-database.html#DBI-CONN-GET-TABLE-LIST"
627 >dbi_conn_get_table_list</A
628 ></DT
629 ><DT
630 >7.4.4. <A
631 HREF="reference-database.html#DBI-CONN-SELECT-DB"
632 >dbi_conn_select_db</A
633 ></DT
634 ></DL
635 ></DD
636 ><DT
637 >7.5. <A
638 HREF="reference-query.html"
639 >Managing Queries</A
640 ></DT
641 ><DD
642 ><DL
643 ><DT
644 >7.5.1. <A
645 HREF="reference-query.html#DBI-CONN-QUERY"
646 >dbi_conn_query</A
647 ></DT
648 ><DT
649 >7.5.2. <A
650 HREF="reference-query.html#DBI-CONN-QUERYF"
651 >dbi_conn_queryf</A
652 ></DT
653 ><DT
654 >7.5.3. <A
655 HREF="reference-query.html#DBI-CONN-QUERY-NULL"
656 >dbi_conn_query_null</A
657 ></DT
658 ><DT
659 >7.5.4. <A
660 HREF="reference-query.html#DBI-CONN-SEQUENCE-LAST"
661 >dbi_conn_sequence_last</A
662 ></DT
663 ><DT
664 >7.5.5. <A
665 HREF="reference-query.html#DBI-CONN-SEQUENCE-NEXT"
666 >dbi_conn_sequence_next</A
667 ></DT
668 ><DT
669 >7.5.6. <A
670 HREF="reference-query.html#DBI-CONN-PING"
671 >dbi_conn_ping</A
672 ></DT
673 ><DT
674 >7.5.7. <A
675 HREF="reference-query.html#DBI-CONN-QUOTE-STRING"
676 >dbi_conn_quote_string</A
677 ></DT
678 ><DT
679 >7.5.8. <A
680 HREF="reference-query.html#DBI-CONN-QUOTE-STRING-COPY"
681 >dbi_conn_quote_string_copy</A
682 ></DT
683 ><DT
684 >7.5.9. <A
685 HREF="reference-query.html#DBI-CONN-QUOTE-BINARY-COPY"
686 >dbi_conn_quote_binary_copy</A
687 ></DT
688 ><DT
689 >7.5.10. <A
690 HREF="reference-query.html#DBI-CONN-ESCAPE-STRING"
691 >dbi_conn_escape_string</A
692 ></DT
693 ><DT
694 >7.5.11. <A
695 HREF="reference-query.html#DBI-CONN-ESCAPE-STRING-COPY"
696 >dbi_conn_escape_string_copy</A
697 ></DT
698 ><DT
699 >7.5.12. <A
700 HREF="reference-query.html#DBI-CONN-ESCAPE-BINARY-COPY"
701 >dbi_conn_escape_binary_copy</A
702 ></DT
703 ></DL
704 ></DD
705 ><DT
706 >7.6. <A
707 HREF="reference-results.html"
708 >Managing Results</A
709 ></DT
710 ><DD
711 ><DL
712 ><DT
713 >7.6.1. <A
714 HREF="reference-results.html#DBI-RESULT-GET-CONN"
715 >dbi_result_get_conn</A
716 ></DT
717 ><DT
718 >7.6.2. <A
719 HREF="reference-results.html#DBI-RESULT-FREE"
720 >dbi_result_free</A
721 ></DT
722 ><DT
723 >7.6.3. <A
724 HREF="reference-results.html#DBI-RESULT-SEEK-ROW"
725 >dbi_result_seek_row</A
726 ></DT
727 ><DT
728 >7.6.4. <A
729 HREF="reference-results.html#DBI-RESULT-FIRST-ROW"
730 >dbi_result_first_row</A
731 ></DT
732 ><DT
733 >7.6.5. <A
734 HREF="reference-results.html#DBI-RESULT-LAST-ROW"
735 >dbi_result_last_row</A
736 ></DT
737 ><DT
738 >7.6.6. <A
739 HREF="reference-results.html#DBI-RESULT-PREV-ROW"
740 >dbi_result_prev_row</A
741 ></DT
742 ><DT
743 >7.6.7. <A
744 HREF="reference-results.html#DBI-RESULT-NEXT-ROW"
745 >dbi_result_next_row</A
746 ></DT
747 ><DT
748 >7.6.8. <A
749 HREF="reference-results.html#DBI-RESULT-GET-CURROW"
750 >dbi_result_get_currow</A
751 ></DT
752 ><DT
753 >7.6.9. <A
754 HREF="reference-results.html#DBI-RESULT-GET-NUMROWS"
755 >dbi_result_get_numrows</A
756 ></DT
757 ><DT
758 >7.6.10. <A
759 HREF="reference-results.html#DBI-RESULT-GET-NUMROWS-AFFECTED"
760 >dbi_result_get_numrows_affected</A
761 ></DT
762 ></DL
763 ></DD
764 ><DT
765 >7.7. <A
766 HREF="reference-field-meta.html"
767 >Retrieving Field Meta-data</A
768 ></DT
769 ><DD
770 ><DL
771 ><DT
772 >7.7.1. <A
773 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-LENGTH"
774 >dbi_result_get_field_length</A
775 ></DT
776 ><DT
777 >7.7.2. <A
778 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-LENGTH-IDX"
779 >dbi_result_get_field_length_idx</A
780 ></DT
781 ><DT
782 >7.7.3. <A
783 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-SIZE"
784 >dbi_result_get_field_size</A
785 ></DT
786 ><DT
787 >7.7.4. <A
788 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-SIZE-IDX"
789 >dbi_result_get_field_size_idx</A
790 ></DT
791 ><DT
792 >7.7.5. <A
793 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-IDX"
794 >dbi_result_get_field_idx</A
795 ></DT
796 ><DT
797 >7.7.6. <A
798 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-NAME"
799 >dbi_result_get_field_name</A
800 ></DT
801 ><DT
802 >7.7.7. <A
803 HREF="reference-field-meta.html#DBI-RESULT-GET-NUMFIELDS"
804 >dbi_result_get_numfields</A
805 ></DT
806 ><DT
807 >7.7.8. <A
808 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-TYPE"
809 >dbi_result_get_field_type</A
810 ></DT
811 ><DT
812 >7.7.9. <A
813 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-TYPE-IDX"
814 >dbi_result_get_field_type_idx</A
815 ></DT
816 ><DT
817 >7.7.10. <A
818 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-ATTRIB"
819 >dbi_result_get_field_attrib</A
820 ></DT
821 ><DT
822 >7.7.11. <A
823 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-ATTRIB-IDX"
824 >dbi_result_get_field_attrib_idx</A
825 ></DT
826 ><DT
827 >7.7.12. <A
828 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-ATTRIBS"
829 >dbi_result_get_field_attribs</A
830 ></DT
831 ><DT
832 >7.7.13. <A
833 HREF="reference-field-meta.html#DBI-RESULT-GET-FIELD-ATTRIBS-IDX"
834 >dbi_result_get_field_attribs_idx</A
835 ></DT
836 ><DT
837 >7.7.14. <A
838 HREF="reference-field-meta.html#DBI-RESULT-FIELD-IS-NULL"
839 >dbi_result_field_is_null</A
840 ></DT
841 ><DT
842 >7.7.15. <A
843 HREF="reference-field-meta.html#DBI-RESULT-FIELD-IS-NULL-IDX"
844 >dbi_result_field_is_null_idx</A
845 ></DT
846 ></DL
847 ></DD
848 ><DT
849 >7.8. <A
850 HREF="reference-field.html"
851 >Retrieving Field Data by Name</A
852 ></DT
853 ><DD
854 ><DL
855 ><DT
856 >7.8.1. <A
857 HREF="reference-field.html#DBI-RESULT-GET-FIELDS"
858 >dbi_result_get_fields</A
859 ></DT
860 ><DT
861 >7.8.2. <A
862 HREF="reference-field.html#DBI-RESULT-BIND-FIELDS"
863 >dbi_result_bind_fields</A
864 ></DT
865 ><DT
866 >7.8.3. <A
867 HREF="reference-field.html#DBI-RESULT-GET-CHAR"
868 >dbi_result_get_char</A
869 ></DT
870 ><DT
871 >7.8.4. <A
872 HREF="reference-field.html#DBI-RESULT-GET-UCHAR"
873 >dbi_result_get_uchar</A
874 ></DT
875 ><DT
876 >7.8.5. <A
877 HREF="reference-field.html#DBI-RESULT-GET-SHORT"
878 >dbi_result_get_short</A
879 ></DT
880 ><DT
881 >7.8.6. <A
882 HREF="reference-field.html#DBI-RESULT-GET-USHORT"
883 >dbi_result_get_ushort</A
884 ></DT
885 ><DT
886 >7.8.7. <A
887 HREF="reference-field.html#DBI-RESULT-GET-INT"
888 >dbi_result_get_int</A
889 ></DT
890 ><DT
891 >7.8.8. <A
892 HREF="reference-field.html#DBI-RESULT-GET-UINT"
893 >dbi_result_get_uint</A
894 ></DT
895 ><DT
896 >7.8.9. <A
897 HREF="reference-field.html#DBI-RESULT-GET-LONG"
898 >dbi_result_get_long</A
899 ></DT
900 ><DT
901 >7.8.10. <A
902 HREF="reference-field.html#DBI-RESULT-GET-ULONG"
903 >dbi_result_get_ulong</A
904 ></DT
905 ><DT
906 >7.8.11. <A
907 HREF="reference-field.html#DBI-RESULT-GET-LONGLONG"
908 >dbi_result_get_longlong</A
909 ></DT
910 ><DT
911 >7.8.12. <A
912 HREF="reference-field.html#DBI-RESULT-GET-ULONGLONG"
913 >dbi_result_get_ulonglong</A
914 ></DT
915 ><DT
916 >7.8.13. <A
917 HREF="reference-field.html#DBI-RESULT-GET-FLOAT"
918 >dbi_result_get_float</A
919 ></DT
920 ><DT
921 >7.8.14. <A
922 HREF="reference-field.html#DBI-RESULT-GET-DOUBLE"
923 >dbi_result_get_double</A
924 ></DT
925 ><DT
926 >7.8.15. <A
927 HREF="reference-field.html#DBI-RESULT-GET-STRING"
928 >dbi_result_get_string</A
929 ></DT
930 ><DT
931 >7.8.16. <A
932 HREF="reference-field.html#DBI-RESULT-GET-STRING-COPY"
933 >dbi_result_get_string_copy</A
934 ></DT
935 ><DT
936 >7.8.17. <A
937 HREF="reference-field.html#DBI-RESULT-GET-BINARY"
938 >dbi_result_get_binary</A
939 ></DT
940 ><DT
941 >7.8.18. <A
942 HREF="reference-field.html#DBI-RESULT-GET-BINARY-COPY"
943 >dbi_result_get_binary_copy</A
944 ></DT
945 ><DT
946 >7.8.19. <A
947 HREF="reference-field.html#DBI-RESULT-GET-DATETIME"
948 >dbi_result_get_datetime</A
949 ></DT
950 ><DT
951 >7.8.20. <A
952 HREF="reference-field.html#DBI-RESULT-GET-AS-LONGLONG"
953 >dbi_result_get_as_longlong</A
954 ></DT
955 ><DT
956 >7.8.21. <A
957 HREF="reference-field.html#DBI-RESULT-GET-AS-STRING-COPY"
958 >dbi_result_get_as_string_copy</A
959 ></DT
960 ><DT
961 >7.8.22. <A
962 HREF="reference-field.html#DBI-RESULT-BIND-CHAR"
963 >dbi_result_bind_char</A
964 ></DT
965 ><DT
966 >7.8.23. <A
967 HREF="reference-field.html#DBI-RESULT-BIND-UCHAR"
968 >dbi_result_bind_uchar</A
969 ></DT
970 ><DT
971 >7.8.24. <A
972 HREF="reference-field.html#DBI-RESULT-BIND-SHORT"
973 >dbi_result_bind_short</A
974 ></DT
975 ><DT
976 >7.8.25. <A
977 HREF="reference-field.html#DBI-RESULT-BIND-USHORT"
978 >dbi_result_bind_ushort</A
979 ></DT
980 ><DT
981 >7.8.26. <A
982 HREF="reference-field.html#DBI-RESULT-BIND-INT"
983 >dbi_result_bind_int</A
984 ></DT
985 ><DT
986 >7.8.27. <A
987 HREF="reference-field.html#DBI-RESULT-BIND-UINT"
988 >dbi_result_bind_uint</A
989 ></DT
990 ><DT
991 >7.8.28. <A
992 HREF="reference-field.html#DBI-RESULT-BIND-LONG"
993 >dbi_result_bind_long</A
994 ></DT
995 ><DT
996 >7.8.29. <A
997 HREF="reference-field.html#DBI-RESULT-BIND-ULONG"
998 >dbi_result_bind_ulong</A
999 ></DT
1000 ><DT
1001 >7.8.30. <A
1002 HREF="reference-field.html#DBI-RESULT-BIND-LONGLONG"
1003 >dbi_result_bind_longlong</A
1004 ></DT
1005 ><DT
1006 >7.8.31. <A
1007 HREF="reference-field.html#DBI-RESULT-BIND-ULONGLONG"
1008 >dbi_result_bind_ulonglong</A
1009 ></DT
1010 ><DT
1011 >7.8.32. <A
1012 HREF="reference-field.html#DBI-RESULT-BIND-FLOAT"
1013 >dbi_result_bind_float</A
1014 ></DT
1015 ><DT
1016 >7.8.33. <A
1017 HREF="reference-field.html#DBI-RESULT-BIND-DOUBLE"
1018 >dbi_result_bind_double</A
1019 ></DT
1020 ><DT
1021 >7.8.34. <A
1022 HREF="reference-field.html#DBI-RESULT-BIND-STRING"
1023 >dbi_result_bind_string</A
1024 ></DT
1025 ><DT
1026 >7.8.35. <A
1027 HREF="reference-field.html#DBI-RESULT-BIND-BINARY"
1028 >dbi_result_bind_binary</A
1029 ></DT
1030 ><DT
1031 >7.8.36. <A
1032 HREF="reference-field.html#DBI-RESULT-BIND-STRING-COPY"
1033 >dbi_result_bind_string_copy</A
1034 ></DT
1035 ><DT
1036 >7.8.37. <A
1037 HREF="reference-field.html#DBI-RESULT-BIND-BINARY-COPY"
1038 >dbi_result_bind_binary_copy</A
1039 ></DT
1040 ><DT
1041 >7.8.38. <A
1042 HREF="reference-field.html#DBI-RESULT-BIND-DATETIME"
1043 >dbi_result_bind_datetime</A
1044 ></DT
1045 ></DL
1046 ></DD
1047 ><DT
1048 >7.9. <A
1049 HREF="reference-field-idx.html"
1050 >Retrieving Field Data by Index</A
1051 ></DT
1052 ><DD
1053 ><DL
1054 ><DT
1055 >7.9.1. <A
1056 HREF="reference-field-idx.html#DBI-RESULT-GET-CHAR-IDX"
1057 >dbi_result_get_char_idx</A
1058 ></DT
1059 ><DT
1060 >7.9.2. <A
1061 HREF="reference-field-idx.html#DBI-RESULT-GET-UCHAR-IDX"
1062 >dbi_result_get_uchar_idx</A
1063 ></DT
1064 ><DT
1065 >7.9.3. <A
1066 HREF="reference-field-idx.html#DBI-RESULT-GET-SHORT-IDX"
1067 >dbi_result_get_short_idx</A
1068 ></DT
1069 ><DT
1070 >7.9.4. <A
1071 HREF="reference-field-idx.html#DBI-RESULT-GET-USHORT-IDX"
1072 >dbi_result_get_ushort_idx</A
1073 ></DT
1074 ><DT
1075 >7.9.5. <A
1076 HREF="reference-field-idx.html#DBI-RESULT-GET-INT-IDX"
1077 >dbi_result_get_int_idx</A
1078 ></DT
1079 ><DT
1080 >7.9.6. <A
1081 HREF="reference-field-idx.html#DBI-RESULT-GET-UINT-IDX"
1082 >dbi_result_get_uint_idx</A
1083 ></DT
1084 ><DT
1085 >7.9.7. <A
1086 HREF="reference-field-idx.html#DBI-RESULT-GET-LONG-IDX"
1087 >dbi_result_get_long_idx</A
1088 ></DT
1089 ><DT
1090 >7.9.8. <A
1091 HREF="reference-field-idx.html#DBI-RESULT-GET-ULONG-IDX"
1092 >dbi_result_get_ulong_idx</A
1093 ></DT
1094 ><DT
1095 >7.9.9. <A
1096 HREF="reference-field-idx.html#DBI-RESULT-GET-LONGLONG-IDX"
1097 >dbi_result_get_longlong_idx</A
1098 ></DT
1099 ><DT
1100 >7.9.10. <A
1101 HREF="reference-field-idx.html#DBI-RESULT-GET-ULONGLONG-IDX"
1102 >dbi_result_get_ulonglong_idx</A
1103 ></DT
1104 ><DT
1105 >7.9.11. <A
1106 HREF="reference-field-idx.html#DBI-RESULT-GET-FLOAT-IDX"
1107 >dbi_result_get_float_idx</A
1108 ></DT
1109 ><DT
1110 >7.9.12. <A
1111 HREF="reference-field-idx.html#DBI-RESULT-GET-DOUBLE-IDX"
1112 >dbi_result_get_double_idx</A
1113 ></DT
1114 ><DT
1115 >7.9.13. <A
1116 HREF="reference-field-idx.html#DBI-RESULT-GET-STRING-IDX"
1117 >dbi_result_get_string_idx</A
1118 ></DT
1119 ><DT
1120 >7.9.14. <A
1121 HREF="reference-field-idx.html#DBI-RESULT-GET-STRING-COPY-IDX"
1122 >dbi_result_get_string_copy_idx</A
1123 ></DT
1124 ><DT
1125 >7.9.15. <A
1126 HREF="reference-field-idx.html#DBI-RESULT-GET-BINARY-IDX"
1127 >dbi_result_get_binary_idx</A
1128 ></DT
1129 ><DT
1130 >7.9.16. <A
1131 HREF="reference-field-idx.html#DBI-RESULT-GET-BINARY-COPY-IDX"
1132 >dbi_result_get_binary_copy_idx</A
1133 ></DT
1134 ><DT
1135 >7.9.17. <A
1136 HREF="reference-field-idx.html#DBI-RESULT-GET-DATETIME-IDX"
1137 >dbi_result_get_datetime_idx</A
1138 ></DT
1139 ><DT
1140 >7.9.18. <A
1141 HREF="reference-field-idx.html#DBI-RESULT-GET-AS-LONGLONG-IDX"
1142 >dbi_result_get_as_longlong_idx</A
1143 ></DT
1144 ><DT
1145 >7.9.19. <A
1146 HREF="reference-field-idx.html#DBI-RESULT-GET-AS-STRING-COPY-IDX"
1147 >dbi_result_get_as_string_copy_idx</A
1148 ></DT
1149 ></DL
1150 ></DD
1151 ></DL
1152 ></DD
1153 ><DT
1154 >A. <A
1155 HREF="copying-fdl.html"
1156 >GNU Free Documentation License</A
1157 ></DT
1158 ></DL
1159 ></DIV
1160 ><DIV
1161 CLASS="LOT"
1162 ><DL
1163 CLASS="LOT"
1164 ><DT
1165 ><B
1166 >List of Tables</B
1167 ></DT
1168 ><DT
1169 >3-1. <A
1170 HREF="quickstart-debriefing.html#TABLE-GET-BIND-FUNCTIONS"
1171 >get* and bind* functions sorted by field type</A
1172 ></DT
1173 ><DT
1174 >4-1. <A
1175 HREF="errornumbers.html#AEN366"
1176 >libdbi error numbers</A
1177 ></DT
1178 ></DL
1179 ></DIV
1180 ></DIV
1181 ><DIV
1182 CLASS="NAVFOOTER"
1183 ><HR
1184 ALIGN="LEFT"
1185 WIDTH="100%"><TABLE
1186 SUMMARY="Footer navigation table"
1187 WIDTH="100%"
1188 BORDER="0"
1189 CELLPADDING="0"
1190 CELLSPACING="0"
1191 ><TR
1192 ><TD
1193 WIDTH="33%"
1194 ALIGN="left"
1195 VALIGN="top"
1196 >&nbsp;</TD
1197 ><TD
1198 WIDTH="34%"
1199 ALIGN="center"
1200 VALIGN="top"
1201 >&nbsp;</TD
1202 ><TD
1203 WIDTH="33%"
1204 ALIGN="right"
1205 VALIGN="top"
1206 ><A
1207 HREF="intro.html"
1208 ACCESSKEY="N"
1209 >Next</A
1210 ></TD
1211 ></TR
1212 ><TR
1213 ><TD
1214 WIDTH="33%"
1215 ALIGN="left"
1216 VALIGN="top"
1217 >&nbsp;</TD
1218 ><TD
1219 WIDTH="34%"
1220 ALIGN="center"
1221 VALIGN="top"
1222 >&nbsp;</TD
1223 ><TD
1224 WIDTH="33%"
1225 ALIGN="right"
1226 VALIGN="top"
1227 >Introduction</TD
1228 ></TR
1229 ></TABLE
1230 ></DIV
1231 ></BODY
1232 ></HTML
1233 >