Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::acs_reference
Methods (to be applied on the object)
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_reference__delete(CAST(:repository_id AS integer))}]
return [ns_set value $s 0]
}
is_expired_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_reference__is_expired_p(CAST(:repository_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 acs_reference__new(CAST(:repository_id AS integer),:table_name,:internal_data_p,:package_name,:last_update,:source,:source_url,:effective_date,:expiry_date,CAST(:maintainer_id AS integer),CAST(:notes AS integer),:first_names,:last_name,CAST(:creation_ip AS integer),:object_type,CAST(:creation_user AS integer))}]
return [ns_set value $s 0]
}