attachments::root_folder_p (public)

 attachments::root_folder_p -package_id package_id

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

Switches:
-package_id (required)
Returns:
1 if the package_id has an fs_folder mapped to it

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_map_folder attachments_map_folder (test attachments) attachments::root_folder_p attachments::root_folder_p test_attachments_map_folder->attachments::root_folder_p db_string db_string (public) attachments::root_folder_p->db_string attachments::root_folder_map_p attachments::root_folder_map_p (public, deprecated) attachments::root_folder_map_p->attachments::root_folder_p packages/attachments/www/admin/new-root-folder-map.tcl packages/attachments/ www/admin/new-root-folder-map.tcl packages/attachments/www/admin/new-root-folder-map.tcl->attachments::root_folder_p

Testcases:
attachments_map_folder
Source code:
        return [db_string root_folder_p_select {} -default 0]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="attachments::root_folder_p.root_folder_p_select">
    <querytext>
            select 1
            from attachments_fs_root_folder_map
            where package_id = :package_id
        </querytext>
</fullquery>
packages/attachments/tcl/attachments-procs.xql

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