HTDBList

Name

HTDBList -- describes a query to fetch document list from an SQL data source

indexer.conf

Description

Using HTDBList and the other HTDB related commands is described in details in the Section called Indexing SQL tables (htdb:/ virtual URL scheme) in Chapter 6.

Scope

HTDBList affects all following Server commands, until the end of the configuration file, or until the next HTDBList command.

Examples


HTDBList "SELECT id FROM messages"
HTDBDoc "SELECT title, body FROM messages WHERE id='$2'"
Server htdb:/messages/
    

See also

HTDBAddr, HTDBDoc, HTDBLimit, UserCacheQuery.