DB Interface Module User’s Guide : PART II Using the Basic Features : Chapter 4 The Database Classes : Tables : Summary
Summary
In “Tables”, we explained class RWDBTable, possibly the most important class in the DB Interface Module, and introduced the classes RWDBMemTable, RWDBReader, and RWDBResult.
Class RWDBTable is a base class for a family of classes that represent collections of tabular data. The data may reside in a database, in memory, or as a table expression. RWDBTable presents a uniform interface to each table class.
Data is read from tables using class RWDBReader, which provides sequential access to rows within a table, and random access to columns within each row.
The specialization RWDBMemTable adds complete random access using double indexing, as well as other specialized features.
Class RWDBResult encapsulates the result of a database query. It represents a sequence of zero or more result tables.