# libdbi API Reference

## Core Library Functions

%%dbi_initialize %%dbi_shutdown %%dbi_version

## Driver Infrastructure

%%dbi_driver_list %%dbi_driver_open %%dbi_driver_is_reserved_word %%dbi_driver_specific_function %%dbi_driver_quote_string

### Driver Information

%%dbi_driver_get_name %%dbi_driver_get_filename %%dbi_driver_get_description %%dbi_driver_get_maintainer %%dbi_driver_get_url %%dbi_driver_get_version %%dbi_driver_get_date_compiled

## Connection Infrastructure

%%dbi_conn_new %%dbi_conn_open %%dbi_conn_get_driver %%dbi_conn_set_option %%dbi_conn_set_option_numeric %%dbi_conn_get_option %%dbi_conn_get_option_numeric %%dbi_conn_get_option_list %%dbi_conn_clear_option %%dbi_conn_clear_options %%dbi_conn_get_socket %%dbi_conn_close

### Error Handling

%%dbi_conn_error %%dbi_conn_error_handler

## SQL and Database Infrastructure

%%dbi_conn_connect %%dbi_conn_get_db_list %%dbi_conn_get_table_list %%dbi_conn_query %%dbi_conn_query_null %%dbi_conn_select_db %%dbi_result_get_conn %%dbi_result_free %%dbi_result_seek_row %%dbi_result_first_row %%dbi_result_last_row %%dbi_result_prev_row %%dbi_result_next_row %%dbi_result_get_numrows %%dbi_result_get_numrows_affected

## Retrieving field data

%%dbi_result_get_field_size %%dbi_result_get_field_size_idx %%dbi_result_get_field_length %%dbi_result_get_field_length_idx %%dbi_result_get_field_idx %%dbi_result_get_field_name %%dbi_result_get_numfields %%dbi_result_get_field_type %%dbi_result_get_field_type_idx %%dbi_result_get_field_attrib %%dbi_result_get_field_attrib_idx %%dbi_result_get_field_attribs %%dbi_result_get_field_attribs_idx %%dbi_result_get_fields %%dbi_result_bind_fields %%dbi_result_get_char %%dbi_result_get_uchar %%dbi_result_get_short %%dbi_result_get_ushort %%dbi_result_get_long %%dbi_result_get_ulong %%dbi_result_get_longlong %%dbi_result_get_ulonglong %%dbi_result_get_float %%dbi_result_get_double %%dbi_result_get_string %%dbi_result_get_binary %%dbi_result_get_string_copy %%dbi_result_get_binary_copy %%dbi_result_get_enum %%dbi_result_get_set %%dbi_result_get_datetime %%dbi_result_bind_char %%dbi_result_bind_uchar %%dbi_result_bind_short %%dbi_result_bind_ushort %%dbi_result_bind_long %%dbi_result_bind_ulong %%dbi_result_bind_longlong %%dbi_result_bind_ulonglong %%dbi_result_bind_float %%dbi_result_bind_double %%dbi_result_bind_string %%dbi_result_bind_binary %%dbi_result_bind_string_copy %%dbi_result_bind_binary_copy %%dbi_result_bind_enum %%dbi_result_bind_set %%dbi_result_bind_datetime %%dbi_result_get_char_idx %%dbi_result_get_uchar_idx %%dbi_result_get_short_idx %%dbi_result_get_ushort_idx %%dbi_result_get_long_idx %%dbi_result_get_ulong_idx %%dbi_result_get_longlong_idx %%dbi_result_get_ulonglong_idx %%dbi_result_get_float_idx %%dbi_result_get_double_idx %%dbi_result_get_string_idx %%dbi_result_get_binary_idx %%dbi_result_get_string_copy_idx %%dbi_result_get_binary_copy_idx %%dbi_result_get_enum_idx %%dbi_result_get_set_idx %%dbi_result_get_datetime_idx