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):
- 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