Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::notification
Methods (to be applied on the object)
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select notification__delete(CAST(:notification_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 notification__new(CAST(:notification_id AS integer),CAST(:type_id AS integer),CAST(:object_id AS integer),:notif_date,CAST(:response_id AS integer),CAST(:notif_user AS integer),:notif_subject,:notif_text,:notif_html,:file_ids,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}