SourcePro® API Reference Guide

 
List of all members
RWDBPhraseBook Class Reference

A lookup table containing keywords and phrases used by specific databases. More...

#include <rw/db/phrase.h>

Detailed Description

RWDBPhraseBook serves as a lookup table for keywords and phrases used by specific databases. An RWDBPhraseBook is associated with each RWDBDatabase instance. Internally, the DB Interface Module makes extensive use of this class to construct SQL from expressions.

Many classes of the DB Interface Module, like RWDBForeignKey for example, require an RWDBPhraseBook for their asString() method, so that they can generate SQL acceptable to a specific database. To call these asString() methods directly, applications can obtain an RWDBPhraseBook from an RWDBDatabase.

Synopsis
#include <rw/db/phrase.h>
const RWDBPhraseBook& phraseBook = myDbase.phraseBook();

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.