category-delete-postgresql.xql
DB Query file
Related Files
- packages/categories/www/cadmin/category-delete.tcl
- packages/categories/www/cadmin/category-delete.adp
- packages/categories/www/cadmin/category-delete-postgresql.xql
- packages/categories/www/cadmin/category-delete-oracle.xql
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?> <queryset> <rdbms><type>postgresql</type><version>7.1</version></rdbms> <fullquery name="check_mapped_objects"> <querytext> select case when count(*) = 0 then 0 else 1 end where exists (select 1 from category_object_map where category_id = :id) </querytext> </fullquery> </queryset>