GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-dcc4425b9d
d_insert.c File Reference

DBMI Library (driver) - insert new record. More...

#include <grass/dbmi.h>
#include "macros.h"
#include "dbstubs.h"
Include dependency graph for d_insert.c:

Go to the source code of this file.

Functions

int db_d_insert (void)
 Insert new record into table. More...
 

Detailed Description

DBMI Library (driver) - insert new record.

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_insert.c.

Function Documentation

◆ db_d_insert()

int db_d_insert ( void  )

Insert new record into table.

Returns
DB_OK on success
DB_FAILED on failure

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.