search-oracle.xql
DB Query file
Related Files
- packages/file-storage/www/search.tcl
- packages/file-storage/www/search.adp
- packages/file-storage/www/search-postgresql.xql
- packages/file-storage/www/search-oracle.xql
[ 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>