Data Fields

__sqlite_dbresult Struct Reference

#include <sqlite.h>

Collaboration diagram for __sqlite_dbresult:

Data Fields

_sqlite_tuplestuples
_sqlite_headerheaderrec
size_t num_tuples
size_t num_fields
sqlite_int64 last_insert_id
int affected_rows
_sqlite_tuplessrch_tuples
_sqlite_headersrch_headerrec

Detailed Description

The main definition of the dbresult strucutre. This structure keeps the complete information about both fields and values of all records from a query.

This structure keeps to "search" pointers. This is used when the sqlite_get_value() or sqlite_xml_value() functions are called. These pointers will point at the last record being looked up, so that if you do sequencial look ups, it will not loop through the whole chain from the start. Even if you go a little bit back an forth, it will find the quickest way to avoid as many iterations as possible.

Definition at line 93 of file sqlite.h.


Field Documentation

How many records where INSERTed, UPDATEd or DELETEd

Definition at line 100 of file sqlite.h.

Pointer to the chains with info about the field/columns

Definition at line 96 of file sqlite.h.

Reference to the last record from a INSERT INTO statement

Definition at line 99 of file sqlite.h.

Number of fields for each record

Definition at line 98 of file sqlite.h.

Number of records received in the SELECT query

Definition at line 97 of file sqlite.h.

"Cache" of the last header record being looked up

Definition at line 104 of file sqlite.h.

"Cache" of the last record being looked up

Definition at line 103 of file sqlite.h.

Pointer to the chains which contains field values

Definition at line 95 of file sqlite.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines