Name

FileDatabase — specify table and column to look up in search for file contents

SYNOPSIS

table_name [:column_name]

DESCRIPTION

Besides retrieving file contents from files on the filesystem (as usual), Interchange has the ability to retrieve file contents from the database.

The standard FileDatabase setting includes the appropriate table and column names.

In case the column is unspecified, it defaults to the current value of global variable LANG. In case the column named after LANG value does not exist, Interchange finally tries with the column default.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining FileDatabase

FileDatabase files:data

Example: Defining FileDatabase, defaulting to LANG or 'default' column

FileDatabase files

NOTES

The file database must, as always, be registered first with the Database directive.

Files in the filesystem, if they exist, always take precedence over file contents in the database. right place for your files.

AVAILABILITY

FileDatabase is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 620

['FileDatabase',   undef,         ''],

AUTHORS

Interchange Development Group

SEE ALSO

DirectiveDatabase(7ic)

DocBook! Interchange!