category_tree::get_trees (public)

 category_tree::get_trees object_id

Defined in packages/categories/tcl/category-trees-procs.tcl

Get the category trees mapped to an object.

Parameters:
object_id (required)
object to get the mapped category trees.
Returns:
Tcl list of tree_ids
Author:
Peter Kreuzinger <peter.kreuzinger@wu-wien.ac.at>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_object_mapping category_object_mapping (test categories) category_tree::get_trees category_tree::get_trees test_category_object_mapping->category_tree::get_trees db_list db_list (public) category_tree::get_trees->db_list

Testcases:
category_object_mapping
Source code:
        return [db_list get_trees {
        select distinct tree_id
        from category_object_map_tree
        where object_id = :object_id
        }]
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/category-trees-procs-postgresql.xql

Oracle XQL file:
packages/categories/tcl/category-trees-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: