notification::request::request_exists (public)
notification::request::request_exists -type_id type_id \ -object_id object_id
Defined in packages/notifications/tcl/notification-request-procs.tcl
returns true if at least one request exists for this object and type
- Switches:
- -type_id (required)
- -object_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_0or1row exists { select 1 from notification_requests where type_id = :type_id and object_id = :object_id fetch first 1 rows only }]Generic XQL file: packages/notifications/tcl/notification-request-procs.xql
PostgreSQL XQL file: packages/notifications/tcl/notification-request-procs-postgresql.xql
Oracle XQL file: packages/notifications/tcl/notification-request-procs-oracle.xql