GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
Loading...
Searching...
No Matches
d_rows.c File Reference

DBMI Library (driver) - get number of records. More...

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

Go to the source code of this file.

Functions

int db_d_get_num_rows (void)
 Get number of selected rows.
 

Detailed Description

DBMI Library (driver) - get number of records.

SPDX-FileCopyrightText: 1999-2008 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_rows.c.

Function Documentation

◆ db_d_get_num_rows()

int db_d_get_num_rows ( void  )

Get number of selected rows.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 22 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.