rss_support::subscription_exists (public)

 rss_support::subscription_exists \
    [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ]

Defined in packages/rss-support/tcl/rss-support-procs.tcl

Check if a subscription exists

Switches:
-summary_context_id (optional)
summary context id to check
-impl_name (optional)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-23

Partial Call Graph (max 5 caller/called nodes):
%3 packages/news/www/admin/approve-2.tcl packages/news/ www/admin/approve-2.tcl rss_support::subscription_exists rss_support::subscription_exists packages/news/www/admin/approve-2.tcl->rss_support::subscription_exists packages/news/www/admin/index.tcl packages/news/ www/admin/index.tcl packages/news/www/admin/index.tcl->rss_support::subscription_exists packages/news/www/admin/rss.tcl packages/news/ www/admin/rss.tcl packages/news/www/admin/rss.tcl->rss_support::subscription_exists packages/news/www/index.tcl packages/news/ www/index.tcl packages/news/www/index.tcl->rss_support::subscription_exists packages/news/www/item-create-3.tcl packages/news/ www/item-create-3.tcl packages/news/www/item-create-3.tcl->rss_support::subscription_exists db_string db_string (public) rss_support::subscription_exists->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string subscription_exists "" -default 0]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="rss_support::subscription_exists.subscription_exists">
    <querytext>
      select 1 from rss_gen_subscrs r,acs_sc_impls a
      where r.summary_context_id=:summary_context_id
      and a.impl_name=:impl_name
      and a.impl_id=r.impl_id
    </querytext>
</fullquery>
packages/rss-support/tcl/rss-support-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: