acs::db::nsdb-postgresql method call faq new_q_and_a (public)

 <instance of acs::db::nsdb-postgresql[i]> call faq new_q_and_a \
    [ -dbn dbn ] [ -entry_id entry_id ] [ -faq_id faq_id ] \
    -question question  -answer answer  [ -sort_key sort_key ] \
    -object_type object_type  [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ]

Defined in packages/acs-api-browser/tcl/api-doc-init.tcl

Automatically generated method

Switches:
-dbn
(optional)
-entry_id
(optional)
-faq_id
(optional)
-question
(required)
-answer
(required)
-sort_key
(optional)
-object_type
(required)
-creation_date
(defaults to "current_timestamp") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) acs::db::nsdb-postgresql instproc {call faq new_q_and_a} acs::db::nsdb-postgresql instproc {call faq new_q_and_a} acs::db::nsdb-postgresql instproc {call faq new_q_and_a}->db_with_handle

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select faq__new_q_and_a(:entry_id,:faq_id,:question,:answer,:sort_key,:object_type,:creation_date,:creation_user,:creation_ip,:context_id)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: