category_tree::exists_p (private)

 category_tree::exists_p tree_id

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

Checks if category tree exists directly in the DB.

Parameters:
tree_id (required)
Returns:
1 if exists, 0 if doesn't

Testcases:
category_tree_import, category_synonyms, category_tree_procs
Source code:
    return [db_0or1row tree_exists {
        select 1 from category_trees where tree_id = :tree_id
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: