folder-delete.xql

DB Query file

Related Files

[ hide source ] | [ make this the default ]

File Contents

<?xml version="1.0"?>
<queryset>

<fullquery name="child_count">      
      <querytext>
      
	select count(*) from cr_items where parent_id = :folder_id
      </querytext>
</fullquery>

 
<fullquery name="get_parent">      
      <querytext>
      select parent_id from cr_items where item_id = :folder_id
      </querytext>
</fullquery>

 
<fullquery name="folder_name">      
      <querytext>
      
    select label from cr_folders where folder_id = :folder_id
      </querytext>
</fullquery>

 
</queryset>