Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::composition_rel
Methods (to be applied on the object)
check_index (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select composition_rel__check_index(CAST(:component_id AS integer),CAST(:container_id AS integer))}]
return [ns_set value $s 0]
}
check_path_exists_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select composition_rel__check_path_exists_p(CAST(:component_id AS integer),CAST(:container_id AS integer))}]
return [ns_set value $s 0]
}
check_representation (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select composition_rel__check_representation(CAST(:rel_id AS integer))}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select composition_rel__delete(CAST(:rel_id AS integer))}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select composition_rel__new(CAST(:rel_id AS integer),:rel_type,CAST(:object_id_one AS integer),CAST(:object_id_two AS integer),CAST(:creation_user AS integer),:creation_ip)}]
return [ns_set value $s 0]
}