download_metadata_column (public)

 download_metadata_column data_type

Defined in packages/download/tcl/download-procs.tcl

Dummy comment.

Parameters:
data_type (required)

Partial Call Graph (max 5 caller/called nodes):
%3 download_insert_metadata download_insert_metadata (public) download_metadata_column download_metadata_column download_insert_metadata->download_metadata_column packages/download/www/all-metadata.tcl packages/download/ www/all-metadata.tcl packages/download/www/all-metadata.tcl->download_metadata_column packages/download/www/index.tcl packages/download/ www/index.tcl packages/download/www/index.tcl->download_metadata_column packages/download/www/one-metadata.tcl packages/download/ www/one-metadata.tcl packages/download/www/one-metadata.tcl->download_metadata_column packages/download/www/one-revision.tcl packages/download/ www/one-revision.tcl packages/download/www/one-revision.tcl->download_metadata_column

Testcases:
No testcase defined.
Source code:
    switch -- $data_type {
        date { set answer_column "date_answer" }
        boolean { set answer_column "boolean_answer" }
        number { set answer_column "number_answer" }
        integer { set answer_column "number_answer" }
        choice { set answer_column "choice_answer" }
        text { set answer_column "clob_answer" }
        default {
            set answer_column "varchar_answer"
        }
    }
    return $answer_column
Generic XQL file:
packages/download/tcl/download-procs.xql

PostgreSQL XQL file:
packages/download/tcl/download-procs-postgresql.xql

Oracle XQL file:
packages/download/tcl/download-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: