new.xql
DB Query file
Related Files
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?>
<queryset>
<fullquery name="site_node_duplicate_name_root_ck">
<querytext>
select case when count(*) = 0 then 0 else 1 end
from site_nodes
where name = :name
and parent_id = :parent_id
</querytext>
</fullquery>
</queryset>