Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::template_demo_note
Methods (to be applied on the object)
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select template_demo_note__del(CAST(:template_demo_note_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 template_demo_note__new(CAST(:template_demo_note_id AS integer),:title,:body,:color,:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}