attachments::unattach (public)

 attachments::unattach -object_id object_id \
    -attachment_id attachment_id

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

undo the attachment

Switches:
-object_id (required)
-attachment_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_basic_api attachments_basic_api (test attachments) attachments::unattach attachments::unattach test_attachments_basic_api->attachments::unattach db_dml db_dml (public) attachments::unattach->db_dml packages/attachments/www/detach.tcl packages/attachments/ www/detach.tcl packages/attachments/www/detach.tcl->attachments::unattach

Testcases:
attachments_basic_api
Source code:
        db_dml delete_attachment {}
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="attachments::unattach.delete_attachment">
    <querytext>
            delete
            from attachments
            where object_id = :object_id
            and item_id = :attachment_id
        </querytext>
</fullquery>
packages/attachments/tcl/attachments-procs.xql

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