GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Go to the source code of this file.
Functions | |
int | db_d_add_column () |
Add column to table. More... | |
int | db_d_bind_update () |
ADD. More... | |
int | db_d_close_cursor () |
Close cursor. More... | |
int | db_d_close_database () |
Close database connection. More... | |
int | db_d_create_database () |
Create database. More... | |
int | db_d_create_index () |
Create index. More... | |
int | db_d_create_table () |
Create table. More... | |
int | db_d_delete_database () |
Delete database. More... | |
int | db_d_describe_table () |
Describe table. More... | |
int | db_d_drop_column () |
Drop column. More... | |
int | db_d_drop_index () |
Drop index. More... | |
int | db_d_drop_table () |
Drop table. More... | |
int | db_d_execute_immediate () |
Execute SQL statements. More... | |
int | db_d_begin_transaction () |
Begin transaction. More... | |
int | db_d_commit_transaction () |
Commit transaction. More... | |
int | db_d_fetch () |
Fetch data. More... | |
int | db_d_get_num_rows () |
Get number of selected rows. More... | |
int | db_d_find_database () |
Find database. More... | |
int | db_d_grant_on_table () |
Grant privileges on table. More... | |
int | db_d_insert () |
Insert new record into table. More... | |
int | db_d_delete () |
Delete record (?) More... | |
int | db_d_list_databases () |
List databases. More... | |
int | db_d_list_indexes () |
List indexes. More... | |
int | db_d_list_tables () |
List available tables for given connection. More... | |
int | db_d_open_database () |
Open database connection. More... | |
int | db_d_open_insert_cursor () |
Open insert cursor. More... | |
int | db_d_open_select_cursor () |
Open select cursor. More... | |
int | db_d_open_update_cursor () |
Open update cursor. More... | |
int | db_d_update () |
? More... | |
int | db_d_version () |
Get version info. More... | |
int db_d_add_column | ( | void | ) |
Add column to table.
Definition at line 26 of file d_add_col.c.
References db_driver_add_column, db_free_column(), db_free_string(), db_init_column(), db_init_string(), DB_OK, DB_RECV_COLUMN_DEFINITION, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and name.
int db_d_begin_transaction | ( | void | ) |
Begin transaction.
Definition at line 56 of file d_execute.c.
References db_driver_begin_transaction, DB_OK, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_bind_update | ( | void | ) |
int db_d_close_cursor | ( | void | ) |
Close cursor.
Definition at line 26 of file d_close_cur.c.
References db__drop_cursor_from_driver_state(), db_driver_close_cursor, db_drop_token(), db_error(), DB_FAILED, db_find_token(), db_free(), db_free_cursor(), DB_OK, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, and NULL.
int db_d_close_database | ( | void | ) |
Close database connection.
Definition at line 25 of file d_closedb.c.
References db__close_all_cursors(), db__init_driver_state(), db__mark_database_closed(), db__test_database_open(), db_driver_close_database, db_error(), DB_OK, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_commit_transaction | ( | void | ) |
Commit transaction.
Definition at line 80 of file d_execute.c.
References db_driver_commit_transaction, DB_OK, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_create_database | ( | void | ) |
Create database.
Definition at line 26 of file d_createdb.c.
References db_driver_create_database, db_free_handle(), db_init_handle(), DB_OK, DB_RECV_HANDLE, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_create_index | ( | void | ) |
Create index.
Definition at line 26 of file d_create_idx.c.
References db_driver_create_index, db_free_index(), db_init_index(), DB_OK, DB_RECV_INDEX, DB_SEND_FAILURE, DB_SEND_STRING, DB_SEND_SUCCESS, and _db_index::indexName.
int db_d_create_table | ( | void | ) |
Create table.
Definition at line 26 of file d_create_tab.c.
int db_d_delete | ( | void | ) |
Delete record (?)
Definition at line 25 of file d_delete.c.
References db_driver_delete, db_error(), DB_FAILED, db_find_token(), DB_OK, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_type_update(), and NULL.
int db_d_delete_database | ( | void | ) |
Delete database.
Definition at line 26 of file d_deletedb.c.
References db_driver_delete_database, db_free_handle(), db_init_handle(), DB_OK, DB_RECV_HANDLE, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_describe_table | ( | void | ) |
Describe table.
Definition at line 26 of file d_desc_table.c.
int db_d_drop_column | ( | void | ) |
Drop column.
Definition at line 26 of file d_drop_col.c.
References db_driver_drop_column, db_free_string(), db_init_string(), DB_OK, DB_RECV_STRING, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_drop_index | ( | void | ) |
Drop index.
Definition at line 26 of file d_drop_index.c.
References db_driver_drop_index, db_free_string(), db_init_string(), DB_OK, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and name.
int db_d_drop_table | ( | void | ) |
Drop table.
Definition at line 26 of file d_drop_tab.c.
References db_driver_drop_table, db_free_string(), db_init_string(), DB_OK, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_SUCCESS, and name.
int db_d_execute_immediate | ( | void | ) |
Execute SQL statements.
Definition at line 26 of file d_execute.c.
References db_driver_execute_immediate, db_free_string(), db_init_string(), DB_OK, DB_RECV_STRING, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_fetch | ( | void | ) |
int db_d_find_database | ( | void | ) |
Find database.
Definition at line 26 of file d_finddb.c.
References db_driver_find_database, db_free_handle(), db_init_handle(), DB_OK, DB_RECV_HANDLE, DB_SEND_FAILURE, DB_SEND_HANDLE, DB_SEND_INT, and DB_SEND_SUCCESS.
int db_d_get_num_rows | ( | void | ) |
Get number of selected rows.
Definition at line 25 of file d_rows.c.
References db_driver_get_num_rows, db_find_token(), DB_OK, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_INT, and DB_SEND_SUCCESS.
int db_d_grant_on_table | ( | void | ) |
Grant privileges on table.
Definition at line 26 of file d_priv.c.
References db_driver_grant_on_table, db_free_string(), db_init_string(), DB_OK, DB_RECV_INT, DB_RECV_STRING, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_insert | ( | void | ) |
Insert new record into table.
Definition at line 25 of file d_insert.c.
References db_driver_insert, db_error(), DB_FAILED, db_find_token(), DB_OK, DB_RECV_TABLE_DATA, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_type_insert(), NULL, and _db_cursor::table.
int db_d_list_databases | ( | void | ) |
List databases.
Definition at line 26 of file d_listdb.c.
int db_d_list_indexes | ( | void | ) |
List indexes.
Definition at line 26 of file d_list_idx.c.
References count, db_driver_list_indexes, db_free_index_array(), db_free_string(), db_init_string(), DB_OK, DB_RECV_STRING, DB_SEND_FAILURE, DB_SEND_INDEX_ARRAY, DB_SEND_SUCCESS, and list.
int db_d_list_tables | ( | void | ) |
List available tables for given connection.
Definition at line 25 of file d_list_tabs.c.
References count, db_driver_list_tables, DB_OK, DB_RECV_INT, DB_SEND_FAILURE, DB_SEND_STRING_ARRAY, and DB_SEND_SUCCESS.
int db_d_open_database | ( | void | ) |
Open database connection.
Definition at line 26 of file d_opendb.c.
References db__mark_database_open(), db__test_database_open(), db_driver_open_database, db_error(), db_free_handle(), db_get_handle_dbname(), db_get_handle_dbschema(), db_init_handle(), DB_OK, DB_RECV_HANDLE, DB_SEND_FAILURE, and DB_SEND_SUCCESS.
int db_d_open_insert_cursor | ( | void | ) |
Open insert cursor.
Definition at line 25 of file d_openinsert.c.
int db_d_open_select_cursor | ( | void | ) |
Open select cursor.
Definition at line 26 of file d_openselect.c.
int db_d_open_update_cursor | ( | void | ) |
Open update cursor.
Definition at line 26 of file d_openupdate.c.
int db_d_update | ( | void | ) |
?
Definition at line 25 of file d_update.c.
References db_driver_update, db_error(), DB_FAILED, db_find_token(), DB_OK, DB_RECV_TABLE_DATA, DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, db_test_cursor_any_column_flag(), db_test_cursor_type_update(), NULL, and _db_cursor::table.
int db_d_version | ( | void | ) |
Get version info.
Definition at line 24 of file d_version.c.
References DB_OK, DB_SEND_C_STRING, DB_SEND_SUCCESS, and DB_VERSION.
int procnum |
Definition at line 34 of file procs.h.
Referenced by db_driver().