calendar::exists_p (private)

 calendar::exists_p calendar_id

Defined in packages/calendar/tcl/test/calendar-procs.tcl

Checks if a particular calendar exists.

Parameters:
calendar_id (required)
Returns:
1 if exists, 0 if doesn't
Author:
Héctor Romojaro
Created:
18 February 2021

Testcases:
calendar_basic_api
Source code:
    return [db_0or1row cal_exists_p {
        select 1 from calendars where calendar_id = :calendar_id
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: