category::get_parent (public)
category::get_parent -category_id category_id
Defined in packages/categories/tcl/categories-procs.tcl
Returns the category id of the parent category
- Switches:
- -category_id (required)
- category_id
- Returns:
- category id of the parent category
- Author:
- Peter Kreuzinger <peter.kreuzinger@wu-wien.ac.at>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_get_procs
Source code: return [db_string get_parent { select parent_id from categories where category_id = :category_id } -default 0]XQL Not present: Generic PostgreSQL XQL file: packages/categories/tcl/categories-procs-postgresql.xql
Oracle XQL file: packages/categories/tcl/categories-procs-oracle.xql