notification::interval::get_id_from_name (public)

 notification::interval::get_id_from_name -name name

Defined in packages/notifications/tcl/interval-procs.tcl

Returns the interval_id for a given interval_name

Switches:
-name (required)
The name of interval (weekly, etc)
Author:
Don Baccus <dhogaza@pacifier.com>

Testcases:
No testcase defined.
Source code:

        return [db_string get_interval_id {}]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="notification::interval::get_id_from_name.get_interval_id">
    <querytext>
     select interval_id
     from notification_intervals where name = :name
  </querytext>
</fullquery>
packages/notifications/tcl/interval-procs.xql

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