db_boolean (public)

 db_boolean bool

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Converts a Tcl boolean (1/0) into a SQL boolean (t/f)

Parameters:
bool (required)
Returns:
t or f

Partial Call Graph (max 5 caller/called nodes):
%3 test_db_boolean db_boolean (test acs-tcl) db_boolean db_boolean test_db_boolean->db_boolean auth::sync::job::end_get_document auth::sync::job::end_get_document (public) auth::sync::job::end_get_document->db_boolean auth::sync::job::start auth::sync::job::start (public) auth::sync::job::start->db_boolean group::member_p_not_cached group::member_p_not_cached (private) group::member_p_not_cached->db_boolean lang::message::edit lang::message::edit (private) lang::message::edit->db_boolean lang::message::register lang::message::register (public) lang::message::register->db_boolean

Testcases:
db_boolean
Source code:
    if { $bool } {
        return "t"
    } else {
        return "f"
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: