Data Fields

db1_res Struct Reference

This type represents a result returned by db_query function (see below). More...

#include <db_res.h>

Collaboration diagram for db1_res:
Collaboration graph
[legend]

Data Fields


Detailed Description

The result can consist of zero or more rows (see db_row_t description).

Note: A variable of type db1_res_t returned by db_query function uses dynamicaly allocated memory, don't forget to call db_free_result if you don't need the variable anymore. You will encounter memory leaks if you fail to do this!

In addition to zero or more rows, each db1_res_t object contains also an array of db_key_t objects. The objects represent keys (names of columns). *

Definition at line 54 of file srdb1/db_res.h.


Field Documentation

Number of rows in current fetch.

Definition at line 58 of file srdb1/db_res.h.


The documentation for this struct was generated from the following file: