acs::db::nsdb-postgresql method call tree_ancestor_p (public)
<instance of acs::db::nsdb-postgresql> call tree_ancestor_p \ [ -dbn dbn ] -potential_ancestor potential_ancestor \ -potential_child potential_child
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {bit varying} {bit varying}
- Switches:
- -dbn (optional)
- -potential_ancestor (required)
- -potential_child (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select tree_ancestor_p(:potential_ancestor,:potential_child)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle