fs__datasource (private)
fs__datasource revision_id
Defined in packages/file-storage/tcl/file-storage-search-procs.tcl
- Parameters:
- revision_id (required)
- Author:
- Jowell S. Sabino <jowellsabino@netscape.net>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: db_0or1row fs_datasource { select r.revision_id as object_id, i.name as title, case i.storage_type when 'lob' then r.lob::text when 'file' then r.content else r.content end as content, r.mime_type as mime, '' as keywords, i.storage_type as storage_type from cr_items i, cr_revisions r where r.item_id = i.item_id and r.revision_id = :revision_id } -column_array datasource if {$storage_type eq "file"} { set datasource(content) [content::revision::get_cr_file_path -revision_id $object_id] } return [array get datasource]XQL Not present: Generic, Oracle PostgreSQL XQL file: packages/file-storage/tcl/file-storage-search-procs-postgresql.xql