search-oracle.xql

DB Query file

Related Files

[ hide source ] | [ make this the default ]

File Contents

<?xml version="1.0"?>

<queryset>
   <rdbms><type>oracle</type><version>8.1.6</version></rdbms>

<fullquery name="get_ids_and_titles">      
      <querytext>
      
    	select item_id as file_id,
           	content_item.get_title(item_id) as title
    	from   cr_items
    	where  lower(content_item.get_title(item_id)) like :query
    	and    acs_permission.permission_p(item_id,:user_id,'read') = 't'

      </querytext>
</fullquery>

 
</queryset>