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
Returns:
1 if exists, 0 if doesn't
Author:
Héctor Romojaro
Created:
18 February 2021

Partial Call Graph (max 5 caller/called nodes):
%3 test_calendar_basic_api calendar_basic_api (test calendar) calendar::exists_p calendar::exists_p test_calendar_basic_api->calendar::exists_p db_0or1row db_0or1row (public) calendar::exists_p->db_0or1row

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: