fs::object_p (public)

 fs::object_p -object_id object_id

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

is this a file storage object

Switches:
-object_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_fs_add_delete_copy fs_add_delete_copy (test file-storage) fs::object_p fs::object_p test_fs_add_delete_copy->fs::object_p db_string db_string (public) fs::object_p->db_string

Testcases:
fs_add_delete_copy
Source code:
    if {![string is integer -strict $object_id]} {
        return 0
    }
    return [db_string select_object_p {}]
Generic XQL file:
<fullquery name="fs::object_p.select_object_p">
    <querytext>
            select count(*)
            from dual
            where exists (select 1
                          from fs_objects
                          where object_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: