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