fs::folder_p (public)

 fs::folder_p -object_id object_id

Defined in packages/file-storage/tcl/file-storage-procs.tcl

Is this object a folder?

Switches:
-object_id (required)
Returns:
true if object_id is a folder

Partial Call Graph (max 5 caller/called nodes):
%3 test_fs_create_folder_using_api fs_create_folder_using_api (test file-storage) fs::folder_p fs::folder_p test_fs_create_folder_using_api->fs::folder_p db_string db_string (public) fs::folder_p->db_string

Testcases:
fs_create_folder_using_api
Source code:
    return [db_string select_folder_p {} -default 0]
Generic XQL file:
<fullquery name="fs::folder_p.select_folder_p">
    <querytext>
            select count(*)
            from dual
            where exists (select 1
                          from fs_folders
                          where folder_id = :object_id)
        </querytext>
</fullquery>
packages/file-storage/tcl/file-storage-procs.xql

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

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

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